Search found 24 matches

by Baldrik
Fri Mar 11, 2005 1:06 am
Forum: Technical / Scripting
Topic: Automatic Fading (Timeout) Message>
Replies: 3
Views: 6642

This idea can be worked up into quite a nice routine, which can indicate whether you clicked the ok, maybe to mean not to accept some default action, and also with a counter indicating how much longer you've got before the timeout: let>VAREXPLICIT=1 // Display a NON modal message msg>click ok if wan...
by Baldrik
Tue Mar 08, 2005 10:31 pm
Forum: Beginners
Topic: Is the full list of system variables documented in 1 place?
Replies: 8
Views: 11128

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?? ...
by Baldrik
Tue Mar 08, 2005 10:17 pm
Forum: Beginners
Topic: Is the full list of system variables documented in 1 place?
Replies: 8
Views: 11128

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-d...
by Baldrik
Tue Mar 08, 2005 12:58 am
Forum: Beginners
Topic: Is the full list of system variables documented in 1 place?
Replies: 8
Views: 11128

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 ...
by Baldrik
Mon Mar 07, 2005 10:13 pm
Forum: Beginners
Topic: Read through a string 1 char at a time ignoring CR & LF.
Replies: 3
Views: 6765

Read through a string 1 char at a time ignoring CR & LF.

I'm reading through a string that contains an html page got by an Htt> command, and can't work out how to find the next non-blank after positioning to certain text. I want to ignore CR & LF characters since the non-blank is sometimes on the next line. Effectively I want to code if>%inputchar%=%cr% ....
by Baldrik
Wed Feb 23, 2005 1:38 am
Forum: Beginners
Topic: WaitWindowOpen ignores WIN_USEHANDLE=1
Replies: 0
Views: 4424

WaitWindowOpen ignores WIN_USEHANDLE=1

I can't get WaitWindowOpen to take any notice of the system variable that says whether the window parm is being specified by title or by handle. The pdf manual says GetActiveWindow AND WaitWindowOpen operate differently according to 0 or 1 in WIN_USEHANDLE. For me, WaitWindowOpen always seems to tim...
by Baldrik
Tue Feb 22, 2005 11:11 pm
Forum: Enhancement Suggestions
Topic: Trailing spaces to be automatically performed at each save
Replies: 6
Views: 13648

...or could the need to ever end a line with a blank be removed by having a system variable maybe called VARQUOTEDSTRING=1 meaning literal strings may be enclosed in quotes (but don't have to be) and if they are the quotes aren't part of the value. eg these would be equivalent: // assume new system ...
by Baldrik
Tue Feb 22, 2005 10:56 pm
Forum: Enhancement Suggestions
Topic: Allow a parameter on Gosub
Replies: 3
Views: 11460

Allow a parameter on Gosub

...so we could code things like the request from ferque6 for a single-line...

cntl>a


as...

gosub>cntl,a

srt>cntl
press cntl
send %GOSUB_PARM%
release cntl
end>cntl


Regards
by Baldrik
Tue Feb 22, 2005 8:21 pm
Forum: Beginners
Topic: Does ReadFile truncate the data? (no but VAREXPLICIT=1 helps
Replies: 5
Views: 8968

Thanks. I've now spotted this: Let>VAREXPLICIT=1 in the manual, and seen it seems to fix the problem. (by causing text or variable names to stay as coded unless contained within %'s). I think I would have had this (the =1 effects) as the default. The =0 allows code to be less cumbersome (less %'s) b...
by Baldrik
Fri Feb 18, 2005 5:52 pm
Forum: Beginners
Topic: Does ReadFile truncate the data? (no but VAREXPLICIT=1 helps
Replies: 5
Views: 8968

Does ReadFile truncate the data? (no but VAREXPLICIT=1 helps

Hi, Hoping it's ok to keep raising issues here... (or: and another thing...) I have an application who's data looks like text but isn't, ie GetWindowText comes back with nothing (G..Text works ok on other windows, this isn't the point). However, the application has its own macroised way of creating ...
by Baldrik
Fri Feb 18, 2005 12:17 pm
Forum: Beginners
Topic: How to find the log filename so can TimeStamp to same place
Replies: 3
Views: 5951

How to find the log filename so can TimeStamp to same place

I couldn't see a system variable for this in the manual, so would the only current way be to drive the MSched gui and use GetWindowText (or use manual methods)?
by Baldrik
Thu Feb 17, 2005 1:59 pm
Forum: Technical / Scripting
Topic: Message prevents later ModalMessage waiting for ok click
Replies: 21
Views: 20789

Hi, Yeah, that's fine & understood, I was just suggesting there could be a lazier/easier (therefore more productive??) way of logging extra info for each executed command line, so we can see its line number and more importantly, what the statement is BEFORE AND after variables are substituted in it ...
by Baldrik
Thu Feb 17, 2005 12:56 pm
Forum: Technical / Scripting
Topic: Message prevents later ModalMessage waiting for ok click
Replies: 21
Views: 20789

I've realised that what I'm really after is a "text console" for the running script - ie a window that can be positioned & resized etc, and which contains lines of text put there by one-liner script statements, maybe with the possibility of requesting text input (but actually, the small Ask box woul...
by Baldrik
Thu Feb 17, 2005 11:37 am
Forum: Technical / Scripting
Topic: Message prevents later ModalMessage waiting for ok click
Replies: 21
Views: 20789

...presumably Ask is a different object to the single Message/MessageModal object. So, if Message & MessageModal were different I'd acheive the aim. (ok, the Message wouldn't be reused until the next Message, ie max of 2 boxes at a time, but it wouldn't use up memory with thousands). Any chance?? Or...
by Baldrik
Thu Feb 17, 2005 11:26 am
Forum: Technical / Scripting
Topic: Message prevents later ModalMessage waiting for ok click
Replies: 21
Views: 20789

Thanks support, that makes sense. What I'm trying to do is have progress of a script reported in a box, or series of boxes, with ideally only box in existence at a time, AND be able to decide which ones are "hold ups" (ie they wait for a mouse click or enter key) and which ones aren't hold-ups (ie t...
Sign up to our newsletter for free automation tips, tricks & discounts