Hi, I'm working with the ComputerContol Plugin, and want to use PresskeyMBS to send keyboard macros.
On http://www.monkeybreadsoftware.net/remotecontrol-presskeymbs-method.shtml#7 It says the difference between press and pressraw is the up/down key boolean and pressraw lacking the boolean based shift / control / command / option modifiers When I had first played with the demos provided with the ComputerControl Plugin, I figured PresskeyMBS.press would work for 90% of the application shortcuts out there, but ultimately if possible I'd like to be able to send more than one non-modifier key press at a time. I noticed in the example it has: p.charcode=0 p.keycode=&h38 p.pressraw true 'shift down and p.charcode=0 p.keycode=&h38 p.pressraw false 'shift up For sending a shift press. Are there other keycodes for control / command / option keys? I've looked into it with some cursory google searches, I can't find any reference to using hex codes like in the shift example... I have seen with a third party app that tracks key codes, it has an extra field called "Modifiers" which will show this for a normal key press: Modifiers: 256 / 0x100 vs Modifiers: 131332 / 0x20104 for a shift key also being pressed. I'm guessing this is the underlying mechanism that osx uses for modifiers, is there a way that ComputerControl implements this? Any information regarding this would be greatly appreciated. Thanks, Cameron McCormick _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
