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

Thread: Is there a way to determine the current embedded program, if any, given RRSCREEN

  1. #1
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265

    Is there a way to determine the current embedded program, if any, given RRSCREEN

    This is for the plug-in writers.

    Is there a way in a plug-in to determine what program is embedded in the application area, if there is one, of the current screen (RRSCREEN)?

    Regards,
    Jim

  2. #2
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,692
    Blog Entries
    1
    Hmmmm not sure that there is presently. I do not think that it would be hard to expose this into either a label or a variable though. RR does have to keep track of it, so the information is there already.
    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

  3. #3
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,622
    Well in a plugin you could monitor all the load commands as they happen and checke to see if an exe was loaded with that screen and keep a list in your plugin.

    However it would be easier if RR could expose that information.

  4. #4
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Mitch are you listening!

    A variable(s) would be great. Either a window title variable (not necessarily completely fool proof) and/or a program name variable.

    Actually the LOAD command tracking might work even if the program name is not in the LOAD (I preload all my programs) but the window title is, so one could work backwards to the program name.

    But, all things being equal, RRPROGNAME and RRWINTITLE (or some such) would be a much more complete solution.

    Regards,
    Jim

  5. #5
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    "RRAppName" Label & User Variable returns the embedded window information of current screen (new)

    we really dont know more than that at any given moment, for sure we dont know what .exe was launched or such
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  6. #6
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    51
    Quote Originally Posted by mitchjs View Post
    "RRAppName" Label & User Variable returns the embedded window information of current screen (new)

    we really dont know more than that at any given moment, for sure we dont know what .exe was launched or such
    if the program path and window title are passed to RR through the LOAD command then RR knows both right?
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  7. #7
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Not if the program is preloaded and only the app window title is passed on the LOAD.

    To compound things, if one does LOAD tracking it must be done with a stack as EXIT moves back to the previous skin which may or may not have an app associated with it. None the less one must track both LOAD and EXIT and maintain a FIFO stack pushing on with LOAD and popping off with EXIT.

    A lot of work if all plug-ins need that info, better to let RR do it.

    The new variable (which I assume is app window title or blank) gives enough information to find the other bits via Windows.

    Regards,
    Jim

  8. #8
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    the form knows what window name it has to embedd, thats about it, its not tracking what .exe "could" have been launched...
    what obrienj is saying is right...
    Jim, did you try it? on my ftp...

    i just got back from Disneyland, so im catching up...
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  9. #9
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Mitch,

    Remind me of the ftp and I will try the new variable/label.

    Regards,
    Jim

  10. #10
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    In the processcommnd func using the frm obj, whatever the window title that was used to emb the app is avail via that obj. E.g. If LCase(frm.AppName) = "this nice window title" Then...
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

Page 1 of 2 12 LastLast

Similar Threads

  1. Issue with menu when a program is embedded
    By pierrotm777 in forum RR Skins
    Replies: 0
    Last Post: 05-04-2011, 03:03 AM
  2. [CF2] Strange Embedded Program Issue
    By Malaki86 in forum Centrafuse
    Replies: 0
    Last Post: 04-24-2011, 07:35 AM
  3. Run an embedded program with option found in a list
    By pierrotm777 in forum RR Skins
    Replies: 36
    Last Post: 03-16-2010, 10:52 PM
  4. Replies: 1
    Last Post: 03-28-2009, 01:24 PM
  5. Microsoft Embedded Spark program!
    By SFiorito in forum Software & Software Development
    Replies: 0
    Last Post: 04-21-2008, 12:45 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
  •