![]() |
![]() |
#1 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,442
|
Program to Execute a Command When Requester Appears
Hi!
Would anyone know of a program to execute a command when a requester appears: in my case, I would like to reboot my Amiga "server" everytime IXEmul has memory loss ![]() I found OkayDokey but it simulate the user clicking on the gadgets, it does not allow executing a command. I wrote a script that uses OkayDokey first and, when quiting, calls reboot but it is not as nice ![]() Thanks! |
![]() |
![]() |
#2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,035
|
I think AssignWedge comes with source code. Shouldn't be too difficult to adapt it for your case.
|
![]() |
![]() |
#3 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
I can not say how to do that but I would try ReqAttack. I guess, this tool can do the trick.
|
![]() |
![]() |
#4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,310
|
Maybe MCP its "Requester Timeout" patch can do it. At least the description does exactly what you want.
|
![]() |
![]() |
#5 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,442
|
Hi all!
Thanks a lot for your suggestions! I checked ReqAttack and MCP but they didn't do exactly what I needed so, short of modifying AssignWedge ![]() Code:
Echo "Warning! The server will reboot whenever there is a memory problem with IXEmul." OkayDokey SC=Workbench WI="ixnet.library message" TI=4 ACT CX=OkayDokey QA Echo "The server will reboot in 10 seconds..." Wait 10 Echo "Rebooting..." Wait 1 Reboot PS. I had a funny (phony?) behaviour with OkayDokey if my Workbench was not in the background: whenever I would click on the empty background, OkayDokey would quit... causing a reboot: everything works well if the Workbench is "backdrop". PPS. Could a gentle moderator mark this thread as [Solved] (at least for me!) ![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AsyncWB and Execute command crash | ancalimon | support.Apps | 0 | 19 July 2014 15:00 |
Cli program to "execute" .info files | olesio | support.Apps | 4 | 05 September 2010 19:19 |
execute a command line before launching a config for a game | turrican3 | request.UAE Wishlist | 10 | 18 July 2009 12:22 |
Execute Command Redirection Help | Ed Cruse | Coders. General | 2 | 30 September 2008 16:59 |
I cannot make whdload execute a command after it exits???? | keropi | project.WHDLoad | 12 | 23 January 2007 00:12 |
|
|