the best way is not to ask python questions in VBA
but what works is
keyboard.send_k ey("<shift>+o" )
the + modifier sends them both without teh + it would send shift then o
or keyboard.press_ key("<shift>+o" )
User Profile
Collapse
-
this is in wrong place is python sorrys but answer is
keyboard.press_ key ("<shift>+o" )
the + modifier makes them both pressesLeave a comment:
-
i ment to say i need a persitant shift and the o key to like <shift>oLeave a comment:
-
could you reread this post and see if it makes more sense nowLeave a comment:
-
if you seach string "autokey" on bytes.com all the other posts related to Autokey are in home > topics > microsoft access / vba > questions > keyboard shortcuts to execute code? but if im wrong please help me get in teh righ t location thanks againLeave a comment:
-
Help in AutoKeys - Sending a Shifted Case Letter
hellos im jason and i am trying to send <shift> + o
but i want the o to be a capital O. this o is in the o in OH. then when i press w the script will stop.
this script will not send the shifted O only the lowercase o.
im using the program Autokey
...Code:keyboard.send_key("<SHIFT>") time.sleep(.33) keyboard.press_key("o") time.sleep(.33) #keyboard.press_key("<shift>")Last edited by Rabbit; Oct 20 '15, 04:13 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: