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 Fri 01 Aug 2014, 00:03
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Pcdripper (PBcdripper) - version 2.9 posted
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 2 of 11 [159 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 9, 10, 11 Next
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 25 Oct 2006, 10:20    Post subject:  

you could rduce the height of the textarea at bottom:

/usr/local/PBcdripper/ripgui.tpl

replace:
Code:
<frame scan disc results:>
    <edit>
      <variable>INFO</variable>


with:
Code:
<frame scan disc results:>
    <edit>
    <width>150</width>
    <height>140</height>
      <variable>INFO</variable>


The width is ignored, but the height now fits in 800x600.

Mark
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 25 Oct 2006, 10:27    Post subject:  

Thanks Mark, I'm almost done restructuring the whole thing to make it smaller.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 25 Oct 2006, 11:06    Post subject:  

Updated to 0.5

I moved a bunch of things around to make the gui smaller and added a help button which will open up in dillo. Please let me know if it looks okay in a 800x600 screen.

I also added the rip to a single track checkbox and when the rip button is pushed the script that gets executed will be displayed in the results window.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 25 Oct 2006, 12:54    Post subject:  

updated to 0.5b:

I forgot to add a "&" after the help command. Now you can view the help and leave it open and still use the gui. I also added a little more to the help section.

The last thing I can think of that would be a good idea is have a button that will run your pre-defined user defaults. I'll have to think about how to implement that.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 25 Oct 2006, 19:22    Post subject:  

updated to 0.6

Please someone let me know if the size is okay for a 800x600 screen now.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10953
Location: Arizona USA

PostPosted: Thu 26 Oct 2006, 10:39    Post subject:  

Plinej, you're making changes so fast it's hard to test them all. Smile Will installing a new version completely replace the old one, or do I have to do more?
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 26 Oct 2006, 10:57    Post subject:  

Installing the newest version will just overwrite the old.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 26 Oct 2006, 14:55    Post subject:  

Updated to 0.7 and possibly final (unless someone finds a bug). I'm pretty happy with how it turned out and I can't think of any other options that would be useful.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 26 Oct 2006, 16:46    Post subject:  

Updated to 1.0

Forgot to work on klhrevolutionist's request for a user default button so I quickly thought of a way to include that and put it in this version. Please post any bugs or requests and I'll continue to work on this as time permits. Click on the HELP button for details on the new options.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 26 Oct 2006, 17:19    Post subject:  

I do see a problem, when I don't use the bluex gtk theme the words don't line up with the icons for the buttons. I'll have to work on that.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 26 Oct 2006, 18:25    Post subject:  

updated to 1.1

fixed the button label issue
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Fri 27 Oct 2006, 10:07    Post subject:  

plinej: have you added the saved-user-settings?

I don't know how it works in Puppybasic, but with shell-scripts you can jusr source a file. So you can save the params the user chose in a file that looks like this:
Code:
PARAM1="bla"
PARAM2="blaa"
...


Then you source it at the beginning of the script (or after you initialize the variables in it)

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Fri 27 Oct 2006, 10:17    Post subject:  

The user default set button copies the executable script and all the necessary files it needs to read from /tmp and puts them in /root/.pbcdripper

Then when you click on the user button it will copy all the files from /root/.pbcdripper
and execute the script.

You just need to click the set button once all your options are set. The options get backed up. The next time you run PBcdripper click on user and it will execute the backed up options. The options won't be displayed in the gui though.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 27 Oct 2006, 10:22    Post subject:  

you can include files in a Puppybasic script:

main.pb

Code:
#!/usr/bin/puppybasic
include "/usr/lib/wxbasicscript/basefunctions.inc"

include "stuff.inc"

print a

print "end"


stuff.inc
Code:
print "printed from stuff.inc"

a="test"


Another solution:
Code:

configstuff = readfiletolist("myconfig.conf")
conf1 = configstuff[0]
conf2 = configstuff[1]

Here the config has no variables or code, only the values itself.

myconfig.conf
Code:
aaa
bbb


To save values:
Code:

conf1 = "aaa"
conf2 = "bbb"
writestringtofile("myconfig.conf" , conf1)
appendstringtofile("myconfig.conf" , conf2)

Or with a list:
Code:

conf = {}
conf[0] = "aaa"
conf[1] = "bbb"
writelisttofile("myconfig.conf" , conf)


Mark

Last edited by MU on Fri 27 Oct 2006, 10:29; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Fri 27 Oct 2006, 10:27    Post subject:  

Thanks Mark, I'll give it a try.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 11 [159 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 9, 10, 11 Next
Post new topic   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0763s ][ Queries: 13 (0.0068s) ][ GZIP on ]