Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Old NetStumbler SKIN (needs a new owner)

  1. #1
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893

    Old NetStumbler SKIN (needs a new owner)

    This was posted long ago.
    I am putting it here for record.

    It may not work as-is. Feel free to improve it and re-post it.
    Attached Files Attached Files

  2. #2
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    Alright, I've been playing with it. I changed the skin around, and have a few problems:

    Netstumbler does not embed, unless I am quick enough to click on the 'skin' before NS comes up.

    The buttons don't seem to do anything. They don't change color (skin_down), and they don't send key strokes.

    How do I control the window within a window? I read through the threads, I would search, but I don't know what the inner window is called.

    And finally, but I can live with it, the little message window keeps fighting with SB. I could move the buttons, but that's where I want them!

    Here's what I have:
    -----SB Config:

    [Global]
    DefaultProgram=NetStumbler
    EmbedderRefreshInterval=250

    -----Netstumbler.ini: (C:\Program Files\SkinBedder_v3\NetStumbler)
    [MainForm]
    Caption=SKINbedder NS

    Top=0
    Left=0
    ClientWidth=641
    ClientHeight=390

    BackgroundColor=$000000

    LoadingImage=

    [Scripts]

    StartUp=Run(C:\Progra~1\Networ~1\Netstumbler.exe), Embed(NSMap:500),Focus(NSMap),LoadSkin(NSMap:Skin)
    ShutDown=Kill(netstumbler.exe)
    Hibernate=Focus(NSMap),Send(Alt-B)
    Resume=

    -----NSMap.ini (C:\Program Files\SkinBedder_v3\NetStumbler\NSMap)
    [NSMap]
    WindowClass=
    WindowTitle=Network Stumbler
    Width=
    Height=
    TopBorder=0
    LeftBorder=0
    RightBorder=0
    BottomBorder=0

    NudgeUp=0
    NudgeLeft=0
    NudgeRight=0
    NudgeDown=0

    TransparentColorValue=

    AlphaBlendValue=

    Visable=True

    -----Skin.ini(C:\Program Files\SkinBedder_v3\NetStumbler\NSMap)

    [Skin]
    ButtonUpImage=Skin.png
    ButtonDownImage=Skin_Down.png

    TopBorder=335
    LeftBorder=0
    RightBorder=
    BottomBorder=

    Actions=New,Open,Scan,Save,Exit





    ;OnClick and will occure only if there is not a button in that area.
    OnClick=BringToFront(NSMap)
    ;OnDrag can be set to MoveWindow, CloseWindow, or left blank
    OnDrag=
    OnClose=Exit(SKINbedder)


    [New]
    Top=338
    Bottom=390
    Left=3
    Right=120
    ;If OnPressUp and OnPressDown both have values, then the button will "toggle"
    OnPressDown=
    OnPressUp=Play(ButtonClick.wav),Focus(NSMap),Send( CTRL-N)

    [Open]
    Top=338
    Bottom=390
    Left=132
    Right=249
    ;If OnPressUp and OnPressDown both have values, then the button will "toggle"
    OnPressDown=
    OnPressUp=Play(ButtonClick.wav),Focus(NSMap),Send( CTRL-O)

    [Scan]
    Top=338
    Bottom=390
    Left=262
    Right=379
    ;If OnPressUp and OnPressDown both have values, then the button will "toggle"
    OnPressDown=Play(ButtonClick.wav),Focus(NSMap),Sen d(CTRL-B)
    OnPressUp=Play(ButtonClick.wav),Focus(NSMap),Send( CTRL-B)


    [Save]
    Top=338
    Bottom=390
    Left=391
    Right=507
    ;If OnPressUp and OnPressDown both have values, then the button will "toggle"
    OnPressDown=
    OnPressUp=Play(ButtonClick.wav),Focus(NSMap),Send( CTRL-S)

    [Exit]
    Top=338
    Bottom=390
    Left=519
    Right=635
    ;If OnPressUp and OnPressDown both have values, then the button will "toggle"
    OnPressDown=
    OnPressUp=Play(ButtonClick.wav),Focus(NSMap),Send( ALT-F4)


    ;Text can be overlaid in the center of the Rect.
    Font=
    Size=
    Style=
    Text=
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  3. #3
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    And here's a screen capture.
    Attached Images Attached Images  
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  4. #4
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    I'm not sure why clicking on the skin would help it work, but I would tweak your startup script a bit...

    You had:
    Code:
    StartUp=Run(C:\Progra~1\Networ~1\Netstumbler.exe), Embed(NSMap:500),Focus(NSMap),LoadSkin(NSMap:Skin)
    You don't need to focus on NS, and I'd add a delay after running the EXE:
    Code:
    StartUp=Run(C:\Progra~1\Networ~1\Netstumbler.exe),Wait(1000),Embed(NSMap:500),LoadSkin(NSMap:Skin)
    The reason you want to wait is that the embed() command will sometimes get the WindowHandle and try to embed the window before the application has even shown the window on the screen. This causes all the width/height math to get all messed up and it doesn't embed properly.

    I plan to fix this in a future version by checking for the window to be visable before trying to embed it.

  5. #5
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    Still doesn't work. And now, it doesn't work, even if I click on the skin before NS launches. I tried fiddling with the numbers, but no doing.
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  6. #6
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    Ok... I remember now. The problem is that NS has a random number as part of the title. Sb does not support partial matches. If you search you may find a few solutions that have been done in the past. However, I just actually installed NS for the first time and I came up with a quick solution that will probably work best...

    Here is my start-up:
    Code:
    StartUp=Run(C:\Progra~1\Networ~1\Netstumbler.exe),Wait(3000),Send(Ctrl-F4),Embed(NSMap:500),LoadSkin(NSMap:Skin)
    The Ctrl-F4 will close the sub-window which will cause NS to remove the numbers from its title. Then Sb can embed it. After the Embed() command, you could also send an Ctrl-N to open a new window back up.

  7. #7
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    Alright, I got it to work. I used the script that is in the folder (startup.exe) to launch it, and open the appropriate ns1 file. Then skinbedder takes over again, and finishes the skinning. Here'e the resulting stuff.

    Code:
    StartUp=Run(C:\Progra~1\Skinbe~1\Netstu~1\startup.exe),wait(500),Embed(NSMap:500),LoadSkin(NSMap:Skin)
    The AutoIt script:
    Code:
    Run("C:\Program Files\Network Stumbler\NetStumbler.exe myns1.ns1", "C:\Program Files\Network Stumbler\", @SW_MAXIMIZE)
    WinWaitActive("Network Stumbler - myns1.ns1","",1000)
    Now the problem is that the buttons still don't work!

    Could it be that I have them defined in the wrong spot? And if so, do I define them by the loaction in pixels on the skin? Or what?
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  8. #8
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    Bump.

    My buttons still don't work. I've changed the numbers, but nothing is happening. Am I defining them wrong? I tried clicking on anywhere on the skin, but still nothing.

    Here's what I have.
    Attached Files Attached Files
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  9. #9
    Maximum Bitrate Bravellir's Avatar
    Join Date
    Dec 2003
    Location
    Porto, Portugal
    Posts
    741
    the buttons coordinates are relative to the bitmap, not to the sb window.

    just replace on skin.ini

    Top=338
    Bottom=390

    with

    Top=3
    Bottom=55

    and they will work
    Ikea Case. Epia M10000.M1-ATX. 512 Mb. 2,5" 80 GB HDD. 7" Lilliput. BU-303 GPS. Sony Joystick.
    Status -->
    Lilliput Installed (not indash yet..)
    BraveCar 2.5

  10. #10
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    Sorry I missed your post on the 13th. Thanks for the bump .

    Bravellir is correct. If you have any other problems please post back and I will try to help. Also, please post your SKIN in a new thread once complete and you are happy with it.

    One concern: Why do you have to use an Auto-It script? The WinWaitActive command in the AutoIt script doesn't even do anything since your SKINbedder script is Run() instead of RunWait(). Try just running NS instead of the AutoIt script and I bet it will work.

Page 1 of 2 12 LastLast

Similar Threads

  1. Open Source Skin Editor for RR
    By lbooker in forum Road Runner
    Replies: 66
    Last Post: 04-16-2007, 01:51 AM
  2. Roadrunner Skinning Tutorial
    By Meelobee in forum RR Skins
    Replies: 14
    Last Post: 12-30-2005, 07:28 PM
  3. Thoughts on skin design guidelines?
    By Arathranar in forum RR Skins
    Replies: 2
    Last Post: 06-13-2005, 05:54 PM
  4. Frodoplayer 1.0.9 Skin Released
    By WeeZyFellA in forum FrodoPlayer
    Replies: 43
    Last Post: 02-13-2005, 10:38 PM
  5. New Skin - Spaced_Out for FrodoPlayer 1.08
    By WeeZyFellA in forum FrodoPlayer
    Replies: 24
    Last Post: 10-17-2004, 09:50 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
  •