Page 4 of 6 FirstFirst 123456 LastLast
Results 31 to 40 of 57

Thread: progression - my newly completed skin

  1. #31
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    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!

  2. #32
    Constant Bitrate
    Join Date
    Jan 2007
    Location
    dundee, il
    Posts
    211
    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

  3. #33
    Constant Bitrate
    Join Date
    Jan 2007
    Location
    dundee, il
    Posts
    211
    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

  4. #34
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    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 Attached Images  

  5. #35
    Constant Bitrate
    Join Date
    Jan 2007
    Location
    dundee, il
    Posts
    211
    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

  6. #36
    Constant Bitrate
    Join Date
    Jan 2007
    Location
    dundee, il
    Posts
    211
    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

  7. #37
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    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!

  8. #38
    Constant Bitrate
    Join Date
    Jan 2007
    Location
    dundee, il
    Posts
    211
    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

  9. #39
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    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))

  10. #40
    Constant Bitrate
    Join Date
    Jan 2007
    Location
    dundee, il
    Posts
    211
    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

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Chuck's Skins lots of pics Update 7-16-07
    By Chuck in forum RR Released Skins
    Replies: 297
    Last Post: 11-10-2011, 07:22 PM
  2. Replies: 4
    Last Post: 11-29-2006, 01:57 PM
  3. Frodoplayer 1.0.9 Skin Released
    By WeeZyFellA in forum FrodoPlayer
    Replies: 43
    Last Post: 02-13-2005, 10:38 PM
  4. FRODOPLAYER 1.0.9 SKIN in progess
    By WeeZyFellA in forum FrodoPlayer
    Replies: 119
    Last Post: 10-27-2004, 09:07 AM
  5. v.3 SKIN
    By WeeZyFellA in forum FrodoPlayer
    Replies: 89
    Last Post: 10-15-2004, 08:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •