Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Sep 2014, 03:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
Puppy Units - convert common units
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3282
Location: Ontario

PostPosted: Thu 20 Feb 2014, 21:20    Post subject:  Puppy Units - convert common units  

I've written a script to replace gmeasures ( when it's completed).
It's purpose is to convert the common units quickly and accurately.

It will show in start menu along side the calculators.

It would be flexible so any programmer could modify it. It is gettexted.

Instructions are in next post. Select a category and click 'Proceed'
Then select a conversion and enter a value. Click 'Convert'.
PuppyUnits-1.7.pet
Description  finished application
pet

 Download 
Filename  PuppyUnits-1.7.pet 
Filesize  15.9 KB 
Downloaded  135 Time(s) 

Last edited by don570 on Mon 17 Mar 2014, 17:07; edited 5 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3282
Location: Ontario

PostPosted: Sat 22 Feb 2014, 16:52    Post subject:  

Here's a picture of version 1.0 ....



_____________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3282
Location: Ontario

PostPosted: Sat 01 Mar 2014, 12:56    Post subject:  

New version 1.2

-added more conversions
-math reference windows are completed

Note that the math reference windows feature slows down the launching
of the program however it's still quick enough. Laughing
__________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3282
Location: Ontario

PostPosted: Thu 13 Mar 2014, 19:34    Post subject: new version 1.5  

new version 1.5

-custom conversion is possible. Just fill in a conversion factor
and puppy will remember the factor.

I have finished all the features. I will test it for the next couple days
and report back.

I would appreciate people installing version 1.5 and giving it a test.

Please report to me. Is it fast enough?? Any mistakes in conversions??

__________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3282
Location: Ontario

PostPosted: Sat 15 Mar 2014, 15:54    Post subject: Finsished version  

Finished version 1.6

- added a few small changes
-found mistake ----> name for gettext was Puppyunits.sh
It should have been PuppyUnits.sh

Oddly it still worked with momanager... Very Happy


Contact me if you want to translate script using momanager.

It should be quite easy. albeit time- consuming.

Just set your computer language (for instance fr for French)
Then install dev SFS package and then launch momanager.
Send mo file to me for inclusion.

______________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3282
Location: Ontario

PostPosted: Mon 17 Mar 2014, 17:08    Post subject:  

Version 1.7

I found out how to put a default entry into inputbox using Xdialog Cool
__________________________________________________
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: Mon 14 Jul 2014, 17:49    Post subject:  

fyi - in posix shells the way to do default entries is ${VAR:-default_value}
so if $VAR is not set, it will display "default_value"
I once set up a whole method of localization this way that was faster than gettext and even had script for google to auto-translate the values

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0617s ][ Queries: 12 (0.0124s) ][ GZIP on ]