MSFN Forum: help with autoit - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

help with autoit Rate Topic: -----

#1 User is offline   coca 

  • Group: Members
  • Posts: 4
  • Joined: 30-November 06

Posted 01 December 2006 - 01:06 AM

I have just started to try to learn how to use autoit. I am currently trying to use it to auto install picasa2 for me.

so far I haven't gotten far at all. The code I have is

Run("picasa.exe")
WinWait("Open File - Security Warning")
If Not WinActive("Open File - Security Warning") Then WinActivate("Open File - Security Warning")
WinWaitActive("Open File - Security Warning")
Send("&Run")
WinWait("Picasa2 Setup")
If Not WinActive("Picasa2 Setup") Then WinActivate("Picasa2 Setup")
WinWaitActive("Picasa2 Setup")
Send("{ENTER}")

when I run this script it opens the program. It gets past the security warning, but then stops there. It doesn't Click enter to go to the next windows. The weird thing is if I close the program and autoit script is still running....at this time ( I can then manual open picasa myself and it clicks thru the screens for me. Any help would be great.

thanks,


#2 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 December 2006 - 07:55 AM

looks like you are sending the entire text of the RUN button, don't if it is the default button just send ENTER if it's not either tab to it and press ENTER or send {ALT}R

Be sure when you are sending the last ENTER that the button is actually default.

#3 User is offline   coca 

  • Group: Members
  • Posts: 4
  • Joined: 30-November 06

Posted 01 December 2006 - 08:34 AM

thanks for the advice.
it helped me finally figure out what was happening.

when I would run picasa2 manual i would get that window with a security warning.
where as when it was ran thru autoit - it when straight to the Picasa Setup window.:)
remove the first half of the code and it now works:)

#4 User is offline   --=ddSHADOW=-- 

  • --=ddSHADOW=--
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 08-August 04

Posted 03 December 2006 - 06:29 AM

try using
ControlClick ( "title", "text", controlID [, button] [, clicks] )

To get ID's or names use AutoIt Window Info. It's way better this way then Send control ;)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy