Results 1 to 1 of 1

Thread: How to embbed any Application in RR ?

  1. #1
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818

    How to embbed any Application in RR ?

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

    For "discovering" window information, you can use a very nice application called Winspecttor Spy..
    http://www.softpedia.com/get/Securit...nspector.shtml
    http://www.windows-spy.com/download/ (down)

    Or you can use the attached FindWindowInfo (UPDATED 5/24/2012) application and just move the mouse over the title of the window you want to embed.

    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 (Text/Title) or the first line with a '!' in front (to denote it's a class name) as the Window title. 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;calc"

    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.
    Attached Files Attached Files
    Last edited by guino; 05-24-2012 at 06:45 PM.
    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."

Similar Threads

  1. RDS Radio in RR.
    By CherokeeChief in forum Road Runner
    Replies: 13
    Last Post: 01-07-2008, 10:44 AM
  2. I-BUS sterring buttons now working for RR
    By CdRsKuLL in forum Road Runner
    Replies: 51
    Last Post: 06-19-2007, 08:13 PM
  3. Problems playing DVD with RR 03-08-05
    By Passe in forum RR Bug Tracker
    Replies: 8
    Last Post: 06-24-2006, 12:36 PM
  4. RR 03-06-05 - Radio Preview ...
    By guino in forum Road Runner
    Replies: 37
    Last Post: 07-04-2005, 01:58 PM
  5. RR 03-07-05.. Few Improvements..
    By guino in forum Road Runner
    Replies: 30
    Last Post: 03-07-2005, 06:44 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
  •