Aldrinn Posted February 12, 2010 Posted February 12, 2010 Dear all, How can I make a if script It's about this script: WinWait ( "Foxit Reader Install Wizard", "following plugin" ) ControlCommand ( "Foxit Reader Install Wizard", "following plugin", "Foxit Toolbar", Send("{TAB}"), "" ) ControlCommand ( "Foxit Reader Install Wizard", "following plugin", "Foxit Toolbar", Send("{SPACE}"), "" ) ControlClick ( "Foxit Reader Install Wizard", "following plugin", "&Next >" ) WinWait ( "Foxit Reader Install Wizard", "Foxit Reader" ) ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{TAB}"), "" ) ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{SPACE}"), "" ) ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{TAB}"), "" ) ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{TAB}"), "" ) ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{SPACE}"), "" ) ControlClick("Foxit Reader Install Wizard", "Foxit Reader", "&Finish") He need to find following plugin or Foxit reader screen. How can I make that. Aldrinn
t0ddie Posted February 12, 2010 Posted February 12, 2010 On 2/12/2010 at 1:54 PM, 'Aldrinn said: Dear all,How can I make a if scriptIt's about this script:WinWait ( "Foxit Reader Install Wizard", "following plugin" )ControlCommand ( "Foxit Reader Install Wizard", "following plugin", "Foxit Toolbar", Send("{TAB}"), "" )ControlCommand ( "Foxit Reader Install Wizard", "following plugin", "Foxit Toolbar", Send("{SPACE}"), "" )ControlClick ( "Foxit Reader Install Wizard", "following plugin", "&Next >" ) WinWait ( "Foxit Reader Install Wizard", "Foxit Reader" )ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{TAB}"), "" )ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{SPACE}"), "" )ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{TAB}"), "" )ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{TAB}"), "" )ControlCommand ( "Foxit Reader Install Wizard", "Foxit Reader", Send("{SPACE}"), "" )ControlClick("Foxit Reader Install Wizard", "Foxit Reader", "&Finish")He need to find following plugin or Foxit reader screen.How can I make that.Aldrinnyou are trying to make an installer?if you are trying to see if the plugin is already installed you should check the registry. Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
Aldrinn Posted February 12, 2010 Author Posted February 12, 2010 On 2/12/2010 at 2:01 PM, 't0ddie said: you are trying to make an installer?if you are trying to see if the plugin is already installed you should check the registry.I'm trying to make an automatic installer.Sometimes he doesn't show de plugin install window and then he stops with the installation.
t0ddie Posted February 12, 2010 Posted February 12, 2010 (edited) On 2/12/2010 at 2:04 PM, 'Aldrinn said: I'm trying to make an automatic installer.Sometimes he doesn't show de plugin install window and then he stops with the installation.without knowing why the plugin install window does not show, it is hard to solve the problem.I just downloaded this and it comes with an installer already.also the first button you press is "next" and the second is "i agree" your script is pressing tab and spacebefore next and it does not even press the agree button. I assume you are using the spacebar for this.you should be able to control click everything.EDIT: i see the window name is different for the beginning of the script.are you trying to automate downloading it too? Edited February 12, 2010 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
bogQ Posted February 12, 2010 Posted February 12, 2010 Why the OP is using ControlCommand? i see that Send is on one part of the script where controlID parametar is, and on other part of the script its on "command" parametar? One more thing i dont understand why Send is in ControlCommand parametar. M'i missing something heare? or it shud b ControlSend ? TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) Reveal hidden contents There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.
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