coucou Posted August 7, 2007 Share Posted August 7, 2007 Hi,I'm trying for a while to run a prog with its option without success.Here the command (as given after the installation by its shortcutC:\WINDOWS\system32\spool\drivers\w32x86\3\bgsview.exe -printer="BroadGun pdfMachine" -configBy launchingRun("C:\WINDOWS\system32\spool\drivers\w32x86\3\bgsview.exe -printer="BroadGun pdfMachine" -config") or Run(@SystemDir & '\system32\spool\drivers\w32x86\3\bgsview.exe -printer='BroadGun pdfMachine' -config')I got AutoIt Error Message as Run("C:\WINDOWS\system32\spool\drivers\w32x86\3\bgsview.exe -printer= ^ERRORError: Error parsing function call.Then I tried this$exe = bgsview.exe -printer="BroadGun pdfMachine" -config Run(@SystemDir & "\system32\spool\drivers\w32x86\3\$exe")I got AutoIt Error Message$exe = bgsview.exe -printer="BroadGun pdfMachine" -config$exe = ^ERRORError: Error parsing function call.Then I tried to run the linkShellExecute(@ProgramsCommonDir & "\BroadGun Software\BroadGun pdfMachine options.lnk") or ShellExecuteWait('C:\Documents and Settings\All Users\Start Menu\Programs\BroadGun Software\BroadGun pdfMachine options.lnk')Both commands return the window here bellow to Move the BroadGun pdfMachine optionsAny help will be appreciatedcoucou Link to comment Share on other sites More sharing options...
Developers Jos Posted August 7, 2007 Developers Share Posted August 7, 2007 Run('C:\WINDOWS\system32\spool\drivers\w32x86\3\bgsview.exe -printer="BroadGun pdfMachine" -config') 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...
coucou Posted August 7, 2007 Author Share Posted August 7, 2007 TNX JdeB It works coucou 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