Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
03-30-2007, 04:48 PM
|
#1
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Vehicle: Xterra SE supercharged
Posts: 3,478
|
question about the "onresume" command
I can say that i have tryed everything I found after serching for "onresume" (which is pretty straight forward) but nothing seems to work!
Here is the code of my ExecTBL... programs is in C:\ so is not a path problem:
/, This (OPTIONAL) file contains translation commands.
/, RR will accept the commands defined on the LEFT
/, and execute them as expressed on the RIGHT
/, you can use this to create or redefine any command
/, (or to add functionality to any syandard command).
/,
/, The Format of this file is (by choice):
/,
/, "<COMMAND>","<EXEC COMMAND>"
/, "<COMMAND>","<EXEC COMMAND>",filename.skin
/,
/, Examples:
/, "AUDIO","LOAD;audio_player.skin;Audio Player"
/, "RESTARTSONG","SEEKTO;00:00",audio_player.skin
/,
/, Extas:
/, XM, FM and MM can be used instead of a skin file
/, to be translated when XM, FM or MM is turned ON.
/,
/, PLAY, PAUSE and STOP can be used instead of skin
/, file name so it executes commands based on MP3 or
/, Video playback status.
"QUIT","SendMsg;RRCDRip;showplugin||bye"
"BYE","QUIT"
/, Set Bellow the Path to the CDRip plugin (if used)
"CDRIP","PLUGIN;RRCDRip;C:\VBStuff\Road Runner\CDRip\CDRip.exe"
/, You can add commands to execute before suspend
/, and after resume, using the codes bellow:
"ONSUSPEND",""
"ONRESUME","RUN;C:\test.bat"
"ONLINE",""
"OFFLINE",""
"ONFILECLICK",""
"ONDIRCLICK",""
"ONPLCLICK",""
"ONDLCLICK",""
"ONPBCLICK",""
"ONPLSELCLICK",""
"ONDLSELCLICK",""
"ONSONGSTART",""
"ONSKINSTART",""
/, For MediaCar Compatibility only:
"AUDIONEXT","RRNEXT"
"AUDIOPREV","RRPREV"
Also, I'm running version 11.12.06 and if it helps this is my RR.ini
Thanks in advance for any input.
Thanatos.
Last edited by thanatos106 : 03-30-2007 at 05:06 PM.
|
|
|
03-30-2007, 06:11 PM
|
#2
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,025
|
try "RUN;C:\Windows\notepad.exe" and see if it works, if .bat is not associated properly on your machine you may need to do something like 'cmd /c run.bat'.. I'd just double check the path and maybe try RUNW instead of just RUN
__________________
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."
|
|
|
03-30-2007, 06:47 PM
|
#3
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Vehicle: Xterra SE supercharged
Posts: 3,478
|
Yes notepad works just fine...well basically I have made a .bat file (also tryed with a autoit exe to call the .bat file) and it doesn't work  checked the path and tryed runw and nothing works.
All I want is to execute rasdial.exe so I don't have to push any button to be connect it to the net after hibernation.
Thanatos.
|
|
|
03-31-2007, 12:08 AM
|
#4
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,025
|
that's weird I mean, if notepad works, any other command should also work.. you should even be able to run rasdial directly.. to be honest, chances are that the command IS indeed working but rasdial is bailing out on you for some reason.. try adding a delay to it using "WAIT" or adding a delay to your autoit/bat script.
__________________
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."
|
|
|
03-31-2007, 04:22 AM
|
#5
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Vehicle: Xterra SE supercharged
Posts: 3,478
|
After trying everything I just made a button to run the .bat file and it works (really weird than it doesn't on onresume) I will try the delay tomorrow morning... Also I'm using scripts cus I don't want the little command prompt splash when it is benn execute)
Thanks.
Thanatos.
|
|
|
03-31-2007, 06:20 AM
|
#6
|
|
Variable Bitrate
Join Date: Oct 2005
Location: Arkansas
Vehicle: 2001 F150 Supercharged
Posts: 250
|
Where is the ExecTBL file located? In RR or Skin directory?
|
|
|
03-31-2007, 07:46 AM
|
#7
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,714
|
both.
|
|
|
03-31-2007, 09:28 AM
|
#8
|
|
FLAC
Join Date: Feb 2005
Location: Los Angeles
Vehicle: 2005 Chrysler 300
Posts: 1,277
|
If you runnimg the new Beta you can use the topmost command and you will not see the Cmd Window.
SETTOPMOST;RR;True||RUN;C:\Test.bat||WAIT;5||SETTO PMOST;RR:FALSE
|
|
|
03-31-2007, 11:13 AM
|
#9
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Vehicle: Xterra SE supercharged
Posts: 3,478
|
Quote: Originally Posted by Enforcer 
both.
FU doesn't have a ExecTBL file, I just have the one in RR root folder.
Thanatos.
Quote: Originally Posted by MGD 
If you runnimg the new Beta you can use the topmost command and you will not see the Cmd Window.
SETTOPMOST;RR;True||RUN;C:\Test.bat||WAIT;5||SETTO PMOST;RR:FALSE
So it will be something like this:
"ONRESUME", "SETTOPMOST;RR;True||RUN;C:\Test.bat||WAIT;5||SETTO PMOST;RR:FALSE "
Thanks for the tip.
Thanatos.
Last edited by thanatos106 : 03-31-2007 at 11:13 AM.
Reason: Automerged Doublepost
|
|
|
03-31-2007, 02:10 PM
|
#10
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,714
|
Quote: Originally Posted by thanatos106 
FU doesn't have a ExecTBL file, I just have the one in RR root folder.
Thanatos.
It can have though
you can have one in the skin folder as well. Mine does as does LSXVoid and JohnWPB's. And I believe chucks skin has a humongous one
|
|
|
03-31-2007, 02:18 PM
|
#11
|
|
FLAC
Join Date: Sep 2003
Location: Ellicott City, MD
Vehicle: 2001 Chevy S10 ZR2
Posts: 1,452
|
Almost did not fit here 
|
|
|
04-01-2007, 02:22 AM
|
#12
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Vehicle: Xterra SE supercharged
Posts: 3,478
|
Quote: Originally Posted by Enforcer 
It can have though
you can have one in the skin folder as well. Mine does as does LSXVoid and JohnWPB's. And I believe chucks skin has a humongous one
I know that, believe me I seen them inside the skin folder... I was just affirming that the skin that I was using doesn't have one
also don't flame me for been a RR n00b
Thanatos.
|
|
|
04-01-2007, 06:03 AM
|
#13
|
|
Variable Bitrate
Join Date: Oct 2005
Location: Arkansas
Vehicle: 2001 F150 Supercharged
Posts: 250
|
I should have said in "which" ExecTBL file is the "test.bat located. I also have two. I was trying to see when/where "test.bat file was being called.
Now, when I set up a rasdial batch file, I put the .bat file in the "root" directory of my C drive.
Also, is your Communication device an USB?
If so, go into device manager and check the settings for it in both the power management section of the USB controllers "for allow device to be turned off" and sometimes in the network or modem connections for device power saving or "allow wakeup".
If you have multiple USB devices and do a "wakeup" not all USB devices re-initialize the same or in a timely manner.
Last edited by wfs1 : 04-01-2007 at 06:13 AM.
|
|
|
04-01-2007, 08:40 AM
|
#14
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,714
|
Quote: Originally Posted by thanatos106 
also don't flame me for been a RR n00b
Thanatos.
As if?
Damn N00bs. 
|
|
|
04-01-2007, 12:00 PM
|
#15
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Vehicle: Xterra SE supercharged
Posts: 3,478
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:10 PM.
|
|