Search found 3454 matches

by JRL
Wed Sep 27, 2023 1:20 pm
Forum: Technical / Scripting
Topic: Memory leak when using PyExec
Replies: 7
Views: 20188

Re: Memory leak when using PyExec

I wouldn't call this a memory leak. This is programmed memory loading. Each iteration of "Import datetime" loads the datetime module into memory and there's no Python function available to remove it. As long as the program runs the loop, its memory usage will grow. Python wasn't designed to be used ...
by JRL
Wed Sep 06, 2023 2:58 pm
Forum: Technical / Scripting
Topic: Exception EInOutError in msched.exe....
Replies: 3
Views: 14182

Re: Exception EInOutError in msched.exe....

Searching for "Einouterror" gave me two results on the forum. The other result was not very detailed so I'm tacking information onto this one. My error is "Exception EInOutError in module: 'program name' at 0058BOA1,I/O error 53" which is different than anything I found on the forum. What I want to ...
by JRL
Wed Aug 23, 2023 9:16 pm
Forum: Technical / Scripting
Topic: Variables when calling SRT from OnEvent
Replies: 3
Views: 8016

Re: Variables when calling SRT from OnEvent

Grovkillen, I have also experienced this phenomenon for quite a while. Wrote my first KeyLogger in 2007 using the relatively new OnEvent> function. That particular script had a separate subroutine for each letter. I don't recall when I rewrote it using one subroutine and a fifth onevent parameter bu...
by JRL
Mon Jul 31, 2023 2:42 pm
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19878

Re: Compiled Script Logging?

(I am struggling to find a generic place to write the log file to on a user's system, without running as Admin) No guaranties. Internal to our domain, using C:\ProgramData\Folder_I_Create works for me. Caveate being most users can't see the ProgramData folder so if you want them to see the file you...
by JRL
Fri Jul 14, 2023 2:54 pm
Forum: Technical / Scripting
Topic: Grrr I know this is pain but...
Replies: 6
Views: 10484

Re: Grrr I know this is pain but...

Hi Phil, ...and how other users deal with it. Mostly by cursing. :evil: Been dealing with this for a few years. I have no idea how to get to the location I discovered one day where on my computer I was able to exclude folders from Windows Defender's heavy handed tactics. I excluded my Macro Schedule...
by JRL
Wed Jul 05, 2023 3:40 pm
Forum: Technical / Scripting
Topic: To break a single statement into multiple lines
Replies: 4
Views: 8281

Re: To break a single statement into multiple lines

:?:
Could one of you post an example?
by JRL
Wed Jun 07, 2023 4:15 pm
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 73556

Re: [added 15.0.23] Run command, capture STDOUT

This works for me: (Note the use of "Between>" rather than "RegEx>") Looks like your file is on a shared drive, be sure your admin user has access to the share. Let>PATH_TO_FILE=L:\A\Run MyTime.exe Let>RP_WINDOWMODE=0 Let>RP_CAPTURESTDOUT=1 Let>RP_Admin=1 Let>CMD_TO_RUN=cmd /c certutil -hashfile "%P...
by JRL
Mon Jun 05, 2023 3:21 pm
Forum: Technical / Scripting
Topic: Copy some data and store it to an Array without leaving current page
Replies: 8
Views: 10967

Re: Copy some data and store it to an Array without leaving current page

I agree with Dorian. Save to a file. I don't know who came up with the Alt + D. I prefer Ctrl + L. Its supposed to work in all web browsers and also works in Windows File Explorer. You could also add a dialog or message at the end that displays for a second to let you know the hotkey worked. Wait>0....
by JRL
Thu May 25, 2023 4:23 pm
Forum: Technical / Scripting
Topic: ALT+TAB show dialog and executable even if compiled as hidden
Replies: 9
Views: 12774

Re: ALT+TAB show dialog and executable even if compiled as hidden

If ALT + TAB is really a problem, one way to thwart it is to disable ALT. Of course this has its own set of issues some of which might be addressed by adding conditions in the Reset subroutine. You could, for example, detect the current window name and fail to release ALT if a specific window name i...
by JRL
Thu May 25, 2023 2:32 am
Forum: Technical / Scripting
Topic: Acquire the working area of a dialog
Replies: 12
Views: 24014

Re: Acquire the working area of a dialog

I'm rarely as likely to remember information handed to me as information I had to work for. I enjoy the adventure.

As for searching. I had the advantage of having a script that contained the code in Marcus' post so I searched for "IsZoomed" then skipping over your entry left only four matches.
by JRL
Wed May 24, 2023 4:12 pm
Forum: Technical / Scripting
Topic: Acquire the working area of a dialog
Replies: 12
Views: 24014

Re: Acquire the working area of a dialog

Marcus posted this back in 2006. Slightly different than what you have come up with. https://www.mjtnet.com/forum/viewtopic.php?f=3&t=3124 Also, though I appeciated Marcus' excellent getclient.dll and used it for a couple of years, I eventually started using a short old style dialog to acquire the t...
by JRL
Tue May 16, 2023 5:38 pm
Forum: Enhancement Suggestions
Topic: OnEvent Time/Date Release (Implemented 03/14/2014)
Replies: 3
Views: 11645

Re: OnEvent Time/Date Release

From: https://help.mjtnet.com/article/222-version-history Version 14.2 03/11/2014 - Added: Ability to cancel OnEvent within event sub (specify full line minus subroutine name) Enhancement suggestions will work. This one only took a month to implement. Took me 9.2 years to say thank you. Thank you Ol...
by JRL
Thu Apr 20, 2023 6:36 pm
Forum: Technical / Scripting
Topic: Parameter object is improperly defined?
Replies: 2
Views: 3302

Re: Parameter object is improperly defined?

Assuming your connection string is correct I don't notice any glaring flaws. Databases are finicky though. One thing I know that might be required are apostrophes or possibly quotes around the values. VALUES ('%uid%', '%plant%', '%machine%', '%timestamp%', '%isonline%', '%transfers%', '%runtime%', '...
by JRL
Thu Apr 20, 2023 3:43 pm
Forum: Technical / Scripting
Topic: Windows Defender Hates My Executables
Replies: 4
Views: 3563

Windows Defender Hates My Executables

Work computer did an automated Windows update last night. Now Macro Scheduler executables fail with a message that states " You do not have permission to access 'FilePath\FileName.exe'. Contact your network administrator to request access. " This message is incorrect. To begin with the network is no...
by JRL
Wed Mar 22, 2023 3:30 pm
Forum: The Water Cooler
Topic: Pet Peeves
Replies: 2
Views: 7232

Pet Peeves

Everybody has them (PP). Something that is insignificant yet makes you cringe. Like the F150 I seen (PP) parked sideways in front of an EV charging station. A deliberate ICING event using a known gas hog. Or the misuse of "there" - a position vs "their" - belonging to them vs "they're" - a contracti...
Sign up to our newsletter for free automation tips, tricks & discounts