Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

08.09.2008 13:27:17
Re: Re: Mapping to ctrl key (alone) and simultaneous button presses in wiimote

This posting is older than 6 months and can contain outdated information.
Hi Daniel,

thanks for the info. I remember now that that few actions are in fact 
not exposed outside of the virtual keyboard Behaviour.

The following AppleScript code is unsupported and (although unlikely) 
can stop working in future versions of Remote Buddy, but for the 
moment it'll do what you are looking for:

-- snip -- 
tell application "Remote Buddy"

-- Start pressing Ctrl key 
behaviouraction actionIdentifier "input.keyboardCursor.Ctrl" event 
"pressed"

-- Example: hold Ctrl key for one second 
delay 1

-- Release Ctrl key 
behaviouraction actionIdentifier "input.keyboardCursor.Ctrl" event 
"released"

end tell 
-- snap --

You can rip above sample code apart and package it into two 
AppleScript actors, both part of the same action, one executed on the 
press:

-- snip -- 
tell application "Remote Buddy" to behaviouraction actionIdentifier 
"input.keyboardCursor.Ctrl" event "pressed" 
-- snap --

and one executed on the release of a button:

-- snip -- 
tell application "Remote Buddy" to behaviouraction actionIdentifier 
"input.keyboardCursor.Ctrl" event "released" 
-- snap --

Best regards, 
Felix Schwarz 

Thread-display::