Announcement

Collapse
No announcement yet.

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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.

      Comment


      • #4
        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

        Comment


        • #5
          "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

          Comment


          • #6
            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.)
            Follow Me on Twitter or Facebook
            Live mp3Car Facebook Chat

            Comment


            • #7
              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

              Comment


              • #8
                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

                Comment


                • #9
                  Mitch,

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

                  Regards,
                  Jim

                  Comment


                  • #10
                    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."

                    Comment


                    • #11
                      yes... you can access it via the frm object, as blue stated... specially for plugins, thats the way to go
                      -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

                      Comment

                      Working...
                      X