tspirit85 Posted November 13, 2009 Posted November 13, 2009 I am new to autoit but i am doing very well scripting so far The problem im stuck on is that for example: JAVA installer, i am creating an auto run script for it and when i get to the yahoo toolbar page i cant seem to get to the install yahoo toolbar TICK to untick, if i could manage to scroll to it from keys on my keyboard then i can {SPACE} disable it and carry on.... any clues there?I was thinking about autoit record and just use the mouse to untick the box, would that be a problem if i reinstalled on different machines i.e different graph cards being different resolutions? the mouse may go out of place when it gets to the same page...... i really am trying to avoid the mouse function.My last question would be the runonce setupcomplete.cmd, i have no idea what the right command is for the setupcomplete to start and then run my autoinstall programs one by one... i was going to try (start /wait cmd /R ("filename.exe") <-- is this correct?Anyone with free time? could add me to msn? dont worry i dont have 101 questions but would like the knowledge My msn: tem_85@hotmail.c omThank you for your time guys.
ajua Posted November 16, 2009 Posted November 16, 2009 I'm not an expert an AutoIT but I've some scripts using the recorder and just keyboard keys.Regarding the mouse recording, It could prove difficult when using different resolutions. My advice is you avoid it. Stick to record using only your keyboard.The Java Runtime Environment (Java JRE, which is most people needs) can be installed using switches and it doesn't install Yahoo! toolbar at all. I use the following parameters:/passive AUTOUPDATECHECK=0 JAVAUPDATE=0 MOZILLA=1 SYSTRAY=0To use Setupcomplete.cmd you just need to create the file inside a Scripts (you need to make it) folder in Windows folder inside the WIM image. However, I recommend you use it for things that don't change much because you will need to moun/unmaount your image if you change just a little thing in that file everytime.Better, use FirstLogonCommands in you XML file. Read about it in the WAIK documentation.
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