Search found 3451 matches

by JRL
Mon Feb 13, 2023 5:28 pm
Forum: Technical / Scripting
Topic: Capturing output from program in console
Replies: 4
Views: 3475

Re: Capturing output from program in console

Open a command prompt. Select "Properties" from the menu when you right click the command icon in the upper left corner. Make sure "Use legacy console..." is unchecked. Above that, make sure "Enable Ctrl Key Shortcuts" is checked. Close save and close any command windows you have open. From now forw...
by JRL
Thu Nov 03, 2022 9:07 pm
Forum: Scripts and Tips
Topic: Is Process Running Elevated?
Replies: 1
Views: 10677

Is Process Running Elevated?

For 30 years I was either the lone IT guy or the lead IT guy. In either case User Account Control or logging in to my desktop as Administrator or other administrative decisions were mine. Those days are gone. Probably a good thing. I may have been careless. But I did get away with it for 30 years. T...
by JRL
Tue Nov 01, 2022 9:37 pm
Forum: The Water Cooler
Topic: The Unofficial Macro Scheduler Puzzler #14
Replies: 5
Views: 14047

Re: The Unofficial Macro Scheduler Puzzler #14

I believe prime number discovery was an excuse to have a reason to learn how to decipher square roots. Or was that square root deciphering was a reason to have a book full of prime numbers? Here we are at the end of October or more precisely the start of November. Its time to announce the "winner" ...
by JRL
Thu Oct 27, 2022 9:12 pm
Forum: Scripts and Tips
Topic: Post an image on the forum via script
Replies: 1
Views: 8636

Post an image on the forum via script

So you've got a problem and you want to be able to post an image on the forum to help others diagnose your issue. But you can't. What you can do is post a link to an image that you place on some other web page. And most images currently posted on the forum seem to work as well as the one above. They...
by JRL
Fri Oct 14, 2022 9:26 pm
Forum: The Water Cooler
Topic: The Unofficial Macro Scheduler Puzzler #14
Replies: 5
Views: 14047

Re: The Unofficial Macro Scheduler Puzzler #14

@hagchr, I've not yet examined your latest offering. Hopefully get to it before Monday. @The World Here is what I started with. It is as I was taught when these were done longhand using paper and pencil. I believe prime number discovery was an excuse to have a reason to learn how to decipher square ...
by JRL
Wed Oct 12, 2022 2:35 pm
Forum: The Water Cooler
Topic: The Unofficial Macro Scheduler Puzzler #14
Replies: 5
Views: 14047

Re: The Unofficial Macro Scheduler Puzzler #14

hagchr, Thanks for playing. I like your concept. The only downside I see is that the request was for the first 10,000 prime numbers and you instead used the ten thousandth prime number as your limiter. Not difficult when the value is provided to you but when the request comes in for the first 1,000,...
by JRL
Fri Oct 07, 2022 9:51 pm
Forum: The Water Cooler
Topic: The Unofficial Macro Scheduler Puzzler #14
Replies: 5
Views: 14047

The Unofficial Macro Scheduler Puzzler #14

I just did a forum search and found zero references to this topic. It is an otherwise very well covered subject that I've personally never had much interest in. Almost everybody has heard of it and almost no one knows what its good for. I'm talking about prime numbers. For puzzler #14 we wonder how ...
by JRL
Thu Oct 06, 2022 7:51 pm
Forum: Technical / Scripting
Topic: Strange Error Message
Replies: 8
Views: 7585

Re: Strange Error Message

That line has been in the default dialog definition since v12 was introduced. Here's a 12 year old example. https://www.mjtnet.com/forum/viewtopic.php?f=9&t=6187&p=27423&hilit=HelpContext#p27423 Does the HelpContext line accomplish anything? Until now, never heard of it causing any issues. Unless I ...
by JRL
Wed Sep 21, 2022 2:19 pm
Forum: Technical / Scripting
Topic: Image Recording with Mouse Click
Replies: 7
Views: 5798

Re: Image Recording with Mouse Click

Sorry I don't have time to write this for you but I think you're on the right track. What I would do is: - Invoke the semi-transparent dialog and click on the dialog. - Capture the click location and directly after move the mouse to a safe location. - Directly after that close the semi-transparent d...
by JRL
Wed Sep 07, 2022 7:39 pm
Forum: General Discussion
Topic: Installer Interaction with Macro
Replies: 4
Views: 8513

Re: Installer Interaction with Macro

One thing not mentioned in the "Controlling Apps that Run as Admin" blog is that any program started by a program that is elevated is also elevated. What I've done in cases such as yours is to create my Macro Scheduler executable such that it requires running as admin so I don't forget that it needs...
by JRL
Wed Sep 07, 2022 7:17 pm
Forum: General Discussion
Topic: Create and show multiple dialogs
Replies: 6
Views: 9649

Re: Create and show multiple dialogs

Glad the previous code sample is working for you. For a different perspective. Because I usually use modal dialogs I use the MoveWindow> function to preset dialog positions. Don't need a loop after the dialog calls. Changed the x position for Dialog3 as I only have one monitor. Dialog>Dialog1 object...
by JRL
Thu Sep 01, 2022 3:32 pm
Forum: Scripts and Tips
Topic: Command Prompt Cut and Paste
Replies: 5
Views: 11039

Re: Command Prompt Cut and Paste

I'm wondering if mine work because of a corporate initiated group policy. I could ask but I've never received a response to any email where I've requested info about group policy implementation.
by JRL
Thu Sep 01, 2022 11:35 am
Forum: Scripts and Tips
Topic: Command Prompt Cut and Paste
Replies: 5
Views: 11039

Re: Command Prompt Cut and Paste

Yes, I know about the setting. I have 4 Win 10 computers at my desk at work. All at the same update level, none have that checkbox checked. three of them can cut and paste, one cannot.

Is the checkbox checked on your's?
by JRL
Wed Aug 31, 2022 8:04 pm
Forum: Scripts and Tips
Topic: Command Prompt Cut and Paste
Replies: 5
Views: 11039

Re: Command Prompt Cut and Paste

Apparently there is more to it than the OS version. I'm currently using a different computer that I thought was fully updated and is in fact the same Win 10 version = 21H2 build 19044.1889 when I view the data under "About Your PC". However, I can't cut / paste using "Ctrl + c / v" from a Command Pr...
by JRL
Mon Aug 29, 2022 6:46 pm
Forum: Scripts and Tips
Topic: Command Prompt Cut and Paste
Replies: 5
Views: 11039

Command Prompt Cut and Paste

Not sure when this newfangled Microsoft magic started. I'm forever highlighting text in a Command Prompt window and instead of pressing "Enter" to place it in the clipboard, I accidentally press "Ctrl + c". This of course fails miserably... until today. Today, quite by accident, I discovered that Co...
Sign up to our newsletter for free automation tips, tricks & discounts