Search found 536 matches

by Rain
Thu Nov 17, 2005 12:19 pm
Forum: Enhancement Suggestions
Topic: MSG_STAYONTOP for none modal Dialogs?
Replies: 3
Views: 8054

MSG_STAYONTOP for none modal Dialogs?

Is it possible to add DIALOG(number of dialog)_STAYONTOP to version 8 for none modal dialogs? It would be helpful when a window has to stay maximized and you have to use a dialog a lot to execute different functions. Note, I have tried the lib function example posted on this forum but it doesnâ€â...
by Rain
Sat Oct 29, 2005 4:50 pm
Forum: Technical / Scripting
Topic: computer beep?
Replies: 2
Views: 4912

Example taken from the Macro Schedulers help file, you can find it by searching for LibFunc Use the system API Beep function to play sounds: Let>k=200 Repeat>k LibFunc>kernel32,Beep,r,k,50 Let>k=k+10 Until>k,1000 You can change the pitch and length of the beep by changing the Until> and Let>K value ...
by Rain
Fri Oct 28, 2005 4:26 pm
Forum: General Discussion
Topic: Determine the path of an open file
Replies: 3
Views: 5714

This script will tell you the process ID and file location of the active window.


wait>2
GetActiveWindow>window_name,X,Y
GetWindowProcess>%window_name%,process_id,name_and_location
MessageModal>Process ID: %process_id%%CRLF%Location: %name_and_location%
by Rain
Fri Oct 28, 2005 3:39 pm
Forum: Beginners
Topic: use macro scheduler to test an application
Replies: 5
Views: 7618

I'm with Me_Again on this Macro Scheduler is a great tool if you know how to use it. When you say the application crashes do you get an error window saying the application has encountered a problem and need to close or something like that? If you do you could use the IfWindowOpen command to solve yo...
by Rain
Thu Oct 27, 2005 5:57 pm
Forum: General Discussion
Topic: Non-modal dialogs cause high CPU usage
Replies: 2
Views: 5029

I always watch my CPU usage when writing loops and add wait>.0005 in a couple of places depending on how long the loop is. That normally keeps the CPU usage very low, nothing worse than having your PC run at 100%.
by Rain
Sun Sep 25, 2005 8:32 am
Forum: Beginners
Topic: How to start the scheduler immediately?
Replies: 5
Views: 6890

Why not compile the script and add the exe to your scheduled tasks?
Go to start, control panel, scheduled task, right click, go to new and click new task.
by Rain
Sat Sep 24, 2005 6:53 pm
Forum: Technical / Scripting
Topic: WaitKeyDown - Combination of Keys in compiled marco
Replies: 3
Views: 5156

Here you go, this script uses F12+Shift let>VK_F12=123 let>VK_SHIFT=16 ///1st part is to make sure keys are not active and set to 0 ///Part 1 LibFunc>User32,GetKeyState,KEY_PRESSED1,VK_F12 if>KEY_PRESSED1=1 press f12 endif LibFunc>User32,GetKeyState,KEY_PRESSED2,VK_SHIFT if>KEY_PRESSED2=1 press shif...
by Rain
Fri Sep 23, 2005 8:07 pm
Forum: Technical / Scripting
Topic: Auto Logoff script
Replies: 2
Views: 5129

This script will log off if the user is inactive for 5 minutes but before logging off it will display a message for 5 seconds with the option not to log off. Dialog>Dialog1 Caption=Warning Message Width=214 Height=102 Top=CENTER Left=CENTER Max=0 Min=0 Close=1 Resize=1 Label=Windows is Logging off d...
by Rain
Fri Sep 23, 2005 3:23 pm
Forum: General Discussion
Topic: Detecting CapsLock State
Replies: 8
Views: 15818

Is there a way to reset the key state without having to to use sen>P in the script bellow? I would like a looping script go to a pause loops when the P key is pressed without it sending the letter P. Yes, I know I could use a pause button in the dialog but it's not possible with some of my scripts b...
by Rain
Fri Sep 23, 2005 11:00 am
Forum: Beginners
Topic: WaitPixelColor problem
Replies: 31
Views: 42830

Looks like you have to be a member in order to get the different link colors you're talking about but since I live in the US it's not letting me sign up. Why not use Press Page Down when the cursor has reached the bottom then start searching from the top again? I've played around for a few minutes a...
by Rain
Thu Sep 22, 2005 5:42 pm
Forum: Beginners
Topic: WaitPixelColor problem
Replies: 31
Views: 42830

I was talking about a chart that gives a range of different chades of gray, red, blue etc.
by Rain
Thu Sep 22, 2005 12:04 pm
Forum: Beginners
Topic: WaitPixelColor problem
Replies: 31
Views: 42830

Hi Joel,
There is no color chart that I know off but if you want to post your script and explain to me what your trying to do I will take look at it. :)

Rain
by Rain
Wed Sep 21, 2005 3:25 pm
Forum: Beginners
Topic: WaitPixelColor problem
Replies: 31
Views: 42830

I just took a look at the game and here is what I came up with for Windows XP. I had problems with WaitPixelColor since the power bar is so small. This script has 2 loops, each loop searches an area of 6 pixels and looks for the yellow and black color in the power bar. I hope this helps. MoveWindow>...
by Rain
Wed Sep 21, 2005 2:54 pm
Forum: Beginners
Topic: WaitPixelColor problem
Replies: 31
Views: 42830

One thing you should do is move the window to 0,0 for example, that way the spot you're having MS read the color from is always in the same position. MoveWindow>GameAccount*,0,0 MouseMove>312,664 LClick WaitPixelColor>65535,529,664,0 MouseMove>312,664 LClick WaitPixelColor>65535,349,664,0 MouseMove>...
by Rain
Wed Sep 21, 2005 2:43 pm
Forum: Technical / Scripting
Topic: Help Please
Replies: 15
Views: 17211

Try the following (Works with Windows XP) MoveWindow>Nitto 1320 Challenge,0,0 ///Script is Waiting for 1st yellow light for 60 seconds WaitPixelColor>52479,380,153,60 ///If color doesn't equal 1st yellow light go to end of script GetPixelColor>380,153,Color If>Color52479,EndOfScript ///Wait>0.85=Wai...
Sign up to our newsletter for free automation tips, tricks & discounts