Search found 3451 matches
- Mon Jul 31, 2023 2:42 pm
- Forum: Technical / Scripting
- Topic: Compiled Script Logging?
- Replies: 11
- Views: 19630
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...
- Fri Jul 14, 2023 2:54 pm
- Forum: Technical / Scripting
- Topic: Grrr I know this is pain but...
- Replies: 6
- Views: 10279
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...
- Wed Jul 05, 2023 3:40 pm
- Forum: Technical / Scripting
- Topic: To break a single statement into multiple lines
- Replies: 4
- Views: 8272
Re: To break a single statement into multiple lines
Could one of you post an example?
- Wed Jun 07, 2023 4:15 pm
- Forum: Enhancement Suggestions
- Topic: [added 15.0.23] Run command, capture STDOUT
- Replies: 29
- Views: 72803
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...
- 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: 10922
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....
- 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: 12735
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...
- Thu May 25, 2023 2:32 am
- Forum: Technical / Scripting
- Topic: Acquire the working area of a dialog
- Replies: 12
- Views: 23948
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.
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.
- Wed May 24, 2023 4:12 pm
- Forum: Technical / Scripting
- Topic: Acquire the working area of a dialog
- Replies: 12
- Views: 23948
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...
- Tue May 16, 2023 5:38 pm
- Forum: Enhancement Suggestions
- Topic: OnEvent Time/Date Release (Implemented 03/14/2014)
- Replies: 3
- Views: 11575
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...
- Thu Apr 20, 2023 6:36 pm
- Forum: Technical / Scripting
- Topic: Parameter object is improperly defined?
- Replies: 2
- Views: 3288
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%', '...
- Thu Apr 20, 2023 3:43 pm
- Forum: Technical / Scripting
- Topic: Windows Defender Hates My Executables
- Replies: 4
- Views: 3303
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...
- Wed Mar 22, 2023 3:30 pm
- Forum: The Water Cooler
- Topic: Pet Peeves
- Replies: 2
- Views: 7153
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...
- Fri Mar 17, 2023 6:05 pm
- Forum: Beginners
- Topic: Yesterday date
- Replies: 6
- Views: 7662
Re: Yesterday date
I don't want to change my regional date setting to test but as I recall GetDate> presents in the format specified in regional settings. For Add> and Sub> to work with a date the date has to be in month/day/year format. No other format will work. You can use 1 digit month and day as well as 2 digit y...
- Fri Mar 17, 2023 1:54 pm
- Forum: Beginners
- Topic: Yesterday date
- Replies: 6
- Views: 7662
Re: Yesterday date
This should work in version 4 onward. //Pure Macro Scheduler Month>mm Day>dd Year>yyyy Let>today=%mm%/%dd%/%yyyy% Sub>today,1 //Variable today is now yesterday's date. MDL>today //Or VBScript VBStart VBEnd VBEval>now-1,yesterday MDL>yesterday //The result is date and time //To have only the date Sep...
- Tue Feb 21, 2023 8:03 pm
- Forum: Technical / Scripting
- Topic: Text File Locking with MS 15? (Resolved!!)
- Replies: 5
- Views: 2717
Re: Text File Locking with MS 15?
Can someone offer a suggestion as to what else I can test or look at? Windows Defender??? I have not kept official data but I have executables in version 15 that Defender has not only stopped/prevented from running but deleted the compiled file. I don't recall that ever happening with any previous ...