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 01 Oct 2014, 10:32
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 Posts_count  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3307
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  144 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3307
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: 3307
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: 3307
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: 3307
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: 3307
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:   Sort by:   
Page 1 of 1 Posts_count  
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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0540s ][ Queries: 13 (0.0042s) ][ GZIP on ]