Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 06-22-2009, 11:37 AM   #1
Newbie
 
Join Date: Sep 2006
Posts: 40
Serfio is an unknown quantity at this point
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
Serfio is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-22-2009, 01:55 PM   #2
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
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."
guino is offline   Reply With Quote
Old 06-23-2009, 05:08 AM   #3
Newbie
 
Join Date: Sep 2006
Posts: 40
Serfio is an unknown quantity at this point
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
Serfio is offline   Reply With Quote
Old 06-23-2009, 12:13 PM   #4
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
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."
guino is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

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
.net Bluetooth Mobilephone Plugin lambosprit RR Released Plugins 614 11-19-2009 05:34 PM
RRTMS - RoadRunner tire monitoring system extension plugin Robby BMW RR Released Plugins 145 10-17-2009 03:31 PM
Asus Eee Box carpc in a Mazdaspeed 6 pixelgazer Show off your project 14 08-20-2009 09:41 PM
ASRR plugin: advanced support RoadRunner niko73 RR Released Plugins 21 06-28-2009 02:29 PM
Playing full screen video only to rear screen yossisibi Centrafuse 3 10-29-2006 07:06 AM



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