The MP3car.com Store The MP3car.com Store    

Sponsored links

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

Reply
 
LinkBack Thread Tools Display Modes
Old 01-17-2008, 08:52 AM   #1
Variable Bitrate
 
Join Date: Nov 2004
Posts: 239
How to run command on certain skin?

Hey all, I'm trying to run a command only when and each time the audio_player.skin player is switched to in RR? How does one code this?
juve021 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 01-17-2008, 09:15 AM   #2
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 10,195
put a timer in the .skin and a translation code for whatever you want to run in exectbl.ini

ie

in the skin file

TMR,2


the 2 is the delay in seconds, you can change this to whatever you like, not sure if 0 works though but you can try it.

and in ExecTbl.ini Remove the < and >

"TIMER","<whatever you want to happen here>",audio_player.skin

Last edited by Enforcer; 01-17-2008 at 09:18 AM.
Enforcer is online now   Reply With Quote
Old 01-17-2008, 09:17 AM   #3
FLAC
 
Sal R.'s Avatar
 
Join Date: Aug 2006
Location: Sun Diego
Posts: 980
Or you can add this to ExecTBL.ini

"AUDIO","AUDIO||<insert command here>"
__________________
nLite'd XP Pro / RR v09/10/2008 / Winamp v5.13
Sal R. is offline   Reply With Quote
Old 01-17-2008, 09:34 AM   #4
Variable Bitrate
 
Join Date: Nov 2004
Posts: 239
Quote: Originally Posted by Sal R. View Post
Or you can add this to ExecTBL.ini

"AUDIO","AUDIO||<insert command here>"

Will this work even when the audio screen is switched to by RR and not manually by the user?
juve021 is offline   Reply With Quote
Old 01-17-2008, 09:55 AM   #5
FLAC
 
Sal R.'s Avatar
 
Join Date: Aug 2006
Location: Sun Diego
Posts: 980
Quote: Originally Posted by juve021 View Post
Will this work even when the audio screen is switched to by RR and not manually by the user?

as long as the "AUDIO" command is called, it should execute the above command.
__________________
nLite'd XP Pro / RR v09/10/2008 / Winamp v5.13
Sal R. is offline   Reply With Quote
Old 01-18-2008, 07:20 PM   #6
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,043
You may have to do something like this though:

"AUDIO","<insertcommand>||CALLAUDIO"
"CALLAUDIO","AUDIO"

or just:

"AUDIO","LOAD;Audio_player.skin||<insertcomman d>"

The timer idea is nice too, but it will execute the command every so many seconds.. which may be a problem.
__________________
Road 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 01-18-2008, 08:11 PM   #7
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 10,195
Quote: Originally Posted by guino View Post

The timer idea is nice too, but it will execute the command every so many seconds.. which may be a problem.

Oh yeah forgot to mention I user a variable to switch that off.

So the other option is best for your purpose.
Enforcer is online now   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 01-18-2008, 10:39 PM   #8
Raw Wave
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 2,307
"AUDIO","AUDIO||<insert command here>"

This is the one that i'd use as its simple and will do exactly what you want...
Blue ZX3 is offline   Reply With Quote
Old 01-20-2008, 12:42 AM   #9
Newbie
 
Join Date: Aug 2006
Location: New Jersey
Posts: 17
Quote: Originally Posted by Blue ZX3 View Post
"AUDIO","AUDIO||<insert command here>"

This is the one that i'd use as its simple and will do exactly what you want...

What about running multiple commands?
I have successfully working:
"IGPAUSE","IGPAUSE||MUTE;Line-In"
"IGRESUME","IGRESUME||MUTE;Line-In"

But I'd like to run more actions out of the same command:
"IGPAUSE","IGPAUSE||MUTE;Line-In||PLAY",@STOP
"IGRESUME","IGRESUME||MUTE;Line-In||PLAY",PLAY@

But the above isn't working for me. Can anyone help?
Thanks,

Michael
jarepa is offline   Reply With Quote
Old 01-20-2008, 12:47 AM   #10
Raw Wave
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 2,307
your cmd's are going in circles...just look..

It was my bad actually...sorry!

Code:
"IGPAUSE","MUTE;Line-In||PLAY",@STOP "IGRESUME","MUTE;Line-In||PLAY",PLAY@

Blue ZX3 is offline   Reply With Quote
Old 01-23-2008, 11:25 PM   #11
Newbie
 
Join Date: Aug 2006
Location: New Jersey
Posts: 17
Quote: Originally Posted by Blue ZX3 View Post
your cmd's are going in circles...just look..

It was my bad actually...sorry!

Code:
"IGPAUSE","MUTE;Line-In||PLAY",@STOP "IGRESUME","MUTE;Line-In||PLAY",PLAY@

Thanks Blue, now works fine
jarepa is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Earth cache builder? Or even gps simulator to make it cache? thepunkerguy DigitalMods (Scripts / API) 183 08-28-2008 08:58 PM
Error when I run either the skin designer or the control centre zanee1 FB Software 2 07-24-2007 09:11 AM
TO ALL SKINNERS (read this) jeep642 RR Skins 11 06-23-2007 05:45 PM
SKin SetVAR question... GuMiSZu Road Runner 2 05-08-2007 10:27 AM
run applications from main skin Viper_BB9 FrodoPlayer 0 11-19-2005 11:42 AM


All times are GMT -5. The time now is 03:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics