Search found 84 matches

by Dick99999
Thu Sep 16, 2010 2:55 pm
Forum: Technical / Scripting
Topic: Is PushButton blocking, waiting for something?
Replies: 5
Views: 3900

Thanks for the fast response. Then apparently the message sending process itself is blocking. Does that also depend on the app or is perhaps a timeout possible?
The key/click alternative is less reliable, that's why I switches to push.
by Dick99999
Thu Sep 16, 2010 2:35 pm
Forum: Technical / Scripting
Topic: Is PushButton blocking, waiting for something?
Replies: 5
Views: 3900

Is PushButton blocking, waiting for something?

I have a PushButton like the one below. This one clicks on the Connect button of a regular windows Network Connection dialog. It looks like pushbutton is waiting for something before it returns. If the modem of the dial connection is not working then windows waits for something like one and a half m...
by Dick99999
Mon Sep 13, 2010 6:48 am
Forum: Technical / Scripting
Topic: GetDate/time on win7 different form regional sys settings?
Replies: 9
Views: 12033

The help topic for GetTime says: "The format of the time depends on the regional settings of the system." The help topic for GetDate says: "The format of the date depends on the regional settings of the system." [... deleted tex ....] .... and more to the point it is as documented as can be seen fr...
by Dick99999
Sun Sep 12, 2010 1:43 pm
Forum: Technical / Scripting
Topic: GetDate/time on win7 different form regional sys settings?
Replies: 9
Views: 12033

Thanks, indeed that works. So the compiled cript on XP gives consistent results now when running on XP and on Win7s (both UK and NL). The only remark I'd like to make is that little by little I have to embed a lot of functionality in subroutines to get rid of side effects of and sometimes of bugs I ...
by Dick99999
Fri Sep 10, 2010 9:25 pm
Forum: Technical / Scripting
Topic: GetDate/time on win7 different form regional sys settings?
Replies: 9
Views: 12033

........ The great thing about the Macro Scheduler functions is that they are portable without the need to worry about the individual PC's regional settings........ Perhaps this is a bug then. It is a compiled script on win XP, that runs OK, in 24H format on XP. When I run that script on win 7, it ...
by Dick99999
Fri Sep 10, 2010 3:36 pm
Forum: Enhancement Suggestions
Topic: Debug, watch list integration, skip line, set variable etc.
Replies: 0
Views: 6491

Debug, watch list integration, skip line, set variable etc.

I'd like some extra features in the debugger - double click on a variable in the source, highlights that variable in the watch list - a possibility to change the value of a variable when debugging - skip the current line (goto the next sequential line) - insert a new break point when debugging - ins...
by Dick99999
Fri Sep 10, 2010 3:27 pm
Forum: Technical / Scripting
Topic: GetDate/time on win7 different form regional sys settings?
Replies: 9
Views: 12033

GetDate/time on win7 different form regional sys settings?

My win 7 has been set to English (UK). Date and time format in regional settings are: dd/MM/yyy and HH:mm
examples 10/9/2010 (tenth of sep) and 17:30 hour

Getdate>and getime> in MS display 9/10/2010 and 5:28:47 PM

Any way to make the MS output the same as the system settings?
by Dick99999
Sun Sep 05, 2010 5:38 pm
Forum: Technical / Scripting
Topic: Returnvalues, or how to get the value of a var in srt change
Replies: 8
Views: 7560

Re: VBScript causes Error 13 (Type mismatch)

.............. Macro Scheduler's subroutines are just subroutines. Not functions. Functions return a result. Subroutines don't. They also can't be called inline in a calculation. They are just blocks of code you can call for convenience. Hence why you can't really do this recursively in MacroScript...
by Dick99999
Thu Sep 02, 2010 10:29 am
Forum: Technical / Scripting
Topic: Logic to resolve variables.
Replies: 3
Views: 3292

Explicit strings: Let>mystring={"hello world"} Or Send>{"this is a string"} MessageModal>{"definitely a string"} Indeed, and I use that, however - I thought that {} is used for complex expressions, any penalty or side effect of using it for strings? - That only resolves the 'this is a string' resol...
by Dick99999
Thu Sep 02, 2010 10:03 am
Forum: Technical / Scripting
Topic: Logic to resolve variables.
Replies: 3
Views: 3292

I did not go through all resolutions, you could easily write the executable statements and check the result by using MDL>. It does trigger though a thought about string and substitution. MS now supports at least 2 modes: - Automatic, substitution takes place whenever a variable has an assigned value...
by Dick99999
Thu Sep 02, 2010 7:08 am
Forum: Technical / Scripting
Topic: ReadIniFile Challenge
Replies: 8
Views: 6393

Indeed I meant comment on the same line. And agree that lines starting with a comment ; are already being skipped by MS. To make the discussion less abstract, this is the code I currently use. Since I recently 'discovered' how regular expressions are implemented and work in MS, I might replace this ...
by Dick99999
Wed Sep 01, 2010 4:39 pm
Forum: Technical / Scripting
Topic: ReadIniFile Challenge
Replies: 8
Views: 6393

Wikipedia INI information ..... If you are reading INI files created by other applications, since there are conflicting "rules", you will have to write your code to deal with INI file idiosyncrasies you encounter. In that case wouldn't it be very helpful if ReadIniFile would have a filth parameter:...
by Dick99999
Sun Aug 29, 2010 8:52 am
Forum: Technical / Scripting
Topic: ReadIniFile Challenge
Replies: 8
Views: 6393

comments in INI files

Since we are on INI files. I found an other issue. Remarks are commonly introduced by a semicolon in ini files. When reading the value of an ini var, the comments comes with it for free. I strip those off by demanding that comments are preceded by at least one tab. Or is there any other formal comme...
by Dick99999
Thu Aug 26, 2010 7:33 am
Forum: Technical / Scripting
Topic: Differences GetTextAtPoint on win7 and XP. And a wishlist
Replies: 2
Views: 3227

Differences GetTextAtPoint on win7 and XP. And a wishlist

Just wanted to report two differences/solutions I had on windows 7. 1. On win XP my GetTextAtPoint executes as expected. On windows 7 it gave no result o the same form (result offset -1). As suggested in the manual, I had to use GetTextReset on win7 to make it working. 2. The second difference might...
by Dick99999
Mon Aug 16, 2010 2:17 pm
Forum: Technical / Scripting
Topic: Scope rules for reading localvariables after LOCALVARS=0?
Replies: 2
Views: 4425

assignments after localvar is zero

My original question should read "Scope rules of variables after LOCALVARS=0? in stead of focusing on reading and on local variables only. There is nothing in the documentation about that general issue. Here is another result, where an assignment to a local variable of the previous level (the caller...
Sign up to our newsletter for free automation tips, tricks & discounts