Welcome, Guest. Please login or register.
Did you miss your activation email?


Recent news:

March 10, 2010 - Keybreeze is now a 100% free, open source application. The new version includes everything that was previously in the Professional Edition. Update now.


   Home   Help Search Login Register  
 

Pages: [1]
  Print  
Author Topic: Euro to Dollar converter macro  (Read 5292 times)
jammie056
Power User

Posts: 13


View Profile
« on: December 22, 2007, 03:29:08 AM »

This is actually directed to the user that posted a request for this as a plug-in    but apparently withdrew his request. I wrote this code for him so I figured I’d put it out for general consumption....LOL
To begin with it wouldn't make sense to me to have this as a plug-in as there are many sites on the net dedicated to this already.   So here is a working macro that goes to one of these sites  and automatically does Euro to Dollar conversion based on the users input.

<inputbox Enter Euro amount to be converted to US Dollars:,var1><keybreeze ie,http://www.xe.com/ucc/><delay 9000><leftarrow><delete><delete><type var1><tab><tab><tab><enter>

I hope this helps him or any interested in writing simple macro codes to do a quick  check of Euro rates. I also have the inverse of this command to do a quick dollar to Euro conversion if anybody is interested. btw I named this one "euro to dollar"   and the inverse as "dollar to euro" as a keybreeze comand

<Jim>  Grin
Logged
Andrew Langford
Administrator
Power User

Posts: 144


View Profile
« Reply #1 on: December 22, 2007, 01:27:59 PM »

Thanks for the post Jim!  In the past I would type s 20 dollars to euro or s 20 dollars to pounds into Keybreeze to find the result on Google, but I like the macro solution better since you don't have to type as much.
Logged
jammie056
Power User

Posts: 13


View Profile
« Reply #2 on: December 23, 2007, 05:37:00 PM »

Just a little follow up to the above macro....

Here is the inverse to the above command. This macro converts US Dollars to Euros.

<inputbox Enter US Dollar amount to be converted to Euro:,var1><keybreeze ie,http://www.xe.com/ucc/><delay 9000><leftarrow><delete><delete><type var1><tab><downarrow><tab><downarrow><tab><enter>

Cut and past the above macro to the macro editor big text field. then go to file/save as... and save the macro as dollar to euro you then hit the hot key and type command add.  Make the key word  dollar to euro  and the target is macro

By changing the number of <down arrow> keys and adjusting the input text   you can use this macro as a templet to convert any currency to another currency
Logged
phnorway
New member

Posts: 2


View Profile
« Reply #3 on: January 29, 2008, 09:52:33 AM »

Hey...great macro idea...I just have a little problem, I do not have a standard US keyboard, but a french one, and instead of showing up the numbers I type, the var1 becomes é", instead of 23 for example. I have to press shift+(number key) to get the numbers because it's a laptop...any ideas or solutions?
Logged
Andrew Langford
Administrator
Power User

Posts: 144


View Profile
« Reply #4 on: January 30, 2008, 01:39:57 PM »

You might try:

<shift d><type var1><shift u>
Logged
phnorway
New member

Posts: 2


View Profile
« Reply #5 on: January 31, 2008, 07:41:41 AM »

WORKS!! Thank you so much...it will save me some time :-)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!