How to run this terminal command from qlab via script?

220 views
Skip to first unread message

jeppe...@gmail.com

unread,
Mar 4, 2023, 12:51:19 PM3/4/23
to QLab
im trying to control apple HomeKit  with homecontrol app that support script commands.

the command works in my test when fired from terminal :

open -g "homecontrol://x-callback-url/run-action?action-type=trigger-scene&item-type=scene&item-name=Sluk&home-name=jeppec&authentication-token=GPsya1TS0S47BzjzS29HA"


can anyone type how the syntax will be .. for QLab to run it?


home some one can help..


thanks Jeppe Cohrt

Stephen Swift

unread,
Mar 5, 2023, 5:59:09 PM3/5/23
to ql...@googlegroups.com
On Sat, Mar 4, 2023 at 9:51 AM jeppe...@gmail.com <jeppe...@gmail.com> wrote:
im trying to control apple HomeKit  with homecontrol app that support script commands.

the command works in my test when fired from terminal :

open -g "homecontrol://x-callback-url/run-action?action-type=trigger-scene&item-type=scene&item-name=Sluk&home-name=jeppec&authentication-token=GPsya1TS0S47BzjzS29HA"


can anyone type how the syntax will be .. for QLab to run it?


Hi Jeppe, in Apple script you can open urls with open location "http://example.com" or you can run shell scripts with the do shell script command: do shell script "open -g \"http://example.com\"". Hope this helps! ~Stephen 
Reply all
Reply to author
Forward
0 new messages