Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] Question about MBS Real Studio ComputerControl Plugin (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Replacements for editableMovie and CreateMovie?
Next thread: [MBS] Re: multiple devices with Windows MIDI - buffer size?


Re: [MBS] PortMIDI questions   -   Garth Hjelte
  [MBS] Question about MBS Real Studio ComputerControl Plugin   -   Cameron McCormick
   Re: [MBS] Question about MBS Real Studio ComputerControl Plugin   -   Christian Schmitz

[MBS] Question about MBS Real Studio ComputerControl Plugin
Date: 04.04.12 04:20 (Tue, 3 Apr 2012 23:20:23 -0400)
From: Cameron McCormick
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.charcodep.keycode=&h38
p.pressraw true 'shift down

and

p.charcodep.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 address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Question about MBS Real Studio ComputerControl Plugin
Date: 04.04.12 08:56 (Wed, 4 Apr 2012 09:56:55 +0200)
From: Christian Schmitz

Am 04.04.2012 um 05:20 schrieb Cameron McCormick:

> Hi, I'm working with the ComputerContol Plugin, and want to use
> PresskeyMBS to send keyboard macros.

Please use RemoteControlMBS module. It's more up to date.

> 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

Yes.

> For sending a shift press. Are there other keycodes for control /
> command / option keys?

In the RemoteControlMBS module we have more methods for that.

Greetings
Christian