Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development


Reply
 
Share Thread Tools Display Modes
Old 04-17-2006, 06:07 AM   #61
Maximum Bitrate
 
Frankino's Avatar
 
Join Date: Nov 2004
Location: Italy
Posts: 659
Frankino is on a distinguished road
autoit rocks
__________________
Peugeot 206 1.4 HDi

Intel Mini-ITX Mainboard
Celeron 1.2ghz
256mb DDR-2 533
80gig 3.5" SATA HDD
Sb Live 5.1 w/ KXProject Drivers
M2-ATX
8" Lilliput TS LCD

100% installed and working :D
Frankino is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-19-2006, 11:48 AM   #62
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
Curious, was it intentional not to add the shutdown/suspend events to this app after the command runs?

I had written a small app for tolisn before he found a solution that would deny the original request, run a command then carry out the shutdown/suspend. It would be very easy to add to this app.
whodwho is offline   Reply With Quote
Old 04-19-2006, 01:53 PM   #63
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
Quote: Originally Posted by whodwho
Curious, was it intentional not to add the shutdown/suspend events to this app after the command runs?

I had written a small app for tolisn before he found a solution that would deny the original request, run a command then carry out the shutdown/suspend. It would be very easy to add to this app.


Hey M8, thanks for helping me out. i'd really like to also try out you app as I'm alsways open to different solutions. please post it
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 04-19-2006, 08:57 PM   #64
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
Try this one,

04-19-06
fixed bug on resume command - not saving command to ini
added shutdown/standby event after command finished (configurable time)
added delay for resume event to give time to connect to net or whatever (configurable time)

Let me know how it does or if need changes

Last edited by whodwho; 04-20-2006 at 02:25 AM.
whodwho is offline   Reply With Quote
Old 04-20-2006, 12:15 AM   #65
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
Thanks, I'll try it out and let you know

Edit. I tried it out. It is perfect for my needs. The only thing is that once you set interceptor to launch a specific app then you require to close and re-run interceptor in order for the settings to be applied. No biggy. Thanks for your time.
__________________
The road is long but we are getting there.

Last edited by tolisn; 04-20-2006 at 12:34 AM.
tolisn is offline   Reply With Quote
Old 04-20-2006, 02:08 AM   #66
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
Quote: Originally Posted by justintime
NEVERMIND!

I just realized that you have to close and re-open the app so it loads the new configuration...

That was an issue in the original code, I can take a look at that as well.

Glad it worked for your needs, no other changes?
whodwho is offline   Reply With Quote
Old 04-20-2006, 02:31 AM   #67
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
Quote: Originally Posted by tolisn
...The only thing is that once you set interceptor to launch a specific app then you require to close and re-run interceptor in order for the settings to be applied...

Fixed

Let me know if you find anything else

04-19-06
fixed bug on resume command - not saving command to ini
fixed bug on setting up commands - needing to restart app to take
added shutdown/standby event after command finished (configurable time)
added delay for resume event to give time to connect to net or whatever (configurable time)
Attached Files
File Type: zip Interceptor_v1.2.zip (25.6 KB, 595 views)

Last edited by whodwho; 04-20-2006 at 11:06 AM.
whodwho is offline   Reply With Quote
Old 06-17-2006, 07:13 AM   #68
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
Hi whodwho

Well I'm back. I've been trying out interceptor using the shutdown options. Finally I came to my senses and decided to use Hibernation. This cut down my boot time by about 12 sec. Now I'm facing a problem with my motorized screen (building stage) software. The screen opens using a prog called openservo and closes using another prog called close servo. So far so good. When I press the power button on the PC the system goes into hybernation, interceptor senses this and runs my program "closeservo" to close the screen. The screen closes and the PC is turned OFF.
Now the problem. When I press the power button again the pc boots from hybernation and after finishes booting, interceptor should run my other prog called "openservo" so the screen can open. This is not the case because interceptor does nothing. I either mouse the mouse or to click on any area of the screen so interceptor can run my program and open the screen. All the tests have been done on my desktop PC. Can you please help me out on this ?
__________________
The road is long but we are getting there.

Last edited by tolisn; 06-17-2006 at 11:20 AM.
tolisn is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 06-17-2006, 12:37 PM   #69
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
ok, let see what we can do...

You have "openservo" specified in the ini for RESUME=
Have you tried to increase the time for RESUMEWAIT=

try putting this script in the same directory and add for the resume command

let me know what you find


you will need to take the .txt off of the attachment
Attached Files
File Type: txt msgpop.vbs.txt (44 Bytes, 115 views)
whodwho is offline   Reply With Quote
Old 06-17-2006, 01:24 PM   #70
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
I tried out you suggestion to increase the resumewait time period. The problem still exists. I pointed interceptor to your script file. After the resume sequence finshed nothing happens until I move or click the mouse. After that I get this error message. I tried running the script by double clicking on it, it runs fine so I asume that I have VB scripting enabled. Any more ideas
Attached Images
 
__________________
The road is long but we are getting there.

Last edited by tolisn; 06-17-2006 at 01:38 PM.
tolisn is offline   Reply With Quote
Old 06-17-2006, 01:45 PM   #71
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
as far as the error, you probably need to quote the command because of the space in 'Program Files'

now for the other... so it seems to need the mouse movement to wake the resume trigger???

I will try it on mine now


Edit: The script error is not from the space, if you put a cscript in front of it it works

Now, when I return from suspend the script fires without touching it, so you have let it sit like for a minute and it never fires?

Last edited by whodwho; 06-17-2006 at 02:01 PM.
whodwho is offline   Reply With Quote
Old 06-17-2006, 02:27 PM   #72
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
I tried letting it for about 4-5 minutes and nothing happens. As soon as I move the mouse then it fires up.

I'm not suspending the PC I hybernating it or is it the same ?

BTW where do you put the cscript in front off?
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 06-17-2006, 02:38 PM   #73
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
Should behave the same, It did work when I programed it long ago, I will switch to hibernate and check.

The program appears to not let you edit the line, in the ini file you would add cscript in from of the command line no quotes:

RESUME=cscript C:\Program Files\RoadRunner\msgpop.vbs

I guess I could see if I could put a mouse move in but if the other is not firring it appears that you don't get a resume message until the mouse is moved.

edit: worked the same for hibernation

try it without the mouse plugged in, I wonder if it is the mouse driver holding up the process...

Last edited by whodwho; 06-17-2006 at 02:47 PM.
whodwho is offline   Reply With Quote
Old 06-17-2006, 02:40 PM   #74
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
OK thanks I'll be standing by
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 06-17-2006, 02:51 PM   #75
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
worked the same for hibernation

try it without the mouse plugged in, I wonder if it is the mouse driver holding up the process...
whodwho 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
Rewiring ATX power button DCC Power Supplies 10 02-07-2008 06:17 AM
linking into laptop power button corsamel General Hardware Discussion 18 09-06-2007 10:47 PM
FS For Sale 7" LCD VGA/USB, Opus 125w Power Supply, ATX P3-700 10GB 256r oudis Classified Archive 7 06-15-2004 10:29 PM
ATX board power?? Alphared Power Supplies 9 01-10-2003 01:36 PM
PC power button problem BMp3W Power Supplies 4 10-12-2002 03:36 AM



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