Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Skins


Reply
 
Share Thread Tools Display Modes
Old 11-19-2007, 02:18 AM   #31
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
I've been looking at this a little more, and I was able to dock the Font Window of notepad into RR. But still trying to get RR to read what it says inside that window. I've found some windows classes, but some of the boxes don't have names, so I don't know how we could get the info from that box.

Here's a screenshot of what I've got going:



The red highlighted box is the item in the list in winspector spy.

Edit:
maybe someone can take the info from this thread...

http://www.dreamincode.net/forums/showtopic23512.htm

...and create a simple program that might work for what we need... (Or maybe guino can implement something in the code that allows the label command "FONTNAME" to show the Name of the font, and then some way we could get this information to write to a file in a similar way that the background chooser works.)

I'm not good with programming, otherwise I could have made some kind of code for this by now.
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!

Last edited by monkeyracer; 11-19-2007 at 03:11 AM.
monkeyracer is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 11-19-2007, 03:06 PM   #32
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
Quote: Originally Posted by monkeyracer View Post
I've been looking at this a little more, and I was able to dock the Font Window of notepad into RR. But still trying to get RR to read what it says inside that window. I've found some windows classes, but some of the boxes don't have names, so I don't know how we could get the info from that box.

Here's a screenshot of what I've got going:



The red highlighted box is the item in the list in winspector spy.

Edit:
maybe someone can take the info from this thread...

http://www.dreamincode.net/forums/showtopic23512.htm

...and create a simple program that might work for what we need... (Or maybe guino can implement something in the code that allows the label command "FONTNAME" to show the Name of the font, and then some way we could get this information to write to a file in a similar way that the background chooser works.)

I'm not good with programming, otherwise I could have made some kind of code for this by now.

looking at the pic, it looks like winspector is picking up the font's name from the list in the text field, i wonder if there is a way we can import the info similar to how you can use it as the window title to embed an app? also, if that can be done, i could have a test button, and a save button, just like the color chooser, so if the selected font doesn't look right you can see it without making any changes.

david
davidp is offline   Reply With Quote
Old 11-19-2007, 06:22 PM   #33
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
finally starting to make a bit of progress with the font changer, im making the regular font style screen like this:


teaching myself autoit3 in order to do it, but what it does is it uses the font list, and saves the selected font name to a txt file, which the skin will read from (i hope, lol). if it works it would be the perfect (almost) solution for font changing from inside the skin

david
davidp is offline   Reply With Quote
Old 11-19-2007, 07:05 PM   #34
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
seems that you miss what i uploaded for you, in the registry is all the information about the fonts installed, and, check back in page#2 theres a script that will open every single font for you, unless you want to try this one. works in a skin with a custom list, just run it and you will see all the fonts in the list. to get the font name you can use "CLTEXT" take a look at the list.
Attached Images
 

Last edited by EL CAMINO; 11-22-2007 at 12:36 AM.
EL CAMINO is offline   Reply With Quote
Old 11-19-2007, 07:42 PM   #35
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
Quote: Originally Posted by EL CAMINO View Post
seems that you miss what i uploaded for you, in the registry is all the information about the fonts installed, and, check back in page#2 theres a script that will open every single font for you, unless you want to try this one. works in a skin with a custom list, just run it and you will see all the fonts in the list. to get the font name you can use "CLTEXT" take a look at the list.

i didn't miss it, i tried it, but couldn't figure out how to make it do what i wanted properly. plus, this was a bit of an excuse for me to try and learn autoit, i think the program that resulted might work great, im working on embedding it now.

i will definitely take a look at the las script you uplaoded as well, thanks for all the help

david
davidp is offline   Reply With Quote
Old 11-19-2007, 10:02 PM   #36
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
ok, finally gave up on my code, it just ended up being to sloppy, so i tried el camino's code, it works great for showing the list, so i tried using the setvarbycode command to write a settings.skin file, my only problem left now is that the write to file command for some reason puts a space after the font name, but before the quote (ex: /DEFINE Font "Script ")
, so it won't read into the label properly. it is probably something stupid that i am just overlooking/missing.

here is the skin code:
Code:
L,11,550,113,56,#FRed#,#FGreen#,#FBlue#,24,#Font#,"=MENU","CENTER" B,294,201,178,126,"SETVARBYCODE;LISTTEXT;LISTTEXT||WRITETOFILE;$skinpath$settings.skin;=/DEFINE Font "$LISTTEXT$"||RELOADSKIN||Load;Funt.skin", L,296,107,179,84,247,9,9,24,"#Font#","CLTEXT","LEFT"

