← Back to team overview

sikuli-driver team mailing list archive

[Question #268418]: MAC Shell command

 

New question #268418 on Sikuli:
https://answers.launchpad.net/sikuli/+question/268418

MAC user
Trying to find syntax to execute a command from Sikuli
Test
run("env > findthisxxxx")
Result
[error] SyntaxError ( "mismatched input '_try_run' expecting LPAREN", )

what I am really trying to do is
either 
1. Find out where it is being run - and create an exectable file there and use run(mycommand) there
or
2. Run a multiline command
example
export PATH=/opt/local/sbin:$PATH
export PATH=/usr/bin:$PATH
export PATH=/usr/sbin:$PATH
export PATH=:/bin:$PATH
export PATH=/usr/sbin:$PATH
export PATH=/opt/X11/bin:$PATH
export PATH=/opt/local/bin/:$PATH

convert /Users/test/Desktop/'Tynon Auto'/Screenshots/'Track A.png' -crop 280x70+110+90 /Users/test/Desktop/'Tynon Auto'/Screenshots/'Track XT9.png'
MORE CONVERT COMMANDs FOLLOW THIS 

This is using ImageMagick to crop an image

can anyone help

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.