thrlride Posted September 10, 2009 Share Posted September 10, 2009 I have some scripts that many here helped me compile and now they're not working. The story is, I went from Windows XP to Windows 7, 64 bit version. I have firefox installed again but when I run the script absolutely nothing happens. Is there anything I need to change to make it compatible? Run(@ProgramFilesDir& "\mozilla firefox\firefox.exe http://www.dragonmastersworld.com/building/attempt_buy?building_id=1001&quantity=3") $hFF = WinGetHandle('[CLASS:MozillaUIWindowClass]') WinWaitActive('[CLASS:MozillaUIWindowClass]') sleep(4000) ControlSend($hFF, '', '', '^{F4}') Link to comment Share on other sites More sharing options...
Thornhunt Posted September 10, 2009 Share Posted September 10, 2009 the file location of firefox running the script as administrator i dunno maybe auit isnt compatable with windows 7.. try searching th forums for pple having windows 7 problems maybe you can find a answer Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D Link to comment Share on other sites More sharing options...
nfaustin Posted September 10, 2009 Share Posted September 10, 2009 Check the return value Run function if it successfully run the command or not. [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
thrlride Posted September 10, 2009 Author Share Posted September 10, 2009 Check the return value Run function if it successfully run the command or not.I just figured it out, it was the location of firefox. In the windows 7 64 bit version it was in program files x86 so I simply gave the entire directory path and it worked. 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