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

09.11.2006 09:12:43
Behaviour Construction Kit Help
View

This posting is older than 6 months and can contain outdated information.
First off, I cannot find the documentation for the Construction Kit or Remote Buddy. Where can I find those?

I'm creating a Mail behaviour, and I'd like to be able to activate expose, and then use the +/-/left/right buttons to pick the focus, and then use the play button to exit exposeand return to the Mail remote set up.

Also, I've set one of the keys to close the current window. How do I make it so it only closes it if it's a message?

Thanks for your help. 

These entries from the FAQ may be relevant to this topic:

Behaviours
Hardware - Apple® Remote
User

10.11.2006 01:27:03
Re: Behaviour Construction Kit Help
View

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

thanks for asking!

Remote Buddy right now doesn't have any documentation beyond the 
information you can find on the Remote Buddy website. I plan to have 
a documentation in place for the final 1.0 release, when the user 
interface and feature set has stabilized. But for now, the whole 
development is too fast paced and dynamic as that a documentation 
would truely make sense - it would be immediately outdated :-)

Regarding your mail behaviour:

1) You might simply try using the Exposé / Virtual keyboard actions 
the respective Behaviours are exposing globally to achieve that. 
2) You may want to iterate over the "message viewer" objects' 
"window" property and compare their ids with the id of the frontmost 
window. If you find a match, modify its "visible" attribute, else do 
nothing. You could also use the "index" property of the windows to 
determine which is front most.

Something like this:

tell application "Mail" 
set msgCnt to count of message viewer 
set msg to 1

repeat until msg > msgCnt 
set aWindow to window of message viewer msg

-- Perform comparisons here ..

set msg to msg + 1 
end repeat 
end tell

I'm not an AppleScript expert, so maybe someone else in the forum can 
provide you with a more elegant solution ;-)

Best regards, 
Felix