Search found 6996 matches

by Marcus Tettmar
Thu Mar 21, 2024 3:03 pm
Forum: General Discussion
Topic: ONERROR not capturing string error
Replies: 6
Views: 10420

Re: ONERROR not capturing string error

Hard to say without debugging but I'm wondering if IsIconic is unable to return anything? Have you checked the value being returned there? Something clearly isn't what you're expecting it to be in the If statement and therefore some kind of type error is occurring? Sorry, hard to say without more in...
by Marcus Tettmar
Mon Mar 18, 2024 1:52 pm
Forum: General Discussion
Topic: GetWindowChildList missing in "Code Builders"
Replies: 1
Views: 90

Re: GetWindowChildList missing in "Code Builders"

Thanks. Will get that added in next release.
by Marcus Tettmar
Mon Mar 11, 2024 1:26 pm
Forum: General Discussion
Topic: Scrollable menu/dialog
Replies: 16
Views: 9453

Re: Scrollable menu/dialog

Are we talking about scrolling dialogs or getting the results of an HTML form submission? The html viewer was added as a convenient way for people to style dialogs. Handling form submits was beyond the scope. But we can look at it. As for results of selections, radio buttons and so forth, you can al...
by Marcus Tettmar
Thu Feb 22, 2024 3:10 pm
Forum: Scripts and Tips
Topic: Scaling dialog based on TextHeight
Replies: 6
Views: 26620

Re: Scaling dialog based on TextHeight

TextHeight is not actually a usable property - it's some kind of low level property used by the system for scaling but not actually usable or settable by the developer. It seems to be visible as a read only property which is why it's chucked out by the form designer, but you'll note if you edit the ...
by Marcus Tettmar
Mon Feb 05, 2024 2:25 pm
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 72766

Re: [added 15.0.23] Run command, capture STDOUT

I thought we had already done this and have just checked the source and see that, yes, indeed, the stdout file uses a UID. Perhaps we missed something off the release notes. The latest version is 15.0.24 so maybe it went in there. Can you please make sure you are running 15.0.24 and check again?
by Marcus Tettmar
Tue Jan 09, 2024 12:39 pm
Forum: Technical / Scripting
Topic: VirtualKey for Gamepad/Joystick input
Replies: 10
Views: 5556

Re: VirtualKey for Gamepad/Joystick input

Use a dialog to see what key code IS being sent. Debug this code. Make sure the dialog is active. Hit your game pad key and see what the value of SUBTEST_KEY is: Dialog>Dialog1 object Dialog1: TForm Left = 607 Top = 264 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientH...
by Marcus Tettmar
Tue Jan 09, 2024 10:39 am
Forum: Technical / Scripting
Topic: VirtualKey for Gamepad/Joystick input
Replies: 10
Views: 5556

Re: VirtualKey for Gamepad/Joystick input

You can specify any virtual key code in OnEvent with KEY_DOWN, KEY_UP, by preceding the code with VK. So, yes, if these are the VK codes that your custom keyboard triggers, you should be able to respond to them with OnEvent.
by Marcus Tettmar
Mon Dec 18, 2023 10:40 am
Forum: General Discussion
Topic: ONERROR not capturing string error
Replies: 6
Views: 10420

Re: ONERROR not capturing string error

Hmm. Will look at why the error isn't suppressed. In the mean time you could do this: //check is a number RegEx>^\d+(\.\d+)?$,VALUE,0,matches,nm,0 If>nm>0 Let>CALCULATE={Round(%VALUE%)} Else // not a number Gosub>PROCESS_ERROR Endif Or: //check is a number VBEval>IsNumeric("%VALUE%"),isNumber If>isN...
by Marcus Tettmar
Sat Nov 11, 2023 11:40 am
Forum: General Discussion
Topic: Another Permissions Error
Replies: 3
Views: 8194

Re: Another Permissions Error

What happens after a full restart and using a different hot key, such as ctrl + alt + r. Ctrl r is likely used by something else.
by Marcus Tettmar
Mon Oct 09, 2023 1:32 pm
Forum: General Discussion
Topic: Putting macro scheduler into a stand alone client?
Replies: 7
Views: 15845

Re: Putting macro scheduler into a stand alone client?

Are you talking about macro scheduler *automating* that standalone instance or are you wanting to be able to *use* macro scheduler without a mouse? If you mean the former - yes a physical mouse does not have to be present in order to be able to automate mouse events. If you mean the latter - the sho...
by Marcus Tettmar
Thu Aug 10, 2023 10:29 pm
Forum: Technical / Scripting
Topic: SQL query command crash the script
Replies: 8
Views: 10221

Re: SQL query command crash the script

Macro Scheduler does no processing. Just sends the SQL to the connection driver and returns the results. So I don't think there's much we can do here. Sounds like a bug with the ODBC/ADO driver. We can look to see if there's anything we can do to prevent it causing a crash though.
by Marcus Tettmar
Mon Jul 31, 2023 10:44 am
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19627

Re: Compiled Script Logging?

The first example specifies the file to be created in root C drive. That is unlikely to work unless you're running the exe as admin. Second example uses a script variable. This won't be resolved in this instance. Specify a location you can write to, or try without a path to write to same location as...
by Marcus Tettmar
Fri Jul 28, 2023 6:28 am
Forum: Technical / Scripting
Topic: HTTPRequest with DELETE method having error 400: Bad Request
Replies: 3
Views: 9607

Re: HTTPRequest with DELETE method having error 400: Bad Request

Delete requests with a request body are non standard. Most clients won't support that as it's not in the spec. Macro Scheduler does not support it. Ask your developer if they can make a version of the endpoint which has query parameters instead.
by Marcus Tettmar
Thu Jul 27, 2023 4:26 pm
Forum: Technical / Scripting
Topic: HTTPRequest with DELETE method having error 400: Bad Request
Replies: 3
Views: 9607

Re: HTTPRequest with DELETE method having error 400: Bad Request

Rudolf wrote:
Thu Jul 27, 2023 6:54 am
Hi,
UPDATE: My engineer says the request body is not sent to the server
There is no request body with a DELETE. Please clarify.
Sign up to our newsletter for free automation tips, tricks & discounts