Search found 6998 matches

by Marcus Tettmar
Thu Mar 18, 2021 12:15 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 9060

Re: Launching a script

You cannot 'RUN' a .scp file directly. This has nothing to do with 64 bit. You just can't run .scp files - they are not executable. You can pass them to macro scheduler or use ExecuteFile (which runs the default command associated with the file extension): run>c:\....\msched.exe "c:\path\scriptfile....
by Marcus Tettmar
Thu Mar 18, 2021 12:13 pm
Forum: Enhancement Suggestions
Topic: Synch Folder with Editor Group Macro list
Replies: 1
Views: 10531

Re: Synch Folder with Editor Group Macro list

Just make it a linked group:

https://www.mjtnet.com/manuals/v15/HTML/groups.html

A linked group syncs - any scripts you add to that folder outside of Macro Scheduler will show up in Macro Scheduler.
by Marcus Tettmar
Mon Mar 15, 2021 1:59 pm
Forum: Enhancement Suggestions
Topic: Add URLEncode as a function :D
Replies: 5
Views: 13090

Re: Add SPACE encoding to HTMLEncode/HTMLDecode

Hi, HTMLEncode/Decode encode and decode HTML, not URLs. %20 is the URL encoding for a space character. + is also sometimes used. But in HTML, space is just space. So these functions are working correctly. They are not for encoding/decoding URLs. Here's a way you can do that: https://www.mjtnet.com/b...
by Marcus Tettmar
Mon Mar 15, 2021 1:51 pm
Forum: Technical / Scripting
Topic: Strange Problem with a file
Replies: 3
Views: 2077

Re: Strange Problem with a file

What happens if you run Macro Scheduler as administrator? Being logged in as Administrator is not enough - Macro Scheduler still runs by default with ordinary user privileges. Exit Macro Scheduler fully (File/Exit) or right click system tray icon and exit. Then right click on Macro Scheduler shortcu...
by Marcus Tettmar
Fri Mar 12, 2021 12:10 pm
Forum: Technical / Scripting
Topic: EasyPattern bug?
Replies: 1
Views: 1555

Re: EasyPattern bug?

I'm not sure to be honest. The docs are here:

https://www.datamystic.com/easypatterns_reference

Shouldn't it be [longest oneOrMore letter] ?

You might want to email datamystic directly if you need more help.
by Marcus Tettmar
Fri Mar 12, 2021 12:05 pm
Forum: Enhancement Suggestions
Topic: Virtual key name
Replies: 3
Views: 11725

Re: Virtual key name

Why not do:

Code: Select all

Let>VK_ESCAPE=VK27
OnEvent>KEY_DOWN,VK_ESCAPE,0,KeyPress
by Marcus Tettmar
Thu Mar 11, 2021 8:26 pm
Forum: Technical / Scripting
Topic: Macro Scheduler SDK GetVar problem...
Replies: 9
Views: 4060

Re: Macro Scheduler SDK GetVar problem...

Hi Marcin,

I have just sent you an updated version of the OCX which fixes this problem to your email.
by Marcus Tettmar
Thu Mar 11, 2021 6:54 pm
Forum: Technical / Scripting
Topic: Macro Scheduler SDK GetVar problem...
Replies: 9
Views: 4060

Re: Macro Scheduler SDK GetVar problem...

I haven't been able to test with C# yet (Visual Studio keeps crashing when I open it) but with VBScript I had variables with 50k+ characters in them and had no issues calling GetVar and RunCode several times with large variables like that. It's using the exact same OCX. So I'm not sure what the issu...
by Marcus Tettmar
Thu Mar 11, 2021 6:34 pm
Forum: Technical / Scripting
Topic: MS SDK stop console output
Replies: 2
Views: 1758

Re: MS SDK stop console output

Try passing this in 'parms' to RunCode or RunScript:

Code: Select all

 /LOGFILE=\dev\nul
by Marcus Tettmar
Thu Mar 11, 2021 1:51 pm
Forum: Technical / Scripting
Topic: Macro Scheduler SDK GetVar problem...
Replies: 9
Views: 4060

Re: Macro Scheduler SDK GetVar problem...

Just a preliminary update - I have been testing the OCX via VBScript with some very long text variables, both names and data, including variables set to the contents of files, with RunCodes and GetVars interspersed and have so far not had any errors. I am still not seeing any reason for the issue yo...
by Marcus Tettmar
Wed Mar 10, 2021 8:47 pm
Forum: Technical / Scripting
Topic: Macro Scheduler SDK GetVar problem...
Replies: 9
Views: 4060

Re: Macro Scheduler SDK GetVar problem...

This is very odd. I can't see any reason at all for it to be limiting the returned string to 29277 characters. But we will investigate.
by Marcus Tettmar
Tue Mar 02, 2021 6:14 pm
Forum: Technical / Scripting
Topic: ChromeFindElements error
Replies: 7
Views: 2949

Re: ChromeFindElements error

mightycpa wrote:
Mon Mar 01, 2021 6:30 pm

ChromeFindElements>session_id,class name," json-conversation-name",v_name
Take the quotes out:

ChromeFindElements>session_id,class name, json-conversation-name,v_name

And are you sure you need that leading space? Try with and without.
by Marcus Tettmar
Mon Feb 22, 2021 1:02 pm
Forum: Technical / Scripting
Topic: Dialog Designer wandering off the screen
Replies: 7
Views: 3516

Re: Dialog Designer wandering off the screen

Do you have pin to designer set? and could your script be positioning the window (or is it being moved off the screen when running the script)? If so then when you later open the designer it is probably just moving to the same place as set by the script or moved to ...
by Marcus Tettmar
Mon Feb 01, 2021 5:09 pm
Forum: Technical / Scripting
Topic: How to remove macro scheduler logo and name in input dialogue box
Replies: 6
Views: 3836

Re: How to remove macro scheduler logo and name in input dialogue box

The official answer to this is to get Macro Scheduler Pro, set APP_TITLE and a custom icon and compile.
by Marcus Tettmar
Mon Feb 01, 2021 5:06 pm
Forum: Beginners
Topic: Image inserted and visible in the editor (see Macro - Flash Example)
Replies: 4
Views: 6663

Re: Image inserted and visible in the editor (see Macro - Flash Example)

Actually you can by exploiting a feature of the recorder. Record a macro with the default and you will see it documents images of things you click on and wait for: //Clicking on: //SnapshotFile>... //Activating Window: //SnapshotFile>... If you save the macro first and then specify either a full pat...
cron
Sign up to our newsletter for free automation tips, tricks & discounts