Search found 3286 matches

by JRL
Mon Jun 29, 2020 10:16 pm
Forum: The Water Cooler
Topic: Optical Illusion
Replies: 0
Views: 90

Optical Illusion

Saw a version of this on VOX last week. https://www.vox.com/science-and-health/20978285/optical-illusion-science-humility-reality-polarization Click on the little box to move it around. Click on the big box to get a new gradient. The color of the little box never changes as you move it. Only when yo...
by JRL
Thu Jun 25, 2020 3:51 pm
Forum: Technical / Scripting
Topic: HTTPRequest not working in Compiled version
Replies: 14
Views: 177

Re: HTTPRequest not working in Compiled version

Good job! :)
I had confidence you'd figure it out.
by JRL
Thu Jun 25, 2020 3:29 pm
Forum: Technical / Scripting
Topic: HTTPRequest not working in Compiled version
Replies: 14
Views: 177

Re: HTTPRequest not working in Compiled version

Hmmmm. Another thing to try. Close Macro Scheduler by going to "File" then "Exit" in the main menu. MSched.exe should not be seen running in task manager. Open the folder containing the uncompiled script using Windows File Explorer. Double click the script and see if it runs. If it fails then I stil...
by JRL
Thu Jun 25, 2020 2:52 pm
Forum: Technical / Scripting
Topic: HTTPRequest not working in Compiled version
Replies: 14
Views: 177

Re: HTTPRequest not working in Compiled version

But are the others pushing data?
Makes me wonder if its your anti-malware stopping executables from phoning home.
by JRL
Thu Jun 25, 2020 1:58 pm
Forum: Technical / Scripting
Topic: HTTPRequest not working in Compiled version
Replies: 14
Views: 177

Re: HTTPRequest not working in Compiled version

Privileges?
Especially if it's a local server.
by JRL
Wed Jun 17, 2020 7:33 pm
Forum: Scripts and Tips
Topic: How to "Wait" in Millisecond intervals
Replies: 0
Views: 185

How to "Wait" in Millisecond intervals

The Macro Scheduler Wait> function can be told to pause for a time interval as small as 0.001 seconds (one millisecond) However, the Wait> function can't actually pause for a time interval smaller than about 16 milliseconds. In other words you can type into your script "Wait>0.001", but the time the...
by JRL
Tue May 26, 2020 9:46 pm
Forum: Scripts and Tips
Topic: Creating a "cleanup script"
Replies: 3
Views: 201

Re: Creating a "cleanup script"

Might be easier to use Killprocess> to kill all Chrome.exe and Excel.exe processes. Or, I like to use DOS taskkill. Taskkill kills all of a given process name in one swoop. Let>RP_Wait=1 Let>RP_Windowmode=0 RunProcess>cmd /c taskkill /im "excel.exe" /f RunProcess>cmd /c taskkill /im "chrome.exe" /f
by JRL
Fri May 22, 2020 4:42 pm
Forum: Scripts and Tips
Topic: Self Deleting Script
Replies: 0
Views: 237

Self Deleting Script

I needed an executable that would run and then remove itself. I knew I'd posted something like that before. Turns out it was 15 years ago and uses old dialogs so I rewrote an example to post and used a stock message box to present information. A couple of things. - Don't run this from the editor, th...
by JRL
Mon May 04, 2020 4:18 pm
Forum: Technical / Scripting
Topic: Designing Radio Buttons
Replies: 3
Views: 328

Re: Designing Radio Buttons

Not sure I have your logic perfect but here is an example Dialog>Dialog1 object Dialog1: TForm Left = 613 Top = 189 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientHeight = 185 ClientWidth = 476 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText...
by JRL
Fri May 01, 2020 7:24 pm
Forum: Technical / Scripting
Topic: SMTPSendMail Help Error
Replies: 1
Views: 267

SMTPSendMail Help Error

Web Manual says:
"If TLS is needed you can set how it should be used by setting SSL_USETLS as follows:"

Should say:
"If TLS is needed you can set how it should be used by setting SMTP_USETLS as follows:"
by JRL
Mon Apr 06, 2020 1:45 pm
Forum: Technical / Scripting
Topic: Max length integer 19 positions
Replies: 2
Views: 284

Re: Max length integer 19 positions

Not really a bug. More a consequence of not needing to declare variables and their type. This topic has been discussed since the early days of Macro Scheduler time. Numbers are not supposed to be quoted in a complex expression. The long ago concluded solution is/was to append some text onto the numb...
by JRL
Wed Mar 25, 2020 6:45 pm
Forum: Beginners
Topic: Press CTRL and Home keys
Replies: 2
Views: 322

Re: Press CTRL and Home keys

This works for me.

Code: Select all

SetFocus>Excel*

Press ctrl
Press Home
Release ctrl
by JRL
Mon Mar 16, 2020 10:25 pm
Forum: The Water Cooler
Topic: Working from home?
Replies: 7
Views: 6892

Re: Working from home?

We are making the option available for a few. We are a manufacturing facility and the machines are not mobile. If the time comes that an employee shows any symptoms, the responsible thing for that employee is to stay home. Shop floor employees will have no option to work from home. Certain "key" emp...
by JRL
Tue Feb 18, 2020 2:11 pm
Forum: Technical / Scripting
Topic: Radio button question
Replies: 3
Views: 445

Re: Radio button question

In Dialog Designer, right clicking on an object produces a menu that has "List Event Names" as the fourth item. Clicking that produces a list of the events associated with this particular object. Left click to highlight an item in the list then right click the highlighted item (yes you must do both ...
Sign up to our newsletter for free automation tips, tricks & discounts