Search found 3451 matches

by JRL
Wed Mar 13, 2024 9:45 pm
Forum: Technical / Scripting
Topic: Cannot Show Dialog DIALOG1. Not Found
Replies: 2
Views: 63

Re: Cannot Show Dialog DIALOG1. Not Found

I'd guess you're dialog is stuck in memory and can't get out. Exit Macro Scheduler and restart it will probably resolve your issue.
by JRL
Thu Feb 22, 2024 7:07 pm
Forum: Technical / Scripting
Topic: Setting Screen Resolution
Replies: 4
Views: 407

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: 16
Views: 9394

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

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

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

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

( ? ) 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: 614

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

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

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

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

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

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

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

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