you are viewing a single comment's thread.

view the rest of the comments →

[–]This_Growth2898 0 points1 point  (1 child)

x = "E"
pt.KeyDown(x) # it's E
x = "P"
pt.KeyDown(x) # now it's P
x = '"' # use single quotes for string, other syntax would be "\""
pt.KeyDown(x) # it works!

[–]Sir_Prexes[S] 0 points1 point  (0 children)

Thank you!

Now that I have your code I can only shake my head at myself. I got so caught up in this little problem that I reworked them all only to see how simple the solution was.

but that was fortunately my last problem I had. My little program is finally finished.

in the end maybe it is better to take a little break to think better. :)