Prompt for URL variable, then go to URL+variable

Discussion, questions and support.
Post Reply
jvroom
Posts: 28
Joined: Apr 30th, ’21, 12:37

Post by jvroom » Nov 3rd, ’21, 14:05

Hi All,

I'm seeking assistance with the following...

Create a start menu item that when clicked or triggered by keyboard shortcut will...

Prompt me for a variable, say "DocNum" (always a 5 digit number) that will be appended to the end of a fixed/known partial URL
Go to Firefox Browser (Typically already open)
Go to/or open a New Tab
Enter the predefined partial URL in the address box (say "https://partialURL"
Append the above "DocNum" variable to the end of the PartialURL
Go to the complete (concatenated) URL (https://partialURL/DocNum

Thanks for any assistance you can offer.
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Nov 3rd, ’21, 20:19

This should give you the idea (Type: Command).

Code: Select all

InputBox, DocNum, Input, Enter 5 digit number, , 200, 120
Run, https://partialURL/%DocNum%
Post Reply