BeerDrinkingMonkey Posted September 15, 2017 Share Posted September 15, 2017 Beginner user here. I tried searching around however since I am new to this application I wasnt sure of the paremeters to use to find what I am looking for or the correct forum. I want to open an application, when I look at the properties of the shortcut for the application the target line appears "C:\Program Files (x86)\<vendor name>\<application folder>\<version>\<application>.exe" -product "<application tag>" I have tried using the Run command and the file path however I am unsure how to pass that -product "<application tag>" component in the code. In my testing if I dont use the quotes around the application tag I get an error message from the program and it doesnt open. If I put them back in I get no error messages however nothing happens. Any questions please let me know. Thanks! Link to comment Share on other sites More sharing options...
Developers Jos Posted September 15, 2017 Developers Share Posted September 15, 2017 show the code that isn't working so we can help. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
BigDaddyO Posted September 15, 2017 Share Posted September 15, 2017 If your actually using Run() then you would put the full string shown in the shortcut. If your using ShellExecute, then the second parameter is where you would put the -Product stuff. Link to comment Share on other sites More sharing options...
BeerDrinkingMonkey Posted September 15, 2017 Author Share Posted September 15, 2017 Got it to work through ShellExecute. Thanks BigDaddyO and Jos Link to comment Share on other sites More sharing options...
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