Is the full list of system variables documented in 1 place?
Moderators: Dorian (MJT support), JRL
Is the full list of system variables documented in 1 place?
After the last query I see there's a %CR% variable provided. I eventually searched the whole pdf manual on the offchance there might be one and there it was, mentioned in Chapter 3 about the sample notepad script - but how am I supposed to know to look there??? All these variables surely need to be be documented in the System Variables section, or at least in one place, else how do we find them - we can't always guess their name correctly then hope to search for?
Is there an %LF% - doing a Msg>==%LF%== suggests there might be (it doesn't come out as literally percentLFpercent).
Could I compare with any hex char, %asc(FE)% or something?
Have I missed some thing or is the language not really up to dealing with random hex codes that might appear in a file, should I go to vbscript for that.
Is there an %LF% - doing a Msg>==%LF%== suggests there might be (it doesn't come out as literally percentLFpercent).
Could I compare with any hex char, %asc(FE)% or something?
Have I missed some thing or is the language not really up to dealing with random hex codes that might appear in a file, should I go to vbscript for that.
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Use the Help files that are included with Macro Scheduler.
Search the index for "variables" (with the s)
From the choices that come up on the right side, select "System Variables".
This list is not all inclusive, you will still find some "command"variables included with the help for some commands, but this will get you the "system" variables that Macro Scheduler uses.
You will find %LF% listed there.
Macro Scheduler has VB Script included, no need to go elsewhere.
Search the index for "variables" (with the s)
From the choices that come up on the right side, select "System Variables".
This list is not all inclusive, you will still find some "command"variables included with the help for some commands, but this will get you the "system" variables that Macro Scheduler uses.
You will find %LF% listed there.
Macro Scheduler has VB Script included, no need to go elsewhere.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Hi Baldrik,
The content of the PDF file isn't updated as often as you may wish.
The online help (press F1 in the main Macro Scheduler window) should be your best source of the latest technical reference. For topics on variables, click the Index tab (on the top left). You can see % as the first item. Click it. On the right pane, you can find the System Variables (User Defined Variables, Arrays, Explicit Variable Resolution - AREXPLICIT, System Variables).
Alternatively, you can highlight any script in the main Macro Scheduler window. Press Ctrl-S. Now you're in the editor of the script. Press Alt+DW. Press F8. You can see a default list of system variables shown on the right pane (Watch List).
The content of the PDF file isn't updated as often as you may wish.
The online help (press F1 in the main Macro Scheduler window) should be your best source of the latest technical reference. For topics on variables, click the Index tab (on the top left). You can see % as the first item. Click it. On the right pane, you can find the System Variables (User Defined Variables, Arrays, Explicit Variable Resolution - AREXPLICIT, System Variables).
Alternatively, you can highlight any script in the main Macro Scheduler window. Press Ctrl-S. Now you're in the editor of the script. Press Alt+DW. Press F8. You can see a default list of system variables shown on the right pane (Watch List).
Hi,
In the help AND PDF, at the bottom of the System Variables topic you will see these lines:
CR Carriage Return
LF Line Feed
CRLF Carriage Return, Line Feed Combination (to force a new line)
Command Reference/Variables/System Variables
Using Macro Scheduler/Using Variables
VBScript is in both versions of Macro Scheduler.
In the help AND PDF, at the bottom of the System Variables topic you will see these lines:
CR Carriage Return
LF Line Feed
CRLF Carriage Return, Line Feed Combination (to force a new line)
Command Reference/Variables/System Variables
Using Macro Scheduler/Using Variables
VBScript is in both versions of Macro Scheduler.
MJT Net Support
[email protected]
[email protected]
Thanks guys, excellent replies as usual despite my somewhat grumpy / frustrated query.
If I ever really need the random hex compare (ie other than x'0A' or x'0D') I'll try to think of a way, maybe reading a file in & midstr'ing it into a set of variables or something.
I must have an already-out-of-date PDF - the Valentines Day version (for 7.3.10.3) - couldn't find CR/LF/CRLF in the System Variable section there - support must do a better job updating it than armsys would have us believe!
If I ever really need the random hex compare (ie other than x'0A' or x'0D') I'll try to think of a way, maybe reading a file in & midstr'ing it into a set of variables or something.
I must have an already-out-of-date PDF - the Valentines Day version (for 7.3.10.3) - couldn't find CR/LF/CRLF in the System Variable section there - support must do a better job updating it than armsys would have us believe!
Strange. It's definitely in the 7.3.10.3 version because we added those variables over a year ago!
MJT Net Support
[email protected]
[email protected]
Oh.
I just checked - date of manual is 14th feb - 08:46 (downloaded with Net Transport keeping your date).
System Variables start halfway down page 132 after the VAREXPLICIT bit. Last name on last page (133) of section is INPUT_PASSWORD, then next page is start of Index.
Is this the same as yours?? The only older one I've got is 26 Nov. Haven't seen a later one yet, thought I looked on 17th when 7.3.10.3 came out. Will d/l now to get refresh anyway.
I just checked - date of manual is 14th feb - 08:46 (downloaded with Net Transport keeping your date).
System Variables start halfway down page 132 after the VAREXPLICIT bit. Last name on last page (133) of section is INPUT_PASSWORD, then next page is start of Index.
Is this the same as yours?? The only older one I've got is 26 Nov. Haven't seen a later one yet, thought I looked on 17th when 7.3.10.3 came out. Will d/l now to get refresh anyway.
Well waddya know. The PDF is truncating that page. I was looking at the .CHM version. Which is fine. Looks like the PDF has had that page truncated for goodness knows how long! Will sort it immediately.
MJT Net Support
[email protected]
[email protected]