Search found 3220 matches

by JRL
Tue Aug 13, 2019 12:48 pm
Forum: Technical / Scripting
Topic: Running an executable, Screen Resolution for Multiple Monitors
Replies: 12
Views: 164

Re: Running an executable, Screen Resolution for Multiple Monitors

Hello Dorian, Assuming you have a windows 10 computer, what do you see if you right click the desktop and select "Display Settings" from the menu? You should see representations of both monitors (1 and 2) and if you scroll down you will find what Windows reports as the resolution of the selected mon...
by JRL
Mon Aug 12, 2019 6:37 pm
Forum: Technical / Scripting
Topic: Running an executable, Screen Resolution for Multiple Monitors
Replies: 12
Views: 164

Re: Running an executable, Screen Resolution for Multiple Monitors

Well done jbas! I watched this thread with interest not commenting because I don't like the solutions I've used for multiple monitor resolution acquisition. This powershell solution is spectacular! I did make a small alteration for timing. I removed your Wait>10 and added an RP_Wait>1 to cause Macro...
by JRL
Fri Jul 26, 2019 3:20 pm
Forum: Technical / Scripting
Topic: FTP Mode -why no automatic option
Replies: 2
Views: 73

Re: FTP Mode -why no automatic option

Unless you are moving Windows text files to be viewed on a UNIX machine, just use binary. Binary does not modify the file, ASCII might.

Google "FTP binary vs ascii" for millions of explanations.
by JRL
Fri Jul 05, 2019 7:59 pm
Forum: Technical / Scripting
Topic: Rename File Trouble
Replies: 10
Views: 254

Re: Rename File Trouble

Sorry. I fixed the original posted code. The left bracket for the closing "code" html got deleted. The code I posted also partially uses VBScript to convert each character in the string to its corresponding ASCII decimal value. The character """ (double quote) does not pass well to VBScript without ...
by JRL
Wed Jul 03, 2019 9:46 pm
Forum: Technical / Scripting
Topic: Rename File Trouble
Replies: 10
Views: 254

Re: Rename File Trouble

Here is a sample of one way to filter out unwanted characters. This example removes tab and Carriage Return Line Feed from the string. Edit: Replaced a missing left bracket at the end of the "coded" script below. //Sample string with most typeable special characters Let>vStr=~` !1@2+#3$4%crlf%5^6&7*...
by JRL
Mon Jul 01, 2019 8:16 pm
Forum: Technical / Scripting
Topic: Functionality Like Python Dictionary
Replies: 3
Views: 151

Re: Functionality Like Python Dictionary

Wow that's interesting! Macro Scheduler doesn't have that but it does have python code execution capabilities. Have you tried that? SEE THIS Otherwise, can you show an example of what you're doing with IF> statements and maybe there are other ways to accomplish what you want to do. For example, some...
by JRL
Mon Jul 01, 2019 2:23 pm
Forum: Technical / Scripting
Topic: Writing Variable to Textbox in External Program
Replies: 1
Views: 140

Re: Writing Variable to Textbox in External Program

however, it appears that the variable name is copied instead. Thanks! Which means the variable is not assigned a value which means the Separate function did not Separate anything which could mean there is no value for variable "filename" or could mean there were no spaces(?) in the value of variabl...
by JRL
Fri Jun 28, 2019 1:24 pm
Forum: General Discussion
Topic: Onevent or Waitkeyboard
Replies: 4
Views: 294

Re: Onevent or Waitkeyboard

This code for WaitKeyDown. Technically, since WaitKeyDown is a Macro Scheduler function and what I provided is an OnEvent function with a key_down parameter, the code is not for WaitKeyDown. In my testing, using a mouse click, the OnEvent worked reliably where the WaitKeyDown function did not. In a...
by JRL
Thu Jun 27, 2019 4:13 pm
Forum: Technical / Scripting
Topic: Dialog unable to read from file
Replies: 1
Views: 105

Re: Dialog unable to read from file

Without seeing your code I can't even speculate why you can't read the file data. Since Writeln> closes the file immediately after it finishes writing the data, I doubt the file is in use. If the two dialogs are in the same script, there is no need to write and read to a file. Just set a variable to...
by JRL
Thu Jun 27, 2019 3:56 pm
Forum: Technical / Scripting
Topic: ReadLn -notepad
Replies: 2
Views: 130

Re: ReadLn -notepad

Assuming the two files have the same number of lines something like this should work. Let>vPath1=C:\Location\Of\URL\Files Let>vPath2=C:\Location\Of\Number\Files Let>vNewFile=C:\Name\For\New\Text\File\NewFile.txt ReadFile>%vPath1%\url.txt,vURL ReadFile>%vPath2%\url.txt,vNumber Separate>vURL,crlf,vURL...
by JRL
Thu Jun 27, 2019 3:21 pm
Forum: Technical / Scripting
Topic: Copy last three characters of a variable to a new variable
Replies: 5
Views: 196

Re: Copy last three characters of a variable to a new variable

You probably have previous programming experience which will be a benefit for logic but a deficit for syntax. You need to study posted scripts and get a feel for available commands and Macro Scheduler syntax which does not allow multiple functions on the same line. GetClipBoard>filename Length>FileN...
by JRL
Thu Jun 27, 2019 3:13 pm
Forum: General Discussion
Topic: Onevent or Waitkeyboard
Replies: 4
Views: 294

Re: Onevent or Waitkeyboard

OnEvent>key_down,VK1,0,srtStart Label>lblStart Wait>0.01 Goto>lblStart SRT>srtStart Dialog>Dialog1 object Dialog1: TForm Left = 317 Top = 198 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'Enter your password' ClientHeight = 113 ClientWidth = 340 Color = clBtnFace Font.Charset = DEFAULT...
by JRL
Thu Jun 27, 2019 3:00 pm
Forum: Beginners
Topic: ENTRY PASSWORD IN DIALOG
Replies: 1
Views: 200

Re: ENTRY PASSWORD IN DIALOG

Dialog>Dialog1 object Dialog1: TForm Left = 317 Top = 198 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'Enter your password' ClientHeight = 113 ClientWidth = 340 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Fon...
by JRL
Fri Jun 21, 2019 12:31 pm
Forum: Technical / Scripting
Topic: Remove included script
Replies: 10
Views: 281

Re: Remove included script

Thank you for the kind words. I will get you that book as soon as I find it. While I'm looking you could mail me your "Mastering Regex in Seven Days" book. I'll mail it back to you when I've finished reading it. If it works, I'll mail it back to you with a couple of cases of Pepsi©.