Hi, I am making a small application that runs around youtube playing videos. I prototyped alot of my control in applescript before moving to max. I have managed to convert all my scripts into osacript so that they can be run through the shell object. But I am now stuck on this one
tell application "Google Chrome" to activate
tell application "System Events"
tell process "Google Chrome"
do shell script "/usr/local/bin/cliclick/ c:360,550"
which I convert to
osascript -e ‘tell application "Google Chrome" to activate’ -e ‘tell application "System Events" to tell process "Google Chrome" to do shell script "/usr/local/bin/cliclick c:360, 550"‘
cliclick is a shell app that can use the mouse. the c is the command identifier for cliclick to click the mouse