Thanks for taking the time to read this. I am calling up a osascript inside of a python script on Mac OS X 10.7.
osascript -e 'tell application "Microsoft PowerPoint" to activate' -e 'tell application "System Events" to key code 124'
Here is the snippet from the script that's erroring:
import os
cmd = """osascript -e 'tell application "Microsoft PowerPoint" to activate' -e 'tell application "System Events" to key code 124'
os.system(cmd)
Here is the error log:
[error] [client 192.168.10.65] 92:96:
[error] [client 192.168.10.65] syntax error: Expected end of line, etc. but found identifier. (-2741)
Been banging my head for hours, please help or direction is greatly appreciated! =)