|
 |
03-30-2007, 05:48 PM
|
#1
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Posts: 3,485
|
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 06:06 PM.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
03-30-2007, 07:11 PM
|
#2
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,064
|
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
__________________
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."
|
|
|
03-30-2007, 07:47 PM
|
#3
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Posts: 3,485
|
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, 01:08 AM
|
#4
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,064
|
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.
__________________
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."
|
|
|
03-31-2007, 05:22 AM
|
#5
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Posts: 3,485
|
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, 07:20 AM
|
#6
|
|
Variable Bitrate
Join Date: Oct 2005
Location: Arkansas
Posts: 250
|
Where is the ExecTBL file located? In RR or Skin directory?
|
|
|
03-31-2007, 08:46 AM
|
#7
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
|
both.
|
|
|
03-31-2007, 10:28 AM
|
#8
|
|
FLAC
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,652
|
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
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
03-31-2007, 12:13 PM
|
#9
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Posts: 3,485
|
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 12:13 PM.
Reason: Automerged Doublepost
|
|
|
03-31-2007, 03:10 PM
|
#10
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
|
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, 03:18 PM
|
#11
|
|
FLAC
Join Date: Sep 2003
Location: Ellicott City, MD
Posts: 1,670
|
Almost did not fit here
|
|
|
04-01-2007, 03:22 AM
|
#12
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Posts: 3,485
|
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, 07:03 AM
|
#13
|
|
Variable Bitrate
Join Date: Oct 2005
Location: Arkansas
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 07:13 AM.
|
|
|
04-01-2007, 09:40 AM
|
#14
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
|
Quote: Originally Posted by thanatos106 
also don't flame me for been a RR n00b
Thanatos.
As if?
Damn N00bs.
|
|
|
04-01-2007, 01:00 PM
|
#15
|
|
Para Laura
Join Date: Nov 2004
Location: Miami Beach,FL U.S.A
Posts: 3,485
|
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| 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 08:40 AM.
| |