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

28.09.2006 15:44:44
Applescript
View

This posting is older than 6 months and can contain outdated information.
Hi 
i have problem with applescript

if i do this script

tell application "Remote Buddy"

set the_menuitems to {1, "One", "----", "----", {4, "Four", 6, "Six", {8, "Eight"}, "Only eight in here"}, "Four, six and only eight"}

showmenu with items the_menuitems menu name "example" with return value

set hiddenID to result

say "You choose " & hiddenID

end tell

then I get message :

the variable "result" is not define

why

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

Hardware - Apple® Remote
User

29.09.2006 21:56:02
Re: Applescript
View

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

thanks for sharing (and sorry for not having found the time to reply 
to your email on the same subject!).

I've investigated on the problem and it seems like the "with return 
value" option is broken for unknown reasons (=> Remote Buddy does 
return the value to the respective selector/function in OS X, which 
then returns and gives you that message.).

I'll have another, deeper look into this problem as soon as I'm done 
with what I'm currently working on (=> which, hopefully, will make 
many users cheer ;-) ..

Best regards, 
Felix