prathapml Posted January 12, 2005 Share Posted January 12, 2005 nice find, i'll test it out in the morningAh, finally morning has come (after 14 days!) (just kidding.... no offense meant) Link to comment Share on other sites More sharing options...
lilweirddude Posted January 13, 2005 Share Posted January 13, 2005 nice find, i'll test it out in the morningAh, finally morning has come (after 14 days!) (just kidding.... no offense meant) hehe yeahi had other stuff to do and got caught up with itanyways, it's not really working for memaybe i got the wrong version? Link to comment Share on other sites More sharing options...
prathapml Posted January 13, 2005 Share Posted January 13, 2005 It doesn't work for you... in what sense?Does the EXE run? You mean to say the scripts it makes is not proper? Or something else is wrong with it? Link to comment Share on other sites More sharing options...
lilweirddude Posted January 14, 2005 Share Posted January 14, 2005 yeah, the exe runs, i record all the buttons, but the scripts it writes dont work and i see it in the scripting toolemme see if i can dig a script uphere's the script it wrote for outpost firewallOpt("WinWaitDelay", 400)Run ("OutpostProInstall.exe{ENTER}{ENTER}")Opt("MouseCoordMode",0)WinActivate("License Agreement for Outpost Firewall 2.5","I Disagree")WinWaitActive("License Agreement for Outpost Firewall 2.5","I Disagree")Send("{UP}{UP}{UP}{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}{ENTER}")WinActivate("Install","This system must be ")WinWaitActive("Install","This system must be ")Send("{ESC}") Link to comment Share on other sites More sharing options...
cino Posted January 14, 2005 Share Posted January 14, 2005 if you install your application from the cd using RunOnceEx.cmd how do you activate this scripts? Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted January 14, 2005 Share Posted January 14, 2005 Like you would normally with the correct paths using the .exe Autoit compiles for you? Link to comment Share on other sites More sharing options...
cino Posted January 14, 2005 Share Posted January 14, 2005 I see... I made my first script for MS AntiSpyware if I want to install this from cd what would be the correct path for the AntiSpyware.exe in the actual script? Opt("WinWaitDelay",100)Opt("WinTitleMatchMode",4)Opt("WinDetectHiddenText",1)Opt("MouseCoordMode",0)Run('C:\AntiSpyware.exe')WinWait("Microsoft AntiSpyware","WARNING: This comput")If Not WinActive("Microsoft AntiSpyware","WARNING: This comput") Then WinActivate("Microsoft AntiSpyware","WARNING: This comput")WinWaitActive("Microsoft AntiSpyware","WARNING: This comput")Send("{TAB}{TAB}{ENTER}")WinWait("Microsoft AntiSpyware","I &do not accept the")If Not WinActive("Microsoft AntiSpyware","I &do not accept the") Then WinActivate("Microsoft AntiSpyware","I &do not accept the")WinWaitActive("Microsoft AntiSpyware","I &do not accept the")Send("{UP}{ENTER}")WinWait("Microsoft AntiSpyware","Click Next to instal")If Not WinActive("Microsoft AntiSpyware","Click Next to instal") Then WinActivate("Microsoft AntiSpyware","Click Next to instal")WinWaitActive("Microsoft AntiSpyware","Click Next to instal")Send("{ENTER}")WinWait("Microsoft AntiSpyware","The wizard is ready ")If Not WinActive("Microsoft AntiSpyware","The wizard is ready ") Then WinActivate("Microsoft AntiSpyware","The wizard is ready ")WinWaitActive("Microsoft AntiSpyware","The wizard is ready ")Send("{ENTER}")WinWait("Microsoft AntiSpyware","The installation wiz")If Not WinActive("Microsoft AntiSpyware","The installation wiz") Then WinActivate("Microsoft AntiSpyware","The installation wiz")WinWaitActive("Microsoft AntiSpyware","The installation wiz")Send("{ENTER}") Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted January 14, 2005 Share Posted January 14, 2005 As your script would be "%systemdrive%" that would UA install to your "C Drive" if thats the path you use of course. Bear in mind you would not call your Autoit script.exe the same name as your program eg AntiSpyware.exe as Autoit automates this install. I know its probably a little confusing have a good look at the UA guides in MSFN & the Autoit site attached to my sig when your a bit more familar. Ive been working on my UA & Multiboot creations for nearly two years & no where proficient as some dudes round here,but learning everyday. Link to comment Share on other sites More sharing options...
cino Posted January 14, 2005 Share Posted January 14, 2005 thanks for your reply Maverick, it was very helpfull. Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted January 14, 2005 Share Posted January 14, 2005 Ahh no worries Cino funny to see so many other Aussies round here now. Gee when I got here I thought we were extinct . Link to comment Share on other sites More sharing options...
lilweirddude Posted January 16, 2005 Share Posted January 16, 2005 I see... I made my first script for MS AntiSpyware if I want to install this from cd what would be the correct path for the AntiSpyware.exe in the actual script? Opt("WinWaitDelay",100)Opt("WinTitleMatchMode",4)Opt("WinDetectHiddenText",1)Opt("MouseCoordMode",0)Run('C:\AntiSpyware.exe')WinWait("Microsoft AntiSpyware","WARNING: This comput")If Not WinActive("Microsoft AntiSpyware","WARNING: This comput") Then WinActivate("Microsoft AntiSpyware","WARNING: This comput")WinWaitActive("Microsoft AntiSpyware","WARNING: This comput")Send("{TAB}{TAB}{ENTER}")WinWait("Microsoft AntiSpyware","I &do not accept the")If Not WinActive("Microsoft AntiSpyware","I &do not accept the") Then WinActivate("Microsoft AntiSpyware","I &do not accept the")WinWaitActive("Microsoft AntiSpyware","I &do not accept the")Send("{UP}{ENTER}")WinWait("Microsoft AntiSpyware","Click Next to instal")If Not WinActive("Microsoft AntiSpyware","Click Next to instal") Then WinActivate("Microsoft AntiSpyware","Click Next to instal")WinWaitActive("Microsoft AntiSpyware","Click Next to instal")Send("{ENTER}")WinWait("Microsoft AntiSpyware","The wizard is ready ")If Not WinActive("Microsoft AntiSpyware","The wizard is ready ") Then WinActivate("Microsoft AntiSpyware","The wizard is ready ")WinWaitActive("Microsoft AntiSpyware","The wizard is ready ")Send("{ENTER}")WinWait("Microsoft AntiSpyware","The installation wiz")If Not WinActive("Microsoft AntiSpyware","The installation wiz") Then WinActivate("Microsoft AntiSpyware","The installation wiz")WinWaitActive("Microsoft AntiSpyware","The installation wiz")Send("{ENTER}")did you make that with the script maker?also, when i try to run a scrip that i have made with it, i get an error similar to thishttp://img2.imagevenue.com/loc2/_error.gif Link to comment Share on other sites More sharing options...
TheHealthyHippo Posted January 17, 2005 Share Posted January 17, 2005 You can't use %Systemdrive% in an autoitscript.Try something like: $var = EnvGet("systemdrive")Run ($Var & "\MyProg.exe")Or use a directory macro:Run (@HomeDrive & "\MyProg.exe")See the help file of autoit for more info. Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted January 17, 2005 Share Posted January 17, 2005 Your correct & I did not suggest you could.I merely pointed out to Cino where it would install to based on the posted info,thanks. 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