12/29/2009 8:42:00 AM
 Johnny Posts: 1
|
I’m wondering whether it is possible to use variables in a Jitbit MacroRecorder macro. What I am trying to do, specifically, is make a “Google this” macro. Ihave already written a macro to do this in Word 2003 that works like this: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe""www.google.com/search?hl=en&q=%22" _ & Trim(strSearchTerm) &"%22""" First you select a word (or a few words), and these go into the variablestrSearchTerm. Then you click a hotkey to call the macro and Firefox is opened with the parameters shown above, causing Google to search for the word (or words) automatically. So it’s just two steps: select the word and click the hotkey. The macro does the rest. The reason I want to convert this Word macro to a Macro Recorder macrois so I can use it from any Windows program. If I can get it working, I’ll post the code here. edited by Johnny on 12/29/2009 edited by Johnny on 12/29/2009
|
|
• permalink
• reply with quote
|
1/22/2010 2:58:56 PM
 jitbit Administrator Posts: 1045
|
Our Macro Recorder does not support variables unfrotunately. We are considering this in the future versions, meanwhlie you can use the clipboard. Copy the search term to the clipboard, launch Google with macro recorder and then send "Ctrl+V" to paste the text into the search window.
|
|
• permalink
• reply with quote
|
Powered by AspNetForum 6.4.4.0
© 2006-2010 Jitbit Software