{"id":2471,"date":"2014-10-14T14:19:49","date_gmt":"2014-10-14T14:19:49","guid":{"rendered":"https:\/\/www.mjtnet.com\/blog\/?p=2471"},"modified":"2014-10-14T14:19:49","modified_gmt":"2014-10-14T14:19:49","slug":"the-macro-scheduler-macroscript-sdk-in-python","status":"publish","type":"post","link":"https:\/\/www.mjtnet.com\/blog\/2014\/10\/14\/the-macro-scheduler-macroscript-sdk-in-python\/","title":{"rendered":"The Macro Scheduler MacroScript SDK in Python"},"content":{"rendered":"<p>Did you know there was a <a href=\"https:\/\/www.mjtnet.com\/macroscript_sdk.htm\">Macro Scheduler SDK<\/a>?  It allows you to run Macro Scheduler code from right within your own apps. You can run and interact with MacroScript code within VB, C++, C#, Delphi, VBScript &#8230; or any other programming language which lets you use a COM object or Win native DLL.<\/p>\n<p>It even works in Python.  Here&#8217;s a small example which uses the screen image recognition functionality to find and click on the Windows Start button:<\/p>\n<p><script type=\"text\/javascript\" src=\"https:\/\/snipt.net\/embed\/76f6cd41bf6b70ff1b4a3c3f8ac83891\/\"><\/script><\/p>\n<p>Another slightly more complex example which opens Notepad and types into it. It also demonstrates how you can call chunks of code at a time instead of all at once and set and get the value of script variables during execution.  It also gets the result of the script set via MACRO_RESULT:<\/p>\n<p><script type=\"text\/javascript\" src=\"https:\/\/snipt.net\/embed\/b3c0fd61a3a08e82981b1e6b28d379e8\/\"><\/script><\/p>\n<p><a href=\"https:\/\/www.mjtnet.com\/macroscript_sdk.htm\">More information about the MacroScript SDK can be found here<\/a>.  <\/p>\n<p>A number of customers have used the SDK to build macro-ing capabilities into their own products and\/or create tighter integrations between their own software and automation routines using MacroScript.<\/p>\n<p>If you&#8217;re interested in trialling a copy or getting pricing info <a href=\"https:\/\/www.mjtnet.com\/contact.htm\">drop us a line<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you know there was a Macro Scheduler SDK? It allows you to run Macro Scheduler code from right within your own apps. You can run and interact with MacroScript code within VB, C++, C#, Delphi, VBScript &#8230; or any other programming language which lets you use a COM object or Win native DLL. It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/2471"}],"collection":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/comments?post=2471"}],"version-history":[{"count":3,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/2471\/revisions"}],"predecessor-version":[{"id":2474,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/2471\/revisions\/2474"}],"wp:attachment":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/media?parent=2471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/categories?post=2471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/tags?post=2471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}