Sportivo Posted April 11, 2006 Share Posted April 11, 2006 Hi i have a problem when i record program the last prompt star with Scan Complete. Scanned 178554 item.....etc.. but autoit read only Scan Compelte. S why? who help me WinWait("WhosOn","Scan Complete. S") If Not WinActive("WhosOn","Scan Complete. S") Then WinActivate("WhosOn","Scan Complete. S") WinWaitActive("WhosOn","Scan Complete. S") MouseMove(144,162) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 11, 2006 Moderators Share Posted April 11, 2006 Hi i have a problem when i record programthe last prompt star with Scan Complete. Scanned 178554 item.....etc.. but autoit read only Scan Compelte. S why?who help me WinWait("WhosOn","Scan Complete. S")If Not WinActive("WhosOn","Scan Complete. S") Then WinActivate("WhosOn","Scan Complete. S")WinWaitActive("WhosOn","Scan Complete. S")MouseMove(144,162)Well, 1st problem (this isn't the support forum )2nd problem is... Your not telling it to read anything other than that. All you have is WinActive/Wait/Activate nothing there about WinGetText() Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Valuater Posted April 11, 2006 Share Posted April 11, 2006 maybe try put this at the top Opt("WinTextMatchMode", 1) ;1=complete, 2=quick then leave out the period and the space like this WinWait("WhosOn","Scan Complete") Just an idea, not tested with the minimal info you gave us 8) at least your in the right forum now Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 11, 2006 Share Posted April 11, 2006 Well, 1st problem (this isn't the support forum )proof lol sorry Smoke, but I made a correction,if you click on the link you'll see it's in the sopport forum Thanks in advance Link to comment Share on other sites More sharing options...
Valuater Posted April 11, 2006 Share Posted April 11, 2006 proof lol sorry Smoke, but I made a correction,if you click on the link you'll see it's in the sopport forum it was moved to the support forum8) Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 11, 2006 Share Posted April 11, 2006 it was moved to the support forum8)oh I see sorry smoke my bad Thanks in advance 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