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

26.03.2015 22:08:12
Re: AppleScript deactivate sticky behavior

This posting is older than 6 months and can contain outdated information.
Well, I finally got it shortly after.

The problem was I had a remote button which would tell the script application to quit. Due to the nature of AppleScript, this makes RB stuck until the quit handler of the application has successfully ended. So once pressed the quit handler would run and try to tell RB to unstick the behavior, and once again this would make the script stuck until RB has successfully changed behavior. So both the script and RB were waiting endlessly for each other.

I overcame this by modifying my behavior action in construction kit so that it runs the script that tells the script application to quit and then deactivates behavior. Now the behavior is not reset by the script application's quit handler but by the RB action itself.

Hope that'll help somebody.

Edit : Oh by the way, thanks a lot to IOspirit for this wonderful software, RB + AppleScript = endless possibilities. I love it !

Last edited: 26.03.2015 22:20:29 

Thread-display::