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

07.12.2011 21:56:01
Re: Script Remote Button inconsistency

This posting is older than 6 months and can contain outdated information.
Thanks for asking.

"Up" and "Up (held)", for example, are not two different buttons. They're two different states of the same, one "Up" button: the "Up" button, shortly pressed - and the "Up" button, remaining pressed for some time before its released again by the user.

To create an "Up" button event (which is referred to as "plus" for historic reasons) , you could f.ex. use

tell application "Remote Buddy" 
scriptremote button "plus" event "press" 
scriptremote button "plus" event "release" 
end tell

And, to simulate a long press and create an "Up (held)" button event, you'd use

tell application "Remote Buddy" 
scriptremote button "plus" event "press" 
delay 1 
scriptremote button "plus" event "release" 
end tell

Best regards, 
Felix Schwarz 

Thread-display::