Search found 24 matches
- Tue Jun 11, 2024 11:24 am
- Forum: Technical / Scripting
- Topic: GetWindowChildList not returning all child handles
- Replies: 1
- Views: 6325
GetWindowChildList not returning all child handles
Hi, I'm using version 15.0.19 and SDK from around the time of that version release, I have lifetime licenses for both, so I'm not sure if it has been fixed in a newer version or not. I rarely use GetWindowChildList so I'm not sure how often this issue occurs and if it's specific to the window I am t...
- Thu Mar 11, 2021 11:40 pm
- Forum: Technical / Scripting
- Topic: MS SDK stop console output
- Replies: 2
- Views: 2805
Re: MS SDK stop console output
This works, thanks. 

- Thu Mar 11, 2021 11:35 pm
- Forum: Technical / Scripting
- Topic: Macro Scheduler SDK GetVar problem...
- Replies: 9
- Views: 7219
Re: Macro Scheduler SDK GetVar problem...
Hi Marcus,
Unfortunately I did not receive the email, I sent you a PM.
Unfortunately I did not receive the email, I sent you a PM.
- Thu Mar 11, 2021 5:25 pm
- Forum: Technical / Scripting
- Topic: MS SDK stop console output
- Replies: 2
- Views: 2805
MS SDK stop console output
Hi, When using MS SDK with C# I am getting messages written to console like this for each RunCode: 11/03/2021 17:12:20:830 - Started Macro 11/03/2021 17:12:20:847 - Finished Macro If running a lot of macros it can affect performance and it also makes debugging more difficult. Is there a way to switc...
- Thu Mar 11, 2021 4:49 pm
- Forum: Technical / Scripting
- Topic: Macro Scheduler SDK GetVar problem...
- Replies: 9
- Views: 7219
Re: Macro Scheduler SDK GetVar problem...
Not sure about other languages but I tried it with c#. On my computer - next call to RunCode or GetVar fails if GetVar is called for a variable holding 29278+ characters. That's the first issue, the next one is that next call to GetVar with a variable name longer than 7 chars throws an exception if ...
- Wed Mar 10, 2021 4:50 pm
- Forum: Technical / Scripting
- Topic: Macro Scheduler SDK GetVar problem...
- Replies: 9
- Views: 7219
- Wed Mar 10, 2021 4:10 pm
- Forum: Technical / Scripting
- Topic: Macro Scheduler SDK GetVar problem...
- Replies: 9
- Views: 7219
Re: Macro Scheduler SDK GetVar problem...
Below is the code I used to test, also used online random string generator to obtain strings. public class ScriptRunnerTest { readonly MScript.MacroScript _axScript; public int MSGetVarCharLimit { get; set; } public ScriptRunnerTest() { MSGetVarCharLimit = 30000; //MSGetVarCharLimit = 29277; MSGetVa...
- Wed Mar 10, 2021 4:01 pm
- Forum: Technical / Scripting
- Topic: Macro Scheduler SDK GetVar problem...
- Replies: 9
- Views: 7219
Macro Scheduler SDK GetVar problem...
Hi, I've noticed there's a problem with GetVar function when using MS SDK with C#. If string returned is larger than 29277 characters, next call to RunCode function will result in following error (at least for codes where variable assignment is done, e.g. Let>, Length>): System.Runtime.InteropServic...
- Wed Dec 02, 2020 6:46 pm
- Forum: Technical / Scripting
- Topic: Chrome functions error handling
- Replies: 1
- Views: 2199
Chrome functions error handling
Hi, I've recently noticed an issue with Chrome bots, they work completely fine on my pc, they work 90% of the time on the AWS Windows Server 2019 VM that they're supposed to run on. The problem there is that sometimes bots get stuck on Chrome functions such as 'ChromeFindELements' or 'ChromeNavigate...
- Tue Nov 10, 2020 10:21 am
- Forum: Technical / Scripting
- Topic: API Endpoints Macro Not Found
- Replies: 1
- Views: 1955
Re: API Endpoints Macro Not Found
Hi,I am having the same issue, cannot find out what might be the cause of this problem. "Macro not found" response is returned even though script is triggered by the API call. Correct response is critical to our implementation, hopefully someone will know what can cause this issue.
- Fri Oct 30, 2020 5:46 pm
- Forum: Technical / Scripting
- Topic: Can't compile executables
- Replies: 3
- Views: 3426
Can't compile executables
Hi, I've had this issue for a while now but it got really bad now. Initially 1 in 5 times after I compiled an exe it was gone not to be found anywhere. Over time the issue got worse, right now getting a compiled executable is like finding a four-leaf clover. During compilation I can see the exe appe...
- Thu Oct 15, 2020 4:17 pm
- Forum: Technical / Scripting
- Topic: MsNet send response before end of script
- Replies: 2
- Views: 2497
Re: MsNet send response before end of script
I found a different solution to the problem. API triggers script built for running the compiled bot. It returns response straight away without blocking calling program and compiled bot is free to take its time to complete the process: RunProgram>{%str_path% + %str_file% + " /_test=ABC /_test2=123"} ...
- Wed Oct 14, 2020 10:02 pm
- Forum: Technical / Scripting
- Topic: MsNet send response before end of script
- Replies: 2
- Views: 2497
MsNet send response before end of script
Hi, I've noticed that when triggering a script through MsNet API call, response is not sent back until the whole script is executed. Initially I thought that response was sent at the point of Let>MACRO_RESULT variable. However it seems like this is not the case. I need response to be sent immediatel...
- Mon Oct 05, 2020 2:30 pm
- Forum: Technical / Scripting
- Topic: Changing headers/content-type in MACRO_RESULT
- Replies: 2
- Views: 4042
Re: Changing headers/content-type in MACRO_RESULT
Thanks for the quick response. Yes, we can convert it on the other side, just wondered whether this is possible. 

- Mon Oct 05, 2020 1:54 pm
- Forum: Technical / Scripting
- Topic: Changing headers/content-type in MACRO_RESULT
- Replies: 2
- Views: 4042
Changing headers/content-type in MACRO_RESULT
I created a MsNet endpoint to trigger a script. Now in the blog post describing it ( https://help.mjtnet.com/article/331-how-to-make-macro-scheduler-run-macros-in-response-to-http-requests ), MACRO_SCHEDULER variable is used to send response. I am sending json back in the body and would like to chan...