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.09.2011 22:07:48
Ruby script doesn't work like the others

This posting is older than 6 months and can contain outdated information.
Hi there, 
I am encountering some difficulties. From "Run actor" button in Behaviour Construction Kit. This applescript code:

do shell script "~/Library/bin/lgremote press status_bar"

works for command line programs written in C or C++. Which were compiled. However for this "lgremote" Ruby script - no success. It does not appear to work I am not certain if there script is executed or it returns with an error. Is there a way to find out (eg logging)? The same applescript will work from the terminal.

osascript -e "do shell script \"~/Library/bin/lgremote press status_bar\""

Works fine. Is there a way to see what is happening?

The "lgremote" ruby script can be found at:

https://github.com/dreamcat4/lgremote

Many thanks. 

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

Behaviours
Developers
Hardware
Hardware - Apple® Remote
Thread-display::