Sponsored links

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


Closed Thread
 
Share Thread Tools Display Modes
Old 03-20-2005, 01:35 PM   #1
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
FAQ How to embbed any Application in RR ?

To embbed an application you simply need its window name or class name

For "discovering" window information, you can use a very nice simple application called Winspecttor Spy..
http://www.windows-spy.com/download/

You can find the information of the window by doing this:
-Install Winspector
-Run your application and make sure the window you want to embedd is visible
-Run Winspector
-Drag the red target circle (top-left) onto the WINDOW TITLE of the window you want to embedd -- you should see a red line around the ENTIRE window.
-Now the window information is highlighted on the list of the left side of Winspector.
-Right-Click on the highlighted item and hit "Properties.." a new window comes up
-The information you need is in the two first lines of the properties window (class name and window title).

You can try to use the second line info (Title) or the first line with a '!' in front (to denote it's a class name) as the Window Name. Examples would be (for the window search setting of INI):

!CabinetWClass (by window class name)
My Documents (by window title)

You can also specify Both information (for a more precise search):

!CabinetWClass!My Documents

Note: It is NOT necessary to use the entire class name or window title to embed the application, but the more data you provide, lower are the chances of embbeding the wrong window. Some applications change the class name and/or window title on different runs, in which case you should provide only the data that doesn't change. WinC is a good example of that.

Once you have the information above defined you have to options to emmbed the application:

1-Set it up in the launch screen (easier)
2-Create a button to launch it directly from your skin (harder)

To set it up an Application on the Launch Folder:

-You must have a "base" launch folder (i.e. C:\LAUNCH\)
-You must create a sub-folder with your App's name (i.e. C:\LAUNCH\Calc)
-You must create a INI with the same name of your sub-folder (i.e. calc.ini)
-You must enter AT LEAST those two lines in the INI file:

PATH=C:\WINDOWS\system32\calc.exe
WindowSearchString=calc

-You must have the correct path and windowsearch (found with winspector) setup right for it to work correctly
-You can OPTIONALLY save a image with your sub-folder name for displaying in the launch screen (i.e. calc.jpg)

Note: The latest RR binary packages and install have examples of Launch folder and ini files you can use as base for adding other applications.

To add a button to launch your application

-You'll need to make a skin file for it (i.e. calc.skin).
-Create or Edit a Skin button code to be like the following:

"LOAD;CALC.SKIN;C:\WINDOWS\system32\calc.exe;c alc"

If you need details on what's what on the above code -- look at Skin Commands.txt it is defined there under the LOAD Dynamic commad.

Some Usefull Window Names:

FrodoXM: FrodoSatelliteRadioX
Explorer (not the web browser): !ExploreWClass
Calculator: Calc
Notepad: Notepad
Total Commander: !TOTAL_CMD!Total Commander
CDRip PLugin: RRCDRip

Flashing of Embbeded applications

In most cases, clicking on RR's skin with an embbeded application will cause the application to "flash". The application flashes because RR's window comes up in front of your embbeded application. The way to "fix" this is to clip out that area of RR's window so it does not come up in front of your embbeded application. Once the area is clipped out of RR's skin, that region of the window will not surface above your embbeded application, preventing it from flashing.

The clipping definition must be added in your Application's screen (.skin file). Basically you'll open the .skin file and look for the line that starts with AXX,xxx... copy and paste this line as a new line and change the "A" from the new line to a "C" making it look like CXX,xxx...

Once the clipping definition is in place, it is normal to see "through" the screen while the application loads (in the space where the application will embed). But once the application is loaded, it will not flash when clicking in RR's skin.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."

Last edited by guino; 02-20-2006 at 09:23 PM.
guino is offline  
Advertisement
 
Advertisement
Advertisement Sponsored links

Closed Thread

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
RDS Radio in RR. CherokeeChief Road Runner 13 01-07-2008 11:44 AM
I-BUS sterring buttons now working for RR CdRsKuLL Road Runner 51 06-19-2007 09:13 PM
Problems playing DVD with RR 03-08-05 Passe RR Bug Tracker 8 06-24-2006 01:36 PM
RR 03-06-05 - Radio Preview ... guino Road Runner 37 07-04-2005 02:58 PM
RR 03-07-05.. Few Improvements.. guino Road Runner 30 03-07-2005 07:44 PM



All times are GMT -5. The time now is 02:36 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