Search found 3450 matches

by JRL
Thu Feb 22, 2024 7:07 pm
Forum: Technical / Scripting
Topic: Setting Screen Resolution
Replies: 4
Views: 167

Re: Setting Screen Resolution

I have a similar issue because I use an 8 port KVM. If the monitor is off or the KVM isn't pointing at a PC as it reboots (think automatic updates) I also drop back to 1990's resolution. Its really just an irritation, None of my scripts will fail, but if anyone has a solution I'd like to hear it.
by JRL
Thu Feb 22, 2024 6:51 pm
Forum: General Discussion
Topic: Scrollable menu/dialog
Replies: 13
Views: 8561

Re: Scrollable menu/dialog

I can't help thinking I'm missing something. I'm trying to find a way of having a fixed size dialog with a scrollable "panel" which let me have a somewhat long list of options. The HTMLViewer allows for scrollable contents but it won't let me place anything inside that can act as buttons/boxes/lists...
by JRL
Fri Feb 09, 2024 7:22 pm
Forum: Technical / Scripting
Topic: Windows Defender Hates My Executables
Replies: 4
Views: 3025

Re: Windows Defender Hates My Executables

Thank you for your concern. I'm sure it could change in the blink of an eye but not currently having serious issues. There are some new rules I've discovered. For example, I used to have two scripts for each program. The work script and the "setup" script. I had everyone run the "setup" script. The ...
by JRL
Thu Feb 08, 2024 9:54 pm
Forum: Technical / Scripting
Topic: VirtualKey for Gamepad/Joystick input
Replies: 10
Views: 5188

Re: VirtualKey for Gamepad/Joystick input

Hi Grovkillen,
Wondering if the gamepad is a serial device. Are you able to use it as input for standard windows software? For example, does it have any effect in notepad? Does it show up under Device Manager? If yes, what?
by JRL
Tue Feb 06, 2024 9:38 pm
Forum: General Discussion
Topic: Issue with Excel macro
Replies: 2
Views: 194

Re: Issue with Excel macro

Windows security stops all script processing while that security window displays. Nothing running on that computer will be able to dismiss the window. The solution I found requires a second computer and whatever vnc software you like. I like TightVNC. If you don't know VNC it allows remote access of...
by JRL
Mon Feb 05, 2024 8:13 pm
Forum: The Water Cooler
Topic: ( ? ) Artificial Intelligence (AI)
Replies: 0
Views: 351

( ? ) Artificial Intelligence (AI)

:?: Has anyone succeeded in accomplishing anything useful using one of the popular AI programs? For example, has anyone had AI create or even help create a useful and functioning Macro Scheduler script? Several coworkers of mine tried to use ChatGPT to create a batch file a few months back but faile...
by JRL
Thu Feb 01, 2024 6:23 pm
Forum: General Discussion
Topic: SCREENCAPTURE and number file progressive
Replies: 5
Views: 359

Re: SCREENCAPTURE and number file progressive

Perhaps a little VB?

Code: Select all

VBSTART
VBEND
Let>cnc=1
Let>cnr=2
VBEval>right("000" & "%cnr%",3) & "_" & right("000" & "%cnc%",3),vNamePart
ScreenCapture>20,20,3200,1350,Z:\LAVORI\MAPPE\HALTA\ZONA_%vNamePart%.bmp
by JRL
Thu Jan 18, 2024 10:46 pm
Forum: General Discussion
Topic: Unable to Search Website
Replies: 4
Views: 827

Re: Unable to Search Website

I get the same message if I use the "Search" on the upper right of the forum page. I've never used that before. Never even noticed it was there. The search Grovkillen is referencing can be found under "Quick Links" just above "Board Index" in the blue bar near the top of each page. That's where I've...
by JRL
Thu Oct 19, 2023 5:31 pm
Forum: Scripts and Tips
Topic: Mouse Movement Detect via Custom OnEvent>
Replies: 1
Views: 10889

Mouse Movement Detect via Custom OnEvent>

Script to detect mouse movement via a custom OnEvent> allows the script to know when the mouse cursor is moving and when the mouse cursor is stopped. The three OnEvent> parameters needed for a custom event handler are the "event parameter" which I have named "srtTestForMouseMovement". The "extra par...
by JRL
Fri Oct 06, 2023 4:03 pm
Forum: Scripts and Tips
Topic: Exit editor from within code
Replies: 2
Views: 34158

Re: Exit editor from within code

When I tried this it not only closed the editor it closed Macro Scheduler. Perhaps you are running and editing your scripts from Windows File Explorer? Not that it's a bad thing. A method to close Macro Scheduler from a running script has been requested before. https://www.mjtnet.com/forum/viewtopic...
by JRL
Wed Sep 27, 2023 1:34 pm
Forum: Technical / Scripting
Topic: Improve Task Manager script (no image recognition, etc.)
Replies: 18
Views: 47537

Re: Improve Task Manager script (no image recognition, etc.)

The function requires pointers to a memory location which is the first indicator that it will not work in Macro Scheduler.
[out] ppsmemCounters

A pointer to the PROCESS_MEMORY_COUNTERS or PROCESS_MEMORY_COUNTERS_EX structure that receives information about the memory usage of the process.
by JRL
Wed Sep 27, 2023 1:20 pm
Forum: Technical / Scripting
Topic: Memory leak when using PyExec
Replies: 7
Views: 19768

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: 13872

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: 7718

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: 19264

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...
Sign up to our newsletter for free automation tips, tricks & discounts