Hi,
I'am working with Macro Scheduler since one week and I would like to pay you a compliment. Macro Scheduler is great!
There is one thing that is a little inconvenient. When using the WaitPixelColor command you have to open the macro properties and type the values manally.
I've wrote a (very) little macro that puts the whole WaitPixelColor command including the current cursor position and pixel colour into the clipboard, so that it can be pasted in the editor. Maybe it is useful for other users too:
GetCursorPos>X,Y
GetPixelColor>%X%,%Y%,PC
PutClipboard>WaitPixelColor>%PC%,%X%,%Y%,0
Best regards
Criss
WaitPixelColor
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
As per a post in a different thread, sometimes it is desireable to have spaces at the end of lines such as in this situation:
Send>
There is a space at the end of the line above so that I can send a space character.
The problem is with the forum adding spaces to the end of the lines which we have now solved. When you pasted code to the forum please highlight it and press the 'Code' button or alt+c - this will put the tag around the code which will stop the spaces being added.
Send>
There is a space at the end of the line above so that I can send a space character.
The problem is with the forum adding spaces to the end of the lines which we have now solved. When you pasted code to the forum please highlight it and press the 'Code' button or alt+c - this will put the tag around the code which will stop the spaces being added.
MJT Net Support
[email protected]
[email protected]
In this case, the solution would be that the MacroScheduler Editor, besides "Remove spaces at the end of a line", has the feature "highlight invisible chars".
Then you can do this:
1º First remove spaces at the end of every lines.
2º Then, see if any line need a space at the end. Many times, there would not be lines like this.
3º If any line need, put the space at the end
4º Highlight invisible chars. See that the lines that you want has the space at the end but not the other ones.
5º Never use a space at the end of a variable or label name. I do not do this. Does anybody do this silly thing?
Then you can do this:
1º First remove spaces at the end of every lines.
2º Then, see if any line need a space at the end. Many times, there would not be lines like this.
3º If any line need, put the space at the end
4º Highlight invisible chars. See that the lines that you want has the space at the end but not the other ones.
5º Never use a space at the end of a variable or label name. I do not do this. Does anybody do this silly thing?
Hi,
The latest version 7.1.13 offers an option to view all chars including invisible ones. You can then search and replace should you need to.
The latest version 7.1.13 offers an option to view all chars including invisible ones. You can then search and replace should you need to.
MJT Net Support
[email protected]
[email protected]
Yes, it is very good the new option "Show all chars" in M Scheduler Editor. It helps a lot.
But it must be completely explained in "command reference" and "Help" file that a variable or label name can contain a space at the end.
In any event, it would be very useful the option "Remove all spaces at the end of a line" in Macro Scheduler editor. The user would have then the choice to use or not this option. Many times, he would use.
But it must be completely explained in "command reference" and "Help" file that a variable or label name can contain a space at the end.
In any event, it would be very useful the option "Remove all spaces at the end of a line" in Macro Scheduler editor. The user would have then the choice to use or not this option. Many times, he would use.