Search found 18 matches

by JeffDaruecan
Wed May 26, 2010 9:43 am
Forum: Technical / Scripting
Topic: Disable mouse and keyboard
Replies: 13
Views: 20430

I don't think macro scheduler is able to detect the windows security window when it gets opened. When running the script JRL posted and having it not work I decided to try out a getactivewindow script to see if the window title was incorrect. wait>5 GetActiveWindow>window_title,X,Y Message>%window_t...
by JeffDaruecan
Wed May 19, 2010 4:18 pm
Forum: Technical / Scripting
Topic: Power Management
Replies: 3
Views: 6260

executefile>%sys_dir%\powercfg.exe,?

Enter this into a script and it should pop right up with the list of options you can enter. change the ? parameter accordingly.

Same as adroege said, but this method quickly opens it in macro even if your OS isn't installed on C:/ ;)
by JeffDaruecan
Wed May 19, 2010 4:06 pm
Forum: Technical / Scripting
Topic: Disable mouse and keyboard
Replies: 13
Views: 20430

Using Blockinput>1 will make any keyboard and mouse input do nothing. However even the stop script command wont work. If a script has blockinput>1 turned on the only way to prematurely stop it is to press control alt delete. Even running an onevent routine at the start of the script wont work. "Be a...
by JeffDaruecan
Sat May 15, 2010 10:32 pm
Forum: Technical / Scripting
Topic: exportdata as a hidden file?
Replies: 2
Views: 3799

Thank you.
Works well enough for my needs and doesn't slow the script down by too much.
by JeffDaruecan
Sat May 15, 2010 12:55 pm
Forum: Beginners
Topic: The wait system...! [RESOLVED]
Replies: 3
Views: 6211

Not sure if this could help as I'm not 100% sure what your wanting the script to do. You can try using a waitscreenimage command. Use the image capture tool to select a small portion that never changes once the window is loaded. Something such as a logo or toolbar icon would work nicely. Import the ...
by JeffDaruecan
Sat May 15, 2010 4:55 am
Forum: Technical / Scripting
Topic: exportdata as a hidden file?
Replies: 2
Views: 3799

exportdata as a hidden file?

Is it possible to have an image or any type of data exported from a script be created as a hidden file? Just to make it look cleaner when running without needing to see all the additional files used to run the script such as dll's, images, etc I know I can have them set to extract to hidden folders ...
by JeffDaruecan
Fri May 14, 2010 11:19 am
Forum: Enhancement Suggestions
Topic: Auto save and/or constant dumps for script recovery
Replies: 0
Views: 6473

Auto save and/or constant dumps for script recovery

Not sure if this has been suggested, or already implemented in V12 beta as I have not tried it yet I'm waiting for beta to finish first. Anyways I was just working on a script and lost track of time between saves when my power unexpectedly went out and lost about an hour and a half worth of work. Lu...
by JeffDaruecan
Sun Apr 11, 2010 10:05 am
Forum: Beginners
Topic: Random Click Within Needle Image?
Replies: 9
Views: 9124

im sorry but i refuse to help anyone not giving me credit for my work and using one of my scripts your a jerk taking credit for my old scripts is not cool maybe if you actually made it and not just added your name to it you might know how to do something as simple as random or might even know how t...
by JeffDaruecan
Thu Apr 01, 2010 11:33 am
Forum: Technical / Scripting
Topic: need help: save/load dialog edit to .ini and identifing text
Replies: 3
Views: 4927

Figured I'd answer my own question real quick so not to let a thread die without a definite answer. also helps for future people with same problem/questions using the search. :) To have a .INI file value updated by text entered into an edit box just place this code before the end of your script This...
by JeffDaruecan
Thu Apr 01, 2010 11:14 am
Forum: Beginners
Topic: playwav> in background of script?
Replies: 4
Views: 5555

Yep you sure can :) with some slight differences but keeping the same basic idea JRL said. Just make a brand new script call it whatever you like and have it play a wav file then compile that single play script into its own .exe Now all you have to do is use the import binary file, and import the ne...
by JeffDaruecan
Wed Mar 31, 2010 9:18 pm
Forum: Technical / Scripting
Topic: Stop a macro
Replies: 8
Views: 12977

You should have posted your script. As I'm sure everyone would have told you to add the following

Let>WSI_TIMEOUT=10 *number of seconds*
WaitScreenImage>
If>WSI_TIMEOUT=TRUE
LibFunc>user32,MessageBoxA,r,0,Image Not Found,Error,16
Exit
endIf
by JeffDaruecan
Mon Mar 29, 2010 12:08 pm
Forum: Technical / Scripting
Topic: Stop a macro
Replies: 8
Views: 12977

If your script is constantly getting stuck in an infinite loop then there is something wrong with the script. Have you tried using the debugger and logs to find what is causing the problem? you can try creating a WriteLn that will create and run a secondary script with a wait time for however long y...
by JeffDaruecan
Mon Mar 29, 2010 8:39 am
Forum: Beginners
Topic: playwav> in background of script?
Replies: 4
Views: 5555

oh wow, I didn't realize writeLn could create scripts like that and so easily.

Thank you.

Nothing like having a short clip of the terminator theme during a fade in splash screen haha
by JeffDaruecan
Mon Mar 29, 2010 1:41 am
Forum: Technical / Scripting
Topic: Stop a macro
Replies: 8
Views: 12977

I don't fully understand it all myself as I'm still rather new to using MS. But this is how this one is working. Let>TO=0 assigns the numeric value of the word TO to equal 0 *can be changed to anything I selected TO as an abbreviation of TimeOut* Repeat>TO shows where to continue the script if the u...
by JeffDaruecan
Sun Mar 28, 2010 9:48 pm
Forum: Technical / Scripting
Topic: Stop a macro
Replies: 8
Views: 12977

Hope this helps. Just remove the MDL> and place your script there. It will then allow the script to loop only as many times as determined by the until> value. although it is a counter, It may still work just time how long your single loop is. If running your script loop for finding the image takes o...
Sign up to our newsletter for free automation tips, tricks & discounts