Tinnu Posted June 23, 2010 Posted June 23, 2010 Hello i want to Open a *.XPI File with firefox. but this line is not working Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe" $Path & "\AdBlockerPlus.xpi") why?
somdcomputerguy Posted June 23, 2010 Posted June 23, 2010 Try this Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe " $Path & "\AdBlockerPlus.xpi") Notice just a space added after firefox.exe - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
Tinnu Posted June 23, 2010 Author Posted June 23, 2010 (edited) Thanks, but now i am getting this error>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Documents and Settings\Tinnu\Desktop\install.au3" C:\Documents and Settings\Tinnu\Desktop\install.au3 (16) : ==> Error in expression.:Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe " "c:\AdBlockerPlus.xpi")Run(^ ERROR>Exit code: 1 Time: 5.766 Edited June 23, 2010 by Tinnu
sahsanu Posted June 23, 2010 Posted June 23, 2010 >"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Documents and Settings\Tinnu\Desktop\install.au3" C:\Documents and Settings\Tinnu\Desktop\install.au3 (16) : ==> Error in expression.: Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe " "c:\AdBlockerPlus.xpi") Run(^ ERROR Add an & before $Path Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe " & $Path & "\AdBlockerPlus.xpi")
Tinnu Posted June 23, 2010 Author Posted June 23, 2010 Yes it's working fine now Thanks somdcomputerguy & sahsanu
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