Search found 3483 matches

by JRL
Mon Feb 10, 2025 4:18 pm
Forum: General Discussion
Topic: The Forum Web Page has Changed
Replies: 3
Views: 695

Re: The Forum Web Page has Changed

Whew! Thank you. I can feel semi-anonymous again.
by JRL
Mon Feb 10, 2025 2:42 pm
Forum: General Discussion
Topic: The Forum Web Page has Changed
Replies: 3
Views: 695

The Forum Web Page has Changed

A month or so ago I first noticed the upper choices of the forum page had changed. Apparently today is the first time I've actually logged onto the page to post anything. I don't see a place to log out of the forum. Can I assume my login will eventually time out if enough time of inactivity elapses?...
by JRL
Mon Feb 10, 2025 2:33 pm
Forum: General Discussion
Topic: Macro Scheduler 15.0.25 released
Replies: 18
Views: 14181

Re: Macro Scheduler 15.0.25 released

Microsoft won't let you write to the root of the C: drive any longer. You used to be able to but its been a long time since it was possible. You can still create a folder there but you can't put a txt file there. My personal favorite new place is to create a folder under C:\ProgramData and save thin...
by JRL
Tue Nov 12, 2024 9:19 pm
Forum: Technical / Scripting
Topic: Detect Date Format & Change If Required?
Replies: 5
Views: 6025

Re: Detect Date Format & Change If Required?

Do you have any control over the web page (parsed html)? If yes, I would address it there. If no, I think you're left guessing. Looks to me like Dorian's over-thinking has given you a better than 50/50 shot at getting the correct month and day. For identifying the year you might try VBScript to put ...
by JRL
Fri Nov 08, 2024 5:23 pm
Forum: Technical / Scripting
Topic: Check if String matches one of multiple options?
Replies: 3
Views: 3963

Re: Check if String matches one of multiple options?

I would put the list to a variable then Separate> the list using your string parsed result variable. Also if there is a chance for string case to fluctuate, make sure to assign case to avoid errors. LabelToVar>LanguageCode,vLanguageCodeList UpperCase>vLanguageCodeList,vLanguageCodeList Let>dcLANGMat...
by JRL
Thu Oct 31, 2024 6:02 pm
Forum: Technical / Scripting
Topic: Difference In File Size Calculations
Replies: 3
Views: 4155

Re: Difference In File Size Calculations

Your Let>strFiles=%Files1%+%Files2%+%Files3% line is adding a plus sign to the text. try rewriting it to:

Code: Select all

Let>strFiles=%Files1%;%Files2%;%Files3%
by JRL
Fri Oct 25, 2024 2:01 pm
Forum: Technical / Scripting
Topic: Get Total File Size of All Files In Folder
Replies: 1
Views: 10584

Re: Get Total File Size of All Files In Folder

Code: Select all

VBSTART
  Function GetFolderSize(Path)
     Set objFSO = CreateObject("Scripting.FileSystemObject")
     Set objFolder = objFSO.GetFolder(Path)
     GetFolderSize = objFolder.Size
  End Function
VBEND
VBEval>GetFolderSize("c:\temp"),fSize

MDL>fSize
Posted HERE by RNIB back in November 2017
by JRL
Thu Oct 24, 2024 2:28 pm
Forum: The Water Cooler
Topic: MS Help
Replies: 7
Views: 21289

Re: MS Help

I feel like I'm the most annoying customer/user you have come by... Wait!!! I thought I was the most annoying customer / user / forumite / name your poison... @ Pepsihog There used to be and likely still are freeware programs out there for downloading entire websites. I don't plan to do this myself...
by JRL
Mon Oct 21, 2024 3:59 pm
Forum: Technical / Scripting
Topic: Chromedriver disables Trusted Platform Module (TPM)
Replies: 6
Views: 7063

Re: Chromedriver disables Trusted Platform Module (TPM)

I know nothing about this device. May not work but maybe there's something similar out here that will work. Just a thought. https://www.amazon.com/Pankia-Physical-Keyboard-Simulated-Assistance/dp/B0CPPHTBNX/ref=sr_1_1?crid=YJ8G3HELCIMH&dib=eyJ2IjoiMSJ9.SgNK8umnMYr3t15HqQZnCowr19k75Ds_6Wen0rUbqO9Dloh...
by JRL
Wed Oct 16, 2024 3:59 pm
Forum: Technical / Scripting
Topic: Dialog Designer Help
Replies: 8
Views: 10787

Re: Dialog Designer Help

For future reference. Setting ItemIndex to -1 displays a radio group with nothing preselected. Once a selection is made, there is not a way to return to no selection unless you create a way to return to no selection. For example a button could be made to reset ItemIndex to -1.
by JRL
Wed Oct 16, 2024 3:28 pm
Forum: Technical / Scripting
Topic: Dialog Designer Help
Replies: 8
Views: 10787

Re: Dialog Designer Help

just need to sort out preventing multiple selections now. That's what radio boxes are for. Dialog>Dialog1 object Dialog1: TForm Left = 238 Top = 95 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'Select Option' ClientHeight = 213 ClientWidth = 381 Color = clBtnFace Font.Charset = DEFAULT...
by JRL
Mon Sep 30, 2024 3:42 pm
Forum: Enhancement Suggestions
Topic: PDF Display in a Dialog
Replies: 9
Views: 21552

Re: PDF Display in a Dialog

Sorry. Been off sick for the last couple of weeks and now slowly catching up. This isn't going to work for me. The new TMSAcroPDF viewer control requires Adobe Acrobat Viewer to be installed. If I was willing to use PDF viewing software I would have simply used Microsoft's SetParent function with "X...
by JRL
Thu Sep 05, 2024 4:54 pm
Forum: Beginners
Topic: Pause and Resume a Macro?
Replies: 2
Views: 15855

Re: Pause and Resume a Macro?

I'd use an OnEvent>key_down that goes to a subroutine that sets a flag variable. When the script is at a point where it can stop, test for the value of the flag variable. If the flag variable is set to pause, go to a modal message that says close this message to continue. Also reset the flag variabl...
by JRL
Thu Sep 05, 2024 2:26 pm
Forum: Beginners
Topic: Cannot Get WaitWindowOpen to work
Replies: 3
Views: 6002

Re: Cannot Get WaitWindowOpen to work

:D
by JRL
Wed Sep 04, 2024 3:30 pm
Forum: Beginners
Topic: Cannot Get WaitWindowOpen to work
Replies: 3
Views: 6002

Re: Cannot Get WaitWindowOpen to work

Here is a possible replacement for the built in WaitWindowOpen> function. Depends on whether or not your window shows up using GetWindowList>. If you want to wait a long time or forever, enter a big number for the timeout. Modify as needed. //GoSub>srtWaitWindowOpen,Criteria (Case Sensitive),Timeout...
Sign up to our newsletter for free automation tips, tricks & discounts