Would anyone be very kind enough to share your complete MS+Python code with us?
Thank you.
Search found 1106 matches
- Sun Nov 01, 2015 6:23 am
- Forum: Technical / Scripting
- Topic: Python Code
- Replies: 13
- Views: 11643
- Sun Nov 01, 2015 5:14 am
- Forum: Technical / Scripting
- Topic: Unruly Variable Names
- Replies: 7
- Views: 5471
Re: Unruly Variable Names
Hi JRL & PepsiHog, Thank you for sharing your insight on unruly variable naming. I didn't know the naughty space is a showstopper. JRL's variable is certainly a delightful entrapment: Let>1234=2 mdl>1234 Let>kk=1 Add>kk,1234 MDL>kk Everyone will be stunned to find out that KK results in 3, not 1235....
- Sat Oct 31, 2015 9:54 pm
- Forum: Technical / Scripting
- Topic: Unruly Variable Names
- Replies: 7
- Views: 5471
Re: Unruly Variable Names
Hi PepsiHog,PepsiHog wrote:Yeah, I know. It's AWESOME, isn't it?
It's fantastic to see you back here.
Could you entertain us with your samples of AWESOME unruly variable names?
- Fri Oct 30, 2015 11:10 pm
- Forum: General Discussion
- Topic: Any way to turn off Windows 10 toast notifications?
- Replies: 4
- Views: 8229
Re: Any way to turn off Windows 10 toast notifications?
Please show your code.
- Fri Oct 30, 2015 10:35 pm
- Forum: Technical / Scripting
- Topic: Issue with running Script from a shortcut
- Replies: 7
- Views: 5226
Re: Issue with running Script from a shortcut
The problem is that the first time you press Alt + Esc the dialog is focused and steals the "Alt" key press. You can prove this by running the program and picking on the desktop before pressing Alt + Esc and the program will stop with one press rather than two. Hi JRL, Stealing focus is likely the ...
- Fri Oct 30, 2015 3:04 pm
- Forum: Technical / Scripting
- Topic: Issue with running Script from a shortcut
- Replies: 7
- Views: 5226
Re: Issue with running Script from a shortcut
My following script started as Desktop link succeed quitting with a single press of Ctrl+Esc.
Code: Select all
// Stop Script CTRL+Esc
OnEvent>KEY_DOWN,VK27,2,Quit
Label>Begin
Wait>5
MSg>Here I am
Goto>Begin
SRT>Quit
Exit>0
END>Quit
- Fri Oct 30, 2015 12:29 pm
- Forum: Technical / Scripting
- Topic: Issue with running Script from a shortcut
- Replies: 7
- Views: 5226
Re: Issue with running Script from a shortcut
How do you define the "Start in" path in your link?
- Fri Oct 30, 2015 11:40 am
- Forum: Technical / Scripting
- Topic: List of Variables
- Replies: 1
- Views: 2230
List of Variables
I write a simple and ultra fast script to enumerate variables for debugging. I impose my rule on variable naming: only A-z, 0-9 and _ (underscore) are allowed. Please feel free to use it. How to use: Insert your script in the label area named Script. LabelToVar>Script,Script Let>Rex=(?im)(?<=Let>)([...
- Fri Oct 30, 2015 10:46 am
- Forum: Technical / Scripting
- Topic: Unruly Variable Names
- Replies: 7
- Views: 5471
Unruly Variable Names
I'm stunned to discover that Macro Scheduler in fact imposes no rule on variable naming.
The following code shows "xy*! 2" is legally allowed as a variable name!
But it's useless as it isn't recognized subsequently by other commands.
The following code shows "xy*! 2" is legally allowed as a variable name!
But it's useless as it isn't recognized subsequently by other commands.
Code: Select all
Let>xy*! 2=123
Let>y=xy*! 2
MDL>xy*! 2=123
- Fri Oct 30, 2015 9:48 am
- Forum: Technical / Scripting
- Topic: Macro stops working after GoSub is executed
- Replies: 15
- Views: 9930
Re: Macro stops working after GoSub is executed
Hi Grovkillen, Please feel free to use my script to find duplicates (post no. 6). https://www.mjtnet.com/forum/viewtopic.php?f=2&t=7733 Your script is absolutely useful in creating a list of variables and their occurrences. Hope Macro Scheduler will include your debugging tool in the future. Thank y...
- Fri Oct 30, 2015 9:24 am
- Forum: Technical / Scripting
- Topic: Macro stops working after GoSub is executed
- Replies: 15
- Views: 9930
Re: Macro stops working after GoSub is executed
Hi Grovkillen, Please feel free to use my script to find duplicates (post no. 6). https://www.mjtnet.com/forum/viewtopic.php?f=2&t=7733 Thank you for referring to the extremely valuable thread. It's my first time to become aware that MS can call dynamically-naming subroutines. Let>I=2 Let>TEST={if(%...
- Thu Oct 29, 2015 10:13 pm
- Forum: Technical / Scripting
- Topic: Macro stops working after GoSub is executed
- Replies: 15
- Views: 9930
Re: Macro stops working after GoSub is executed
Another time-saving troubleshooting technique is to insert **BREAKPOINT** (case insensitive) at the line of interest. GetScreenRes>sX,sY **BREAKPOINT** ScreenCapture>0,0,sX,sY,C:\Programs\Macro Scheduler 11\scre\screen.bmp FindImagePos>C:\Programs\Macro Scheduler 11\pictures\fight.bmp,C:\Programs\Ma...
- Wed Oct 28, 2015 9:54 am
- Forum: Technical / Scripting
- Topic: How to refer to current directory?
- Replies: 2
- Views: 2738
Re: How to refer to current directory?
Not sure if %SCRIPT_DIR% meets your requirement.
- Mon Oct 26, 2015 7:13 am
- Forum: Beginners
- Topic: Open Web page and find position on screen
- Replies: 3
- Views: 5006
Re: Open Web page and find position on screen
Please try:
Code: Select all
Run>C:\Program Files (x86)\Mozilla Firefox\firefox.exe
WaitWindowOpen>Mozilla Firefox*
Wait>1
Press CTRL
Send>l
Release CTRL
Wait>0.2
Send>http://finance.yahoo.com
Press ENTER
- Fri Oct 23, 2015 8:46 am
- Forum: Technical / Scripting
- Topic: Macro Pro Text capture wizard not working
- Replies: 2
- Views: 2838
Re: Macro Pro Text capture wizard not working
In the Sample folder, you will find a sample script named Text Capture.scp.david789 wrote:Hi, i bought the MacroPro,
Also look up Marcus' Capturing Screen Text.