Hi,
Is Macro Scheduler able to create threads and perform parallel programming?
Threading
Moderators: Dorian (MJT support), JRL
- Grovkillen
- Automation Wizard
- Posts: 1131
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: Threading
I believe the events triggered by "on event" commands are handled in separate threads.
Re: Threading
I think macro scheduler isn’t able to perform multi threading Processing like other types of programming languages like Python.
I’m trying overcome the main dialog freeze up when a push button was pressed for Processor intense calculation and data processing. In python, I can use worker threading class to overcome this, to prevent the main dialog from “freezing”.
Anyway MS can do the same?
I’m trying overcome the main dialog freeze up when a push button was pressed for Processor intense calculation and data processing. In python, I can use worker threading class to overcome this, to prevent the main dialog from “freezing”.
Anyway MS can do the same?
- Grovkillen
- Automation Wizard
- Posts: 1131
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: Threading
Compile multiple exe files is my take on multi threading.
Re: Threading
Looks like Macro Scheduler isn’t meant for threading. That’s the limitation for MS.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Threading
Dialog events, and OnEvent handlers are processed in a separate thread to the main script. That said, Macro Scheduler is designed as a high level automation tool and doesn't offer the same threading capabilities of more traditional, lower level programming languages.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?