Results 1 to 8 of 8

Thread: Making Button Run App Embedded

  1. #1
    Variable Bitrate
    Join Date
    Jul 2006
    Location
    Brisbane, Australia
    Posts
    346

    Making Button Run App Embedded

    Hi Guys,

    I am new to the forum and have been steadilly building a carpc using a laptop with a dead screen. So far, I have hacked the motherboard power switch (patched it to the modem port), made a startup/shutdown controller, Installed and optimised the OS and got Roadrunner going pretty well.

    I just need to see an example of running an embedded app to get me going from here and could not fin one when I searched.

    I want to run 2 GPS applications. Oddesy Street guidance (Limited options in Australia but manufacturer says it will embed in RR). I also use OziExplorer when I go offroad in my 4WD.

    I got Ozie embedding happilly in the launch screen with this code in the ini file:

    [GENERAL]
    PATH = C:\OziExplorer\OziExp.exe
    TryEmbeddedTimeOut = 5
    WindowSearchString=!TfmMainForm


    Now I want to use the default Sat Radio Button to Launch Ozie and am a bit stumped. I started by getting the Launch screen coming up from the button to get the hang of this. Then I copied LAUNCH.skin to OZIEXPLORER.skin and commented out all the buttons below the top Application Bar.

    Where do I put the RUN Command? Does it go in MENU.skin something like:

    B06,11,305,339,106,"LOAD;"OziExplorer.skin";OzieEx plorer;C:\OziExplorer\OziExp.exe;!TfmMainForm"

    or does it go in the OZIEXPLORER.skin something like this?

    "RUN";C:\OziExplorer\OziExp.exe;!TfmMainForm"
    A01,000,055,800,545,000,000,000


    Any help would be much appreciated.

    Rod

  2. #2
    Constant Bitrate ivanmx6's Avatar
    Join Date
    Dec 2006
    Location
    Dorset, UK
    Posts
    187
    The code should go in menu.skin

    Here's an example of Sygic Drive on a Menu button if it helps:

    B08,451,303,339,106,"load;destinator_gps.skin;!Syg ic DRIVE;C:\Program Files\Drive_XP\Drive.exe |-r800x460 s;!Sygic DRIVE||ACTIVATE;Sygic DRIVE",""

  3. #3
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,709
    Blog Entries
    1
    The following Button Code SHOULD work:

    Code:
    "LOAD;OziExplorer.skin;OzieExplorer;C:\OziExplorer\OziExp.exe;OzieExplorer"
    The "OzieExplorer" in the middle, and on the end are the title to the window that you are embedding. This is how Road Runner knows what window name to grab ahold of, and embed it for you.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  4. #4
    FLAC Dougw133's Avatar
    Join Date
    Nov 2007
    Location
    PA
    Posts
    1,245
    First attempt ever to skin/embed. Trying to embed an OBD program.

    I created the launch ini and it launches using the launch button in RR/DFX

    However it doesn't "Embed it just launches to the middle of the desktop

    I created a button using BlueZX DFX 3 button editor.

    This is the Skin File

    RoadRunner Skin
    RRScreen OBDskin
    OBD_OFF.png,OBD_OFF.png,OBD_On.png,OBD_OFF.png

    "LOAD;OBD.Skin;ThunderRT6FormDC;C:\Program Files\OBD-DIAG\OBD-DIAG.exe;ThunderRT6FormDC"

    END

    I copied the "LOAD etc... To the command button box in the button edotr...

    Where am I wnog here..
    I know, everywhere!
    Hey I'm trying to start, so anything is helpful please.

  5. #5
    FLAC Dougw133's Avatar
    Join Date
    Nov 2007
    Location
    PA
    Posts
    1,245
    Oh.... Der..

    When I press the button I created once in RR, RR minimizes and never restores. I have to restart RR. At least "Something" happens when I press the button

  6. #6
    Variable Bitrate
    Join Date
    Jul 2006
    Location
    Brisbane, Australia
    Posts
    346
    Doug, I did this going. My probelm must have been some error in the skin itself. I redid the Skin and it worked.

    What I learnt from all of this is that the first step is that you need to Load the skin all by itself without trying to embed the app. Make sure the new JPG window appears and then reedit the Load command to embed the application. Did you define an area for your app in the skin file with the A command?

  7. #7
    FLAC Dougw133's Avatar
    Join Date
    Nov 2007
    Location
    PA
    Posts
    1,245
    I have followed some detailed instructions another member gave me in the DFX 3 Skin. Page 103. I am so new to skin editing, how do you run the menu.skin separate from RR?

  8. #8
    Variable Bitrate
    Join Date
    Jul 2006
    Location
    Brisbane, Australia
    Posts
    346
    Just leave of the first and third parameters that define the window class/name

Similar Threads

  1. Run APP. from R_R
    By michael2 in forum RR Plugins
    Replies: 1
    Last Post: 08-13-2007, 07:55 AM
  2. has anyone thought of this for an app or plugin?
    By ikon240 in forum Software & Software Development
    Replies: 16
    Last Post: 03-04-2007, 01:58 AM
  3. embedded app on top when switching skins
    By kuo in forum RR Bug Tracker
    Replies: 1
    Last Post: 08-21-2005, 07:39 PM
  4. Replies: 9
    Last Post: 06-09-2005, 06:16 AM
  5. PC power button problem
    By BMp3W in forum Power Supplies
    Replies: 4
    Last Post: 10-12-2002, 02:36 AM

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
  •