any ideas of what is happening or how to fix it? this is the last issue to sort out before the skin has on the fly font changing

david
davidp is offline   Reply With Quote
Old 11-20-2007, 12:09 AM   #37
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
is the skin named funt.skin or is that a typo? if so, that may be something affecting it...

you made sure that you have the INC line in there too right?

It looks good as far as i can tell.
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Old 11-20-2007, 12:13 AM   #38
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
Quote: Originally Posted by monkeyracer View Post
is the skin named funt.skin or is that a typo? if so, that may be something affecting it...

you made sure that you have the INC line in there too right?

It looks good as far as i can tell.

yea, its called funt, the font color screen is called font, so i just changed a letter, lol.
INC line is pointing at the right file as well, it all works perfectly if i go into the setting.skin file in notepad and delete the space before the last quote mark. i just dont understand why the space gets put there in the first place.

david
davidp is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 11-20-2007, 01:45 AM   #39
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
that space is coming from the script, replace line 20 with this one, and the space will be gone for good.

Code:
$rr.execute("CLADD;"&StringTrimRight($Font[1], 1)&";"&StringTrimRight($Font[1], 1))


Last edited by EL CAMINO; 11-20-2007 at 01:49 AM.
EL CAMINO is offline   Reply With Quote
Old 11-20-2007, 05:55 PM   #40
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
Quote: Originally Posted by EL CAMINO View Post
that space is coming from the script, replace line 20 with this one, and the space will be gone for good.

Code:
$rr.execute("CLADD;"&StringTrimRight($Font[1], 1)&";"&StringTrimRight($Font[1], 1))

and you sir, are my hero, works perfectly now i just need to go through the skin and change the labelcode. you happen to know how to do a similar script for the font sizes as well? if not, no biggy. thank you very much.

david
davidp is offline   Reply With Quote
Old 11-20-2007, 07:52 PM   #41
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
just got the skin updated, all the labels (other than the audio controls), and the lists can now be changed on the fly thanks to el camino's script and help . here's a screenshot of how it looks:



link in second post updated for the new version.

david
davidp is offline   Reply With Quote
Old 11-20-2007, 09:23 PM   #42
Raw Wave
 
treetop777's Avatar
 
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,915
treetop777 is an unknown quantity at this point
How do you get to this new feature from within the skin?
treetop777 is offline   Reply With Quote
Old 11-20-2007, 09:26 PM   #43
Constant Bitrate
 
Join Date: Jan 2007
Location: dundee, il
Posts: 198
davidp is an unknown quantity at this point
Quote: Originally Posted by treetop777 View Post
How do you get to this new feature from within the skin?

sorry about that, its a click and hold on the font color button. it should load the font list, but if you change the font, you will need to reload the list (using the load list button) this screen isn't 100% done, but its close.

david
davidp is offline   Reply With Quote
Old 11-21-2007, 08:20 PM   #44
Raw Wave
 
treetop777's Avatar
 
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,915
treetop777 is an unknown quantity at this point
Some feedback..

The font changing works perfect. It would be even better to get a preview of the actual font highlighted as opposed to the font that's currently being used by the skin. Also (and this may be 'cause the screen is not 100% done) i couldn't find a way to scroll down to see more fonts.

In the audio browser, the "play sel" does nothing.

The skin is great, thanks for sharing.
treetop777 is offline   Reply With Quote
Old 11-22-2007, 12:47 AM   #45
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
for the font size, you can try "EVAL" see the "skin commands.txt" this can be done the way you guys do the color change, but in this case just do a percentage equation, the 100 % is the font size you have at starting, then input how bigger or smaller you want the fonts to be adjusted. is just an idea to start.
EL CAMINO is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chuck's Skins lots of pics Update 7-16-07 Chuck RR Released Skins 289 03-25-2009 07:06 AM
IG3 Will not stay inside of the SKIN - opens in itsown Window..... dtragic GPS 4 11-29-2006 02:57 PM
Frodoplayer 1.0.9 Skin Released WeeZyFellA FrodoPlayer 43 02-13-2005 11:38 PM
FRODOPLAYER 1.0.9 SKIN in progess WeeZyFellA FrodoPlayer 119 10-27-2004 10:07 AM
v.3 SKIN WeeZyFellA FrodoPlayer 89 10-15-2004 09:29 PM



All times are GMT -5. The time now is 08:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics