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

01.08.2008 15:13:38
Is it possible to call a shell script
View

This posting is older than 6 months and can contain outdated information.
Hi there,

Is there any way I can call a shell script from the Remote Buddy menu? I thought it might be possible to add a behaviour that is "execute script" and I could pass some context-specific arguments to it, like file name for example?

Thanks very much for your help, 
Mike. 

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

Behaviours
User

03.08.2008 17:13:12
Re: Is it possible to call a shell script
View

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

You can use the Behaviour Construction Kit and Custom Actions to 
create AppleScript actions that execute shell commands.

For information on how to execute shell commands in AppleScript and 
also pass along AS variables, please see

http://developer.apple.com/technotes/tn2002/tn2065.html

Best regards, 
Felix Schwarz 

User

06.08.2008 10:48:17
Re: Is it possible to call a shell script
View

This posting is older than 6 months and can contain outdated information.
Super - thanks Felix. 
User

06.08.2008 16:27:06
Re: Is it possible to call a shell script
View

This posting is older than 6 months and can contain outdated information.
One more question Felix, does Remote Buddy make some variables available to the applescript - I am thinking specifically of the currently selected file in the File menu.

Thanks very much, 
Mike. 

User

10.08.2008 15:12:06
Re: Re: Is it possible to call a shell script
View

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

This is currently not possible.

You can however, use RB's AppleScript support to have RB display RB- 
style menus of your choice and have it return the item a user picks 
back to your Applescript, from where you can then pass it to a shell 
script of your choice.

Best regards, 
Felix Schwarz