The MP3car.com Store The MP3car.com Store    

Sponsored links

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

Reply
 
LinkBack Thread Tools Display Modes
Old 07-19-2008, 03:30 AM   #1
Constant Bitrate
 
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 122
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
rodweb is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-19-2008, 06:17 AM   #2
Constant Bitrate
 
ivanmx6's Avatar
 
Join Date: Dec 2006
Location: Dorset, UK
Posts: 177
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",""
ivanmx6 is offline   Reply With Quote
Old 07-19-2008, 06:29 AM   #3
Road Runner & Mp3car Gatherings Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 2,934
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: Road Runner (Is there anything else??? )
& Powered by the DigitalFX 4.0 Skin
Available at www.JohnWPB.com
JohnWPB is online now   Reply With Quote
Old 07-21-2008, 11:06 AM   #4
Variable Bitrate
 
Join Date: Nov 2007
Posts: 392
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.
Dougw133 is offline   Reply With Quote
Old 07-21-2008, 11:07 AM   #5
Variable Bitrate
 
Join Date: Nov 2007
Posts: 392
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
Dougw133 is offline   Reply With Quote
Old 07-21-2008, 03:43 PM   #6
Constant Bitrate
 
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 122
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?
rodweb is offline   Reply With Quote
Old 07-21-2008, 03:53 PM   #7
Variable Bitrate
 
Join Date: Nov 2007
Posts: 392
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?
Dougw133 is offline   Reply With Quote
Old 07-22-2008, 03:32 AM   #8
Constant Bitrate
 
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 122
Just leave of the first and third parameters that define the window class/name
rodweb 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 Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run APP. from R_R michael2 RR Plugins 1 08-13-2007 07:55 AM
has anyone thought of this for an app or plugin? ikon240 Software & Software Development 16 03-04-2007 01:58 AM
embedded app on top when switching skins kuo RR Bug Tracker 1 08-21-2005 07:39 PM
making programs run when windows starts W/O explorer shell Sonicxtacy02 Newbie 9 06-09-2005 06:16 AM
PC power button problem BMp3W Power Supplies 4 10-12-2002 02:36 AM


All times are GMT -5. The time now is 02:34 PM.


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