dhjdhj Posted August 31, 2015 Share Posted August 31, 2015 I'm using the file filter object to select a particular powerpoint lecture from a folder full of lectures. I'd love to have a variant where I could select the lecture but have it open in slideshow mode rather than edit mode. Anyone know how this can be done? Link to comment
deanishe Posted September 1, 2015 Share Posted September 1, 2015 Create a File Action for *.pptx and/or *.ppt files called, say, "Run Presentation", then connect it to a Run Script Action. Set language to /usr/bin/osascript, and enter the following script: tell application "Microsoft PowerPoint" activate open "{query}" run slide show (active presentation's slide show settings) end tell Link to comment
dhjdhj Posted September 1, 2015 Author Share Posted September 1, 2015 Thank you --- I'm finding that this script does not work consistently. Most times it appears to do the right thing but sometimes a presentation just opens in edit mode anyway. Any thoughts? Link to comment
deanishe Posted September 1, 2015 Share Posted September 1, 2015 You might try adding a small delay between the open and "run slide show" actions. Link to comment
dhjdhj Posted September 5, 2015 Author Share Posted September 5, 2015 That's an excellent idea. Thanks again for the script, it's much appreciated. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now