Skip to content

Commit

Permalink
argh
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Sep 3, 2024
1 parent 8849dcf commit 7849eb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sikuli/script/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ def focus(application: str) -> None:
perform action "AXRaise" of (windows whose title is theTitle)
end tell
end tell
""" % application.encode("ascii")
""" % application.encode(
"ascii"
)
subprocess.run("osascript", input=script, shell=True)
elif PLATFORM == Platform.LINUX:
p = subprocess.Popen(
Expand Down

0 comments on commit 7849eb1

Please sign in to comment.