Search found 1106 matches
- Wed Nov 04, 2015 2:16 pm
- Forum: Technical / Scripting
- Topic: Python Hello The World
- Replies: 7
- Views: 6040
Re: Python Hello The World
Can MS support Python 3.5 64-bit?
- Wed Nov 04, 2015 2:13 pm
- Forum: Technical / Scripting
- Topic: Python Hello The World
- Replies: 7
- Views: 6040
Re: Python Hello The World
You mean you want it to display some kind of dialog, like a message box. Yes, that's exactly what I asked for. So I Googled that for you. There are various dialog libraries but ideally we want one that comes as standard with Python so you don't have to install custom library files. Thanks for your ...
- Wed Nov 04, 2015 1:49 pm
- Forum: Technical / Scripting
- Topic: Python Code
- Replies: 13
- Views: 11602
Re: Python Code
Requires the Python 2.7 DLL to be installed and in the path. We recommend installing the python27.dll in the same folder as Macro Scheduler or of your compiled macro. Any libraries and runtimes can also be included in lib,libs,dll etc folders at the same level, consistent with the usual Python setu...
- Wed Nov 04, 2015 1:47 pm
- Forum: Technical / Scripting
- Topic: Python Hello The World
- Replies: 7
- Views: 6040
Re: Python Hello The World
If Python displays a message by means of print ("....."), it has to relay the message to output in: PYExec>pcode,output,x.Marcus Tettmar wrote:What do you mean?
Is it possible for a Python code displays messages directly onto screen instead of thru MS?
- Wed Nov 04, 2015 12:43 pm
- Forum: Technical / Scripting
- Topic: Python Code
- Replies: 13
- Views: 11602
Re: Python Code
1. Download this file: https://www.mjtnet.com/software/python27.zip 2. Extract EVERYTHING from that zip into the Macro Scheduler 14 *program folder* (usually c:\program files (x86)\Macro Scheduler 14 3. You should see python27.dll as well as Lib, DLLs, and libs sub folders and these should contains...
- Wed Nov 04, 2015 12:41 pm
- Forum: Technical / Scripting
- Topic: Python Hello The World
- Replies: 7
- Views: 6040
Python Hello The World
The following code works fine. /* python_code: x = "Hello" print("Hello The World") */ //Load the Python code to a variable LabelToVar>python_code,pcode //Run the code and request the values of the sdict and myip variables ... PYExec>pcode,output,x MDL>output Question: How to display "Hello The Worl...
- Wed Nov 04, 2015 10:38 am
- Forum: Technical / Scripting
- Topic: Python Code
- Replies: 13
- Views: 11602
Re: Python Code
When executing Line 37, msched.exe suddenly vanishes from Windows without leaving any traces.Marcus Tettmar wrote:You don't say what the error is.
- Wed Nov 04, 2015 10:13 am
- Forum: Technical / Scripting
- Topic: Python Code
- Replies: 13
- Views: 11602
Re: Python Code
The following two files are the best I can find:
Please help. Thanks.
Code: Select all
urllib2.py
urllib2.pyc
- Wed Nov 04, 2015 9:52 am
- Forum: Technical / Scripting
- Topic: Python Code
- Replies: 13
- Views: 11602
Re: Python Code
Where can I download the urllib2 please?Marcus Tettmar wrote:You don't say what the error is. But as well as the DLL you need the Imports. This uses urllib2 so you'll need that lib.
- Tue Nov 03, 2015 11:34 pm
- Forum: Technical / Scripting
- Topic: Python Code
- Replies: 13
- Views: 11602
Re: Python Code
Houston, I have a problem! MS crashes at Line 37. Please rescue me. MS13.jpg /* First ensure Python27.dll and imports are in your Macro Scheduler program folder. Download and unzip this file: https://www.mjtnet.com/software/python27.zip */ Let>url=http://ip.jsontest.com/ /* python_code: import urlli...
- Tue Nov 03, 2015 10:39 pm
- Forum: Technical / Scripting
- Topic: Ambiguous Manual--OnEvent>Custom
- Replies: 5
- Views: 4263
Re: Ambiguous Manual--OnEvent>Custom
Hi Marcus,Marcus Tettmar wrote:The trigger test subroutine is checked between every line.
Your Revelation "The trigger test subroutine is checked between every line" is the key answer I was looking for.
Thank you.
- Tue Nov 03, 2015 8:54 pm
- Forum: Technical / Scripting
- Topic: Unable to Getfocus of Foxit Reader
- Replies: 6
- Views: 4440
Re: Unable to Getfocus of Foxit Reader
Hi Gchichester,
What cause you to believe you're getting the focus of Foxit Reader?
Besides, the GetFocus command doesn't exist in MS.
What cause you to believe you're getting the focus of Foxit Reader?
Besides, the GetFocus command doesn't exist in MS.
- Mon Nov 02, 2015 9:54 pm
- Forum: General Discussion
- Topic: Any way to turn off Windows 10 toast notifications?
- Replies: 4
- Views: 8194
Re: Any way to turn off Windows 10 toast notifications?
Hi Daniel347x, SetFocus>XYplorer /* Assign this macro to ALT+Q. When you hit alt-q it will start and WAIT for you to release the ALT key It will then run the code in the YourCode subroutine ... */ SRT>YourCode //Press Enter Exit>0 END>YourCode Press alt Press tab Release tab OnEvent>key_down,VK18,3,...
- Sun Nov 01, 2015 9:33 pm
- Forum: Technical / Scripting
- Topic: Ambiguous Manual--OnEvent>Custom
- Replies: 5
- Views: 4263
Re: Ambiguous Manual--OnEvent>Custom
Referring to the screenshot, I am stunned by the discovery of:
1. Upon Line 1, subroutine MyTriggerSub is immediately and repeatedly executed.
2. Line 2 and the rest are never executed.
Is this normal?
1. Upon Line 1, subroutine MyTriggerSub is immediately and repeatedly executed.
2. Line 2 and the rest are never executed.
Is this normal?
- Sun Nov 01, 2015 11:52 am
- Forum: Technical / Scripting
- Topic: Ambiguous Manual--OnEvent>Custom
- Replies: 5
- Views: 4263
Ambiguous Manual--OnEvent>Custom
Referring to the manual: OnEvent>Custom,SubroutineName,VariableName,Subroutine Custom Trigger - runs given subroutine periodically and triggers when specified variable = TRUE OnEvent>CUSTOM,MyTriggerSub,DoIT,DoSomething If>OK=1 Gosub>MyTriggerSub Endif SRT>MyTriggerSub //This custom trigger monitors...