Unit converter

Discuss and share scripts and script files...
Post Reply
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Unit converter

Post by serendipity »

Made a simple unit converter. As of now you have conversions for grams to Pounds and vice versa; Inches to Centimeters and vice versa; Fahrenheit to Celsius and vice versa; and Euros to Dollars and vice versa. Last one uses Google finance.
I will add more later. Let me know if anything obvious should be added.
Here it is:
UnitConverter.zip
Unzip the .xys file into XY's script folder and launch from catalog or elsewhere using ::load UnitConverter;
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Unit converter

Post by admin »

What I like about this: XY scripting is taking over the freeware "market". :D

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Unit converter

Post by admin »

admin wrote:What I like about this: XY scripting is taking over the freeware "market". :D
And of course getting the exchange rates from the web is a slick thing!

JustinF
Posts: 358
Joined: 28 Jun 2005 23:47
Location: Omaha, Nebraska, USA

Re: Unit converter

Post by JustinF »

Wow! That's really cool. Thanks!
Justin
Windows 7 Professional

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Unit converter

Post by serendipity »

admin wrote:What I like about this: XY scripting is taking over the freeware "market". :D
Yes, with html function around, lots of stuff can be accomplished. You know I travel a lot everyday and have these crazy ideas for scripts. For example:
1. A full html calendar which will show files used on each day. One can go to any date or month etc and see what files were accessed. I know one can do this with search, but having it with GUI would be fun.

2. A disk management tool. Show absolute sizes (bytes) and relative (to the current folder) sizes (percentage) in form of colored bars would be cool. You can click through directories to further break down sizes. Somewhat similar to JDiskReport but all within XY.

Ofcourse, these are only ideas which I guess will only stay in my imagination. I wish I had the skill and time to do such things. But you never know. :D

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Unit converter

Post by admin »

serendipity wrote:
admin wrote:What I like about this: XY scripting is taking over the freeware "market". :D
Yes, with html function around, lots of stuff can be accomplished. You know I travel a lot everyday and have these crazy ideas for scripts. For example:
1. A full html calendar which will show files used on each day. One can go to any date or month etc and see what files were accessed. I know one can do this with search, but having it with GUI would be fun.

2. A disk management tool. Show absolute sizes (bytes) and relative (to the current folder) sizes (percentage) in form of colored bars would be cool. You can click through directories to further break down sizes. Somewhat similar to JDiskReport but all within XY.

Ofcourse, these are only ideas which I guess will only stay in my imagination. I wish I had the skill and time to do such things. But you never know. :D
I guess this will even be more fun once we have If/Then and Loops. I hope it won't be too long... :)

Maybe you can also write a file manager using html()... :lol:

I also had an idea for html() but no time to try it: A keyword tagger for images. Would show a shrinked preview of the selected image file, and present a predefined set of checkboxes for the keywords. Then you check the boxes matching the image and submit the <form>. Then the script would construct a string of the keywords and set the comment field of the file to that string. Okay, this needs the tag() command -- will come soon... :wink: Later you would use VFOs to list images matching keywords... should be interesting for photographers!

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Unit converter

Post by serendipity »

admin wrote:Maybe you can also write a file manager using html()... :lol:
Yeah, and then release it as freeware (dependencies: XYplorer) :lol: .
admin wrote:I also had an idea for html() but no time to try it: A keyword tagger for images. Would show a shrinked preview of the selected image file, and present a predefined set of checkboxes for the keywords. Then you check the boxes matching the image and submit the <form>. Then the script would construct a string of the keywords and set the comment field of the file to that string. Okay, this needs the tag() command -- will come soon... :wink: Later you would use VFOs to list images matching keywords... should be interesting for photographers!
Oh yes, that would be useful even for a non-photographer like me.

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Unit converter

Post by admin »

serendipity wrote:
admin wrote:Maybe you can also write a file manager using html()... :lol:
Yeah, and then release it as freeware (dependencies: XYplorer) :lol:
:lol: :mrgreen:

Post Reply