Search found 7013 matches

by Marcus Tettmar
Tue Nov 12, 2024 2:15 pm
Forum: Technical / Scripting
Topic: Detect Date Format & Change If Required?
Replies: 5
Views: 156

Re: Detect Date Format & Change If Required?

You could certainly check for all these formats - I'd check for each in turn. However you are not always going to distinguish between DD-MM-YYYY and MM-DD-YYYY or DD/MM/YYYY and MM/DD/YYYY. If the day is less than 13 you have no way of knowing which one it is.
by Marcus Tettmar
Tue Nov 05, 2024 10:14 am
Forum: The Water Cooler
Topic: Thank you MS, for everything
Replies: 2
Views: 738

Re: Thank you MS, for everything

Thanks for your post. Many people have come to Macro Scheduler with no programming background and then moved on to using full featured/traditional programming languages, so you won't be the first to move on. It has always been a stepping stone for many. The core purpose for Macro Scheduler has alway...
by Marcus Tettmar
Thu Oct 24, 2024 11:50 am
Forum: The Water Cooler
Topic: MS Help
Replies: 7
Views: 5184

Re: MS Help

I'm sure you can. It's not going to happen though. There's no way we can maintain a context aware PDF file and build that into the software. If 75% of our customer base had no internet we might consider it!
by Marcus Tettmar
Thu Oct 24, 2024 10:34 am
Forum: The Water Cooler
Topic: MS Help
Replies: 7
Views: 5184

Re: MS Help

No, CHM was deprecated years ago. WinHelp is also no longer provided by Microsoft. While it _may_ be possible to make it work with sufficient old unsupported libraries it means a lot of extra bulk and that's before the size of the help itself - Macro Scheduler's help is large. But we also have to ma...
by Marcus Tettmar
Tue Sep 24, 2024 8:20 pm
Forum: General Discussion
Topic: Macro Scheduler 15.0.25 released
Replies: 12
Views: 2531

Re: Macro Scheduler 15.0.25 released

The "Results" variable isn't populated as expected (that would be a string with "name=value" pairs). So that actually has nothing to do with the HTML viewer object and is in fact because the parameter type of the Results parameter is a string list which Macro Scheduler doesn't know about. However, ...
by Marcus Tettmar
Tue Sep 24, 2024 8:05 pm
Forum: General Discussion
Topic: Topic to discuss the TMSWebBrowser dialog object
Replies: 9
Views: 1469

Re: Topic to discuss the TMSWebBrowser dialog object

Wow. It's the Microsoft WebBrowser control which is part of Windows. TMS stands for Type Macro Scheduler - TWebBrowser becomes TMSWebBrowser, etc. It has nothing to do with TMS Software whoever that is. It supports Javascript. If you want to automate a browser we have Edge/Chrome functions for doing...
by Marcus Tettmar
Mon Sep 23, 2024 11:02 am
Forum: General Discussion
Topic: Macro Scheduler 15.0.25 released
Replies: 12
Views: 2531

Re: Macro Scheduler 15.0.25 released

GetWindowChildList is now part of the gutter but missing in the "Code Builders" panel (or am I really blind?). It is there, defined in comdef.ini but we don't overwrite your comdef.ini on upgrades as you may have favourites etc set up. I know the new dialog objects are experimental but shouldn't we...
by Marcus Tettmar
Mon Sep 23, 2024 10:50 am
Forum: General Discussion
Topic: Macro Scheduler 15.0.25 released
Replies: 12
Views: 2531

Re: Macro Scheduler 15.0.25 released

I got PDF XChange installed and when I load a local pdf for the tMSWebBrowser object (URL property) the PDF-XChange interface is showing up. Pretty great if you ask me :) Not sure if this part of the scoop? All depends how your system is configured, what IE plugins you have and how they are configu...
by Marcus Tettmar
Mon Sep 23, 2024 10:46 am
Forum: General Discussion
Topic: [Fixed in 15.0.26] ONERROR not capturing string error
Replies: 18
Views: 21497

Re: ONERROR not capturing string error

Please update to 15.0.26 just released today which should fix this.
by Marcus Tettmar
Fri Sep 20, 2024 9:45 am
Forum: Technical / Scripting
Topic: Run from Top Bug?
Replies: 5
Views: 1224

Re: Run from Top Bug?

I can't replicate. Same macro, run from top always runs from top, no matter which line I have selected.
by Marcus Tettmar
Fri Sep 13, 2024 12:03 pm
Forum: General Discussion
Topic: [Fixed in 15.0.26] ONERROR not capturing string error
Replies: 18
Views: 21497

Re: ONERROR not capturing string error

Will look to see if we can improve it so that ONERROR works for complex expressions in If statements
by Marcus Tettmar
Fri Sep 13, 2024 11:10 am
Forum: General Discussion
Topic: [Fixed in 15.0.26] ONERROR not capturing string error
Replies: 18
Views: 21497

Re: ONERROR not capturing string error

Sorry, presently complex expression errors can be set to be ignored with LET>IGNOREERRORS=1 but not captured.
by Marcus Tettmar
Fri Sep 13, 2024 10:59 am
Forum: General Discussion
Topic: [Fixed in 15.0.26] ONERROR not capturing string error
Replies: 18
Views: 21497

Re: ONERROR not capturing string error

So the error is from an undeclared string variable in a complex expression. I would make sure those variables are initialised. However if you set IGNOREERRORS to 1 and set an error handler with ONERROR as you have done then any errors inside a complex expression should jump to your ONERROR handler. ...
by Marcus Tettmar
Thu Sep 12, 2024 3:37 pm
Forum: General Discussion
Topic: [Fixed in 15.0.26] ONERROR not capturing string error
Replies: 18
Views: 21497

Re: ONERROR not capturing string error

I don't think the issue is with If. the issue looks to be that the LibFunc failed and as such the parameter list didn't get constructed. I think the only sensible solution is initialise the variables before calling LibFunc. Then check them after and also check the main return variable of LibFunc.
by Marcus Tettmar
Fri Jul 26, 2024 2:53 pm
Forum: Enhancement Suggestions
Topic: PDF Display in a Dialog
Replies: 9
Views: 6507

Re: PDF Display in a Dialog

I'm afraid since a PDF is not an image format it won't be possible to display one via an image object. So some other object/method would be required. We will investigate options.
Sign up to our newsletter for free automation tips, tricks & discounts