MSFN Forum: HELP PLEASE - 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 PLEASE Rate Topic: -----

#1 User is offline   coca 

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

Posted 01 December 2006 - 10:04 PM

This is my first AutoIt script I am trying to great.
so that during my installation for windows it installs picasa for me.

so far it seems that every window that comes up as the same title. Which is fine until after install then it shows the bar for progress of the installation. For some reason:( during this point it sends my send commands and doesn't do it on the next windows as I want it too. Hope this makes since.
code below is

Run("picasa.exe")
WinWait("Picasa2 Setup")
If Not WinActive("Picasa2 Setup") Then WinActivate("Picasa2 Setup")
WinWaitActive("Picasa2 Setup")
Send("{ENTER}")
WinWait("Picasa2 Setup")
If Not WinActive("Picasa2 Setup") Then WinActivate("Picasa2 Setup")
WinWaitActive("Picasa2 Setup")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{ENTER}")
WinWait("Picasa2 Setup")
If Not WinActive("Picasa2 Setup") Then WinActivate("Picasa2 Setup")
WinWaitActive("Picasa2 Setup")
Send("{TAB}")
Send("{SPACE}")


any help would be great


#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 - 11:41 PM

if this is still related to the issues in your first post (here) rather than start a new thread continue the old thread.

But when looking at the windows try looking for unique text in them also like the name of buttons or labels that are visible to AutoIT Window Info utility. That way they can be more selective of the windows it inputs to.

#3 User is offline   coca 

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

Posted 02 December 2006 - 01:28 AM

View PostIcemanND, on Dec 1 2006, 11:41 PM, said:

if this is still related to the issues in your first post (here) rather than start a new thread continue the old thread.

But when looking at the windows try looking for unique text in them also like the name of buttons or labels that are visible to AutoIT Window Info utility. That way they can be more selective of the windows it inputs to.



my origional post..was resolved..and I no longer have that problem.

I have also attempted by using the button names - the program is when the progress screen comes up. I hear a ping noise which means that autoit went onto the next send command - but received that response as error noise - not allowed at the time. I need autoit to wait until the progress window is done:(

#4 User is offline   jbm 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 626
  • Joined: 16-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 December 2006 - 02:07 AM

Take a look at the WinWaitClose function in the help file of AutoIt

#5 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 03 December 2006 - 12:17 AM

View Postcoca, on Dec 2 2006, 05:28 PM, said:

I have also attempted by using the button names...

Use the text that AutoIt Info Tool displays as visible and not the text you see as visible. With all the information that AutoIt Info Tool has, then your first script should operate very well.

My full reply to this same issue is here.

:)

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