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.05.2007 14:13:01
Re: Re: maybe a bug, maybe not

This posting is older than 6 months and can contain outdated information.
Hello Silas,

thanks for asking.

Regarding your questions:

1) Your observation is right. The Remote Buddy menu and menus created 
by AppleScript use different handlers to drive the menu (it's in fact 
more complex than that, but in essence, this is right). I have 
forgotten to add accelleration support to the AppleScript handler. 
I'll add that.

2) Good question. As menu handling is different from within actions 
(=> you call the menu command - and your handler is called upon 
return) than from outside of Remote Buddy, I'm not sure whether this 
"recursion" inside actions will work.

If it does not, you can still work around it by storing the selection 
value you want to use in temporary storage using the respective 
AppleScript commands of Remote Buddy, then - from inside the handler 
- make Remote Buddy execute your action using its action unique 
identifier (both things - triggering execution and retrieving the 
action unique identifiers - can be done via AppleScript).

However, this is probably overly complex. And it would still not give 
you accelleration support, as the handler driving the menu is still 
the same.

Btw, you could completely replace Remote Buddy's menu with your own 
AppleScript by

1) Creating an action triggering your AppleScript and checking its 
"global" checkbox in Behaviour Construction Kit.

2) Replace the "Open Remote Buddy menu" action with the action (found 
in category "Miscellaneous" in the popup)

Best regards, 
Felix 

Thread-display::