Hi Guys, I'm super beginner and not familiar with code much. Here's what I'm trying to do and I'm confident it's a super simple question for most. I want to Press F12 and for it to take my clipboard content and search my gmail.
I know I can type this for example: ExecuteFile>https://mail.google.com/mail/u/0/?ogbl#search/
But after that code I need my search term that I would get from my clipboard. Like this below, but the code is definitely wrong:
ExecuteFile>https://mail.google.com/mail/u/0/?ogbl#search/--my clipboard content would go right after the forward slash here
I know I can use a getclipboard function, but how do I combine the execute file and get clip board functions together?
Clipboard and Execute File
Moderators: JRL, Dorian (MJT support)
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
Re: Clipboard and Execute File
Using Variables and When to use Percent Symbols (%variable%) will help you understand this.
To answer the specific question you're looking at something like this (you may need to edit the exact position I've placed the variable) :
Here's a clipboard/variable example to help you understand (in case you didn't visit the above link) :
To answer the specific question you're looking at something like this (you may need to edit the exact position I've placed the variable) :
Code: Select all
GetClipBoard>TheClipboard
ExecuteFile>https://mail.google.com/mail/u/0/?ogbl#search/%TheClipboard%
Code: Select all
//Let's put something in the clipboard (just for this example)
PutClipBoard>Dave
//Now let's get it out again
GetClipBoard>TheClipboard
//Now you'll see "Hello Dave"
Messagemodal>Hello %Dave%