Search found 20 matches
- Sun Jun 06, 2010 1:55 pm
- Forum: Technical / Scripting
- Topic: Pixel Color Conversion to 256 color RGB
- Replies: 2
- Views: 4478
Pixel Color Conversion to 256 color RGB
Does anyone have a subroutine to convert a pixel color to a one of 256 colors? My current product uses image recognition by examining pixel colors at certain locations. WHITE has always been WHITE up through 32-bit displays. But now my new windows 7 64-bit computer returns multiple values over a scr...
- Thu Sep 03, 2009 4:53 am
- Forum: Technical / Scripting
- Topic: Macro Scheduler Message title change
- Replies: 7
- Views: 7867
Message Title Change...
Thanks, JRL, for your suggestions. I had overlooked the APP_TITLE variable that changes the message box titles on compiled programs from "MACRO SCHEDULER" to whatever I need. Very simple solution. One thing that I noticed about using DIALOGs instead of Message routines, is that dialogs greatly reduc...
- Mon Aug 31, 2009 7:32 pm
- Forum: Technical / Scripting
- Topic: Macro Scheduler Message title change
- Replies: 7
- Views: 7867
Macro Scheduler Message title change
Need some advice on this one.... I like the ease of using the Messsage command, but need to change the title of the window to my own title instead of Macro Scheduler. Is there a way to do this? I need to have the functionality of the STAYONTOP feature of the built in message command. When I try to c...
- Wed Jan 17, 2007 4:16 am
- Forum: Technical / Scripting
- Topic: Background API Function Calls....
- Replies: 0
- Views: 3120
Background API Function Calls....
Two questions 1. Can anyone recommend a good book/resource with examples of Visual Basic API function calls? Good examples are the fastest way to learn. 2. I'm using the Macro Scheduler "PlayWav" function to send an audible alert in the program, but PlayWav waits for the .wav file to execute complet...
- Sun Oct 22, 2006 11:09 pm
- Forum: Technical / Scripting
- Topic: Can't Import Macros
- Replies: 3
- Views: 5867
Cannot Import Macros after Upgrade....
I just experienced a similar problem after upgrading from 8.03 to 8.1 ... No matter how many existing macros I selected to import, the answer was always "Imported 0 macros" During the previous install, I had selected "Minimum Installation"... and that must be where the bug is that causes this proble...
- Tue Sep 06, 2005 8:08 pm
- Forum: Technical / Scripting
- Topic: Can you pause a running macro? Not stop
- Replies: 6
- Views: 10184
GetCursorPos
Well, misleading initially to ME (I'm slow). The documentation for GetCursorPos never mentons the word MOUSE. So to me, there is a distinction... When using my word processor, the "cursor" is where the next character that I type will appear. The mouse position could be anywhere on the page. If the H...
- Tue Sep 06, 2005 7:12 pm
- Forum: Technical / Scripting
- Topic: Can you pause a running macro? Not stop
- Replies: 6
- Views: 10184
An Easy Way... just using Mouse..
Here's an easy trick I do to suspend the program.... I put a "Move mouse here to PAUSE" dialog (or MSG box) at the bottom of the screen. Then I simply check the mouse coordinates periodically within the program. If the GetCursorPos>X,Y coordinates fall within my dialog box... I display another non-m...
- Fri Feb 04, 2005 9:27 am
- Forum: Technical / Scripting
- Topic: Bug in IfFileExists... If-Else logic
- Replies: 5
- Views: 6859
Thanks...
Thanks again for a great product and, more importantly, to your commitment toward continual improvement.
Regards,
Waldo
Regards,
Waldo
- Tue Feb 01, 2005 3:30 am
- Forum: Technical / Scripting
- Topic: Bug in IfFileExists... If-Else logic
- Replies: 5
- Views: 6859
Mixing Old and New?
The example I posted represents two completely different IF statements. In my actual program, the similar statements were separated by nearly two hundred lines of code... they weren't "mixed" at all. Additionally, the behavior of the IfFileExists logic varies.... when the file actually does exist, p...
- Mon Jan 31, 2005 4:09 pm
- Forum: Technical / Scripting
- Topic: Bug in IfFileExists... If-Else logic
- Replies: 5
- Views: 6859
Bug in IfFileExists... If-Else logic
Here is another bug involving IF-ELSE-ENDIF ... this one related to the IfFileExists statement. Try using the Debugger to step through this code: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ label>FindStatus IfFileExists>c:\testfile.txt Let>FileStat=File Exists else Let>FileStat=File Doesn't Exist en...
- Thu Jan 27, 2005 5:20 pm
- Forum: Technical / Scripting
- Topic: Bug in nested IF-ELSE blocks....
- Replies: 8
- Views: 10126
Macro Scheduler Crash on If-Else-Endif nesting
Hi, Armstrong.... Thanks for the reply regarding If-Else-Endif nesting. Hmmm.... I would consider an "anomoly" a bug. Anyway, it certainly is something that can be worked around by using other logical statements. Regarding Macro Scheduler never crashing, let me explore that one & see if I can give a...
- Thu Jan 27, 2005 3:04 am
- Forum: Technical / Scripting
- Topic: Bug in nested IF-ELSE blocks....
- Replies: 8
- Views: 10126
Definitely is a Bug
This confirms my original point... the issue is a Bug, not syntax error. As another responder pointed out, program execution correctly advances to the last ELSE statement, but then fails to execute the next line. To add to the seriousness of the problem, Macro Scheduler consistantly CRASHED (froze) ...
- Tue Jan 25, 2005 3:39 pm
- Forum: Technical / Scripting
- Topic: Bug When Exiting Editor during Debug Session
- Replies: 1
- Views: 3495
Bug When Exiting Editor during Debug Session
If the Editor is exited during a Debug session.... I get a system error of: Access violation adress ####### in module 'sched.exe'. Read address 00000384 Any subsequent attempts to use the Debug feature again gives an error. Macro Scheduler must be terminated and restarted. ...using latest version 7....
- Tue Jan 25, 2005 3:27 pm
- Forum: Technical / Scripting
- Topic: Bug in nested IF-ELSE blocks....
- Replies: 8
- Views: 10126
Bug in nested IF-ELSE blocks....
I'm using 7.3.06.... but earlier version has this same bug... When nesting IF-ELSE-ENDIF blocks, portions of the logic are skipped.... Example: Let>x=No decision yet If>1=0 Let>x=One doesn't equal one if>2=2 Let>x=Two equals Two else Let>x=Two doesn't equal Two endif else Let>x=One equals One endif ...
- Sun Nov 21, 2004 2:45 am
- Forum: Technical / Scripting
- Topic: ShowPixel Script
- Replies: 0
- Views: 3627
ShowPixel Script
Here is an extremely useful script that I use to assist in writing macros... //displays the pixel color value at the mouse pointer & the x,y coordinates label>loop GetCursorPos>x,y GetPixelColor>x,y,pc message>x=%x% y=%y% pixel=%pc% goto>loop This little routine makes programming screen interaction ...