sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58910
Re: [Question #706732]: is there a way to directly run applescript from sikuli
Question #706732 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706732
Status: Open => Answered
RaiMan proposed the following answer:
this works having the AppleScript text in the running script:
runScript (
"""
applescript
display dialog \"hello\"
"""
)
See:
https://sikulix-2014.readthedocs.io/en/latest/scripting.html#runScript
(the second info runScript(snippet))
Internally we use osascript.
To run an Applescript file is not implemented, but you might use a call to osascript using the normal runScript.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.