Results 1 to 4 of 4

Thread: Execute command from my plugin only into a screen

  1. #1
    Newbie
    Join Date
    Sep 2006
    Posts
    41

    Execute command from my plugin only into a screen

    Hello,

    I'm developping a plugin...

    My plugin have a timer which every 6 seconds calls a method to
    update a custom list

    I would execute the function only if the user is viewing the
    screen where the custom list is located.

    How I could obtain this?

    Thanks

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    The first RR SDK example made shows you how to retrieve the current screen in RR -- basically you just read the "RRSCREEN" label code (i.e. RRSDK.GetInfo("RRSCREEN"). You can use this info to check if you're really on the desired screen before doing anything else.
    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."

  3. #3
    Newbie
    Join Date
    Sep 2006
    Posts
    41
    ok, I have found this workround...I thought that there was a way to enable or disable the plugin

    I thought at sometinghs like: LOAD;MySkin.skin||ENABLE;MyPlugin

    I wouldn't hard code the name of the skin if it is possible...


    thanks

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Hard coding the name of the skin tends to keep skins cleaner in general, but if you don't want to do that, you can certainly make a command in your plugin to do what you want -- there's no limitation in that regards when making extension plugins.
    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. RRTMS - RoadRunner tire monitoring system extension plugin
    By Robby BMW in forum RR Released Plugins
    Replies: 255
    Last Post: Today, 02:19 PM
  2. .net Bluetooth Mobilephone Plugin
    By lambosprit in forum RR Released Plugins
    Replies: 1339
    Last Post: Today, 03:10 AM
  3. Asus Eee Box carpc in a Mazdaspeed 6
    By pixelgazer in forum Show off your project
    Replies: 14
    Last Post: 08-20-2009, 09:41 PM
  4. ASRR plugin: advanced support RoadRunner
    By niko73 in forum RR Released Plugins
    Replies: 21
    Last Post: 06-28-2009, 02:29 PM
  5. Playing full screen video only to rear screen
    By yossisibi in forum Centrafuse
    Replies: 3
    Last Post: 10-29-2006, 07:06 AM

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
  •