bernards Posted January 22, 2015 Share Posted January 22, 2015 Is it possible to add a command switch to opening files? E.g. I want to open a powerpoint file to slideshow mode. That will required I use a /s at the back of the command. Cheers Bernard Sia Link to comment
jdfwarrior Posted January 25, 2015 Share Posted January 25, 2015 Is it possible to add a command switch to opening files? E.g. I want to open a powerpoint file to slideshow mode. That will required I use a /s at the back of the command. Cheers Bernard Sia No you can't do that, but if you are a Powerpack member, you could create a result action to do it. This would mean that you select the file in Alfred, press the right arrow, and you would be provided the normal list of options, plus your current one to "Launch in Slideshow Mode" Link to comment
bernards Posted February 13, 2015 Author Share Posted February 13, 2015 Hi David, Forgive my noobness. I can't for the life of me find the way to do it like you described. I am a Powerpack member. Could you point me towards the guide to get this done? Many thanks. Cheers Bernard Sia Link to comment
deanishe Posted February 19, 2015 Share Posted February 19, 2015 In theory, it's simple enough to add command line options with Alfred (using a workflow), but PowerPoint on Mac doesn't appear to accept any command-line arguments. Indeed, you can't even just open a file with PP directly from the command line. Opening files works fine with open -a 'Microsoft PowerPoint' /path/to/file, but PP ignores any arguments it's passed, e.g.: open -a 'Microsoft PowerPoint' /path/to/file --args /s has no effect. 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