Search found 3451 matches

by JRL
Mon Apr 11, 2022 11:00 am
Forum: Technical / Scripting
Topic: ftp issue
Replies: 3
Views: 2501

Re: ftp issue

Then it just hangs up Is that more or less what happens when using your original code? From the info you sent it looks like you got logged in ok. you changed directories ok. It fails the moment the download begins. For giggles see if Binary works. I don't see an image in your original post but I'm ...
by JRL
Fri Apr 01, 2022 6:24 pm
Forum: Technical / Scripting
Topic: ftp issue
Replies: 3
Views: 2501

Re: ftp issue

A little longer than yours. Using DOS rather than Macro Scheduler functions for the FTP. I use this twice a day every day and I've never had an issue. DeleteFile>%temp_dir%DownloadFTP.bat DeleteFile>%temp_Dir%NewFTP.txt Let>vSite=ftp.edocfile.com Let>vFTPPath=/kpassaur/keys/ Let>vFile=keys.txt Let>v...
by JRL
Mon Mar 07, 2022 1:54 pm
Forum: Technical / Scripting
Topic: Mouse clicking start button not working, solution: run macro as admin
Replies: 8
Views: 3831

Re: Mouse clicking start button not working, works with debug step

Can you use the tab key in the application to manually move from button to button? If you land on the button after pressing tab does pressing "Enter" then actuate the button? If these answers are yes, then perhaps a script using keyboard functions might work. SetFocus>WindowName Press Tab /* Specifi...
by JRL
Fri Mar 04, 2022 2:53 pm
Forum: Technical / Scripting
Topic: Mouse clicking start button not working, solution: run macro as admin
Replies: 8
Views: 3831

Re: Mouse clicking start button not working, works with debug step

Why does the Lclick I perform with debug step differ from running the whole code (even if the code would have exactly same lines, nothing more nothing less in it)? Timing. My guess is the you're automated software doesn't have enough time to recognize that the mouse has arrived before you make the ...
by JRL
Wed Feb 16, 2022 9:46 pm
Forum: Technical / Scripting
Topic: Find Window With No Title and Variable Class Name
Replies: 1
Views: 1720

Re: Find Window With No Title and Variable Class Name

Try this. I took it from my " Enumerate All Windows " post. You would set the portion of the class name you want to discover to the "vPartClass" variable (Line one). As written the vPartClass variable value will be case sensitive. If found the "DetectPortion" Subroutine will display the Window Handl...
by JRL
Tue Jan 11, 2022 2:06 pm
Forum: Technical / Scripting
Topic: My javascript script not working
Replies: 4
Views: 2830

Re: My javascript script not working

I have no idea how to make your java script run within Macro Scheduler. I'm also unsure what all you are looking to accomplish but hex and octal and decimal and ansi conversion examples are all over the internet in vbscript. Vbscript, of course, runs natively in Macro Scheduler I've had this one for...
by JRL
Mon Dec 27, 2021 6:17 pm
Forum: The Water Cooler
Topic: A little word game for the holidays
Replies: 1
Views: 9822

A little word game for the holidays

Fire this script up and when the dialog is finished loading you can start to play. The timer will start when you type your first character guess and will finish when you enter a correct answer into the solution edit field. The idea is to enter one character at a time and then try to guess the hidden...
by JRL
Mon Dec 20, 2021 2:01 pm
Forum: Enhancement Suggestions
Topic: Arithmetic Operators as variables
Replies: 5
Views: 10729

Re: Arithmetic Operators as variables

Nice solution! I like it!
by JRL
Wed Dec 15, 2021 9:20 pm
Forum: Enhancement Suggestions
Topic: Arithmetic Operators as variables
Replies: 5
Views: 10729

Re: Arithmetic Operators as variables

This works for me.

Code: Select all

Let>OPERATOR=+
Let>TERM_1=20
Let>TERM_2=12
LabelToVar>Full_Function,vCode

IncludeFromVar>vCode
MDL>res


Let>OPERATOR=-
Let>TERM_1=44
Let>TERM_2=19
LabelToVar>Full_Function,vCode

IncludeFromVar>vCode
MDL>res

/*
Full_Function:
  Let>RES={(%Term_1% %OPERATOR% %Term_2%)}
*/
by JRL
Mon Dec 13, 2021 1:32 pm
Forum: Technical / Scripting
Topic: A component named Dialog1 already exists [Resolved]
Replies: 2
Views: 2020

Re: A component named Dialog1 already exists

Make sure your Dialog1 has a name (Caption = 'This is my Dialog')

Put these three lines at the top of your script:

Code: Select all

IfWindowOpen>This is my Dialog*
  Exit>0
EndIf
by JRL
Wed Dec 01, 2021 10:43 pm
Forum: Technical / Scripting
Topic: Folder path verification
Replies: 4
Views: 3962

Re: Folder path verification

PepsiHog wrote:Also, I did not know you knew vb, but I do now. Source noted.
muy pequeño
Also, about as much Spanish as I know.
by JRL
Tue Nov 30, 2021 4:29 pm
Forum: Technical / Scripting
Topic: Folder path verification
Replies: 4
Views: 3962

Re: Folder path verification

I could not make your found routine work so I wrote a new one. returns "1" if the folder exists and "0" if it does not I have a question for you: Why are you not using IfDirExists> which is native? VBSTART function ShowParentFolderName(filespec) set fso = CreateObject("Scripting.FileSystemObject") f...
by JRL
Fri Oct 15, 2021 5:35 pm
Forum: Technical / Scripting
Topic: Press Menukey In Citrix Environment
Replies: 5
Views: 3110

Re: Press Menukey In Citrix Environment

My first thought was I don't have Citrix to test with". So I brought up Remote Desktop and tried that. The menu key works fine if pressed manually but the Macro Scheduler function Press MenuKey does not work with Remote Desktop either. What did work for me in RDP was to right click on the remote app...
by JRL
Mon Oct 11, 2021 12:27 pm
Forum: Technical / Scripting
Topic: Edit box Focus
Replies: 3
Views: 3021

Re: Edit box Focus

Use SetDialogObjectFocus> Dialog>Dialog1 object Dialog1: TForm Left = 551 Top = 216 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientHeight = 211 ClientWidth = 476 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = '...
by JRL
Fri Oct 08, 2021 4:01 pm
Forum: General Discussion
Topic: Title Case
Replies: 6
Views: 18195

Re: Title Case

Grovkillen, I know nothing about regex so I can't help you. But I do want to thank you. Back in 2013 when this thread started I was working on an "improvement" to provide a way to allow selected words to remain lower case and thus get closer to a true "Title Case" script. I did not get it working an...
cron
Sign up to our newsletter for free automation tips, tricks & discounts