Sign in to follow this  
Followers 0
Intel91

General Help Needed

3 posts in this topic

I have been using autoit for quite some time, and taught myself from the help file. But I was wondering about some more advance features of the program.

1. Can you load up a splash screen in auto it while simulating mouse and keyboard clicks. For example the full screen splash screen in the foreground hides what mouse click and movements are going on in the background? I know already that you can make a full splash screen, I just don't know if or how to allow functions to go on in the background. I am writing a program to simulate certain web browser functions, but in a fluid way so the user doesn't see ugly mouse movements across the screen, rather loading up a splash screen while its happening to, basically, make it look fluid.

2. Can someone clarify how the WinWaitActive WinTitleMatchMode works, and where in the code to place it? For example, if a window Title was: "Mary had a little lamb" and Text "It's fleece was white as snow" how do you tell the winwaitactive to only look for "mary had a little" but find the specific text "It's fleece was white as snow". Also, does it matter where on the page "It's fleece was white as snow" appeared, or could it be the very bottom without problems?

Thanks for any and all help,

Intel

Share this post


Link to post
Share on other sites



Bump

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

For background simulation have you looked at the controls section of Windows management? Stuff like controlClick is very useful as it does not need co ords, and can run in the background.

WinTitleMatchMode is an option, and can be placed anywhere in the script, and can be changed as the script runs... So it needs to appear before being used. There is also a WinTextMatchMode that checks text. So set those modes to what you need before calling WinWaitActive.

Hope it helped

MDiesel

Edit: I should also have pointed out that bumping topics before 24 hours is not a good idea, so please don't in future!

Edited by mdiesel

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0