| View previous topic :: View next topic |
| Author |
Message |
TeeJay Guest
|
Posted: Mon Mar 03, 2008 11:01 am Post subject: runnning AHK with remote desktop minimized? |
|
|
Hi *,
I have following problem:
My AHK.exe runs fine, even when I start it remotely via "remote desktop".
But when I minimze the "remote desktop"-window, the AHK.exe stops and resumes working only after restoring the "remote desktop"-window.
My AHK.exe is physically located on the remote machine.
I start my AHK.exe manually in the "remote desktop"-window.
I do not log off, just minimize the "remote desktop"-window.
I searched the forum but did not find an answer to this scenario...
Closest description of my problem is that of bubamarkus, posted Thu Sep 01, 2005 10:39 pm, in "Remote Desktop problem", but no really solution was given.
Any solutions in the meantime?
Thanks in advance,
TeeJay |
|
| Back to top |
|
 |
wOxxOm
Joined: 09 Feb 2006 Posts: 319
|
Posted: Tue Mar 04, 2008 12:37 pm Post subject: |
|
|
I suppose this:
RemoteAdmin server process launches a program on request of remote user (you). So R.A. is a parent process for AHK. Once you minimize your RA session client it signals the RA-server that. RA-server thinks now that since the client is minimized it does not need anything and to consume CPU power it halts any activity of itself and its child processes.
If I am right then either find a setting (may be hidden) for your RA server/client, or try to promote AHK processes into global context (seems like a virus?), or find another RA software |
|
| Back to top |
|
 |
CraSH23000
Joined: 22 Jun 2007 Posts: 38
|
Posted: Thu Mar 06, 2008 10:55 pm Post subject: |
|
|
I also have had this problem, I thought putting my actual ahk script onto the system I was remote connecting to would solve the problem, but minimizing halts all progress.
So I just leave it un-maximized behind my other windows.
A solution would be very nice though. _________________ What is real in our infinitely alternating perception of reality? |
|
| Back to top |
|
 |
none Guest
|
Posted: Wed Mar 12, 2008 4:22 am Post subject: |
|
|
| I hate to say this on an AutoHotkey forum but Autoit can do it. I had the same problem with Remote Desktop and changed to Autoit - all works fine now. The code for Autoit was a little trickey for me sometimes but I got it done. |
|
| Back to top |
|
 |
none Guest
|
Posted: Wed Mar 12, 2008 4:32 am Post subject: |
|
|
just a little note about Autoit - it seems like the send commands didn't like to work in Remote Desktop when minimized but I got around that by using the ControlSend command.
I hope this helps someone |
|
| Back to top |
|
 |
TeeJay Guest
|
Posted: Wed Mar 12, 2008 4:50 pm Post subject: |
|
|
Seems to be trickier than expected...
I tested running a batch script (copying a large file several times over and logging the number of the actual loop with time stamp), and that finished even when remote desktop window is minimized.
So it is NOT a (or any) remote process shutting down whenever remote desktop is minimized. It is AHK having this behaviour (maybe other processes too, though).
Still hoping for a solution............ |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 8:51 pm Post subject: |
|
|
Autohotkey works fine when I minimize the remote window.
however when I disconnect but keep logged in on the system the scripts stop.
And I really need a fix for this since I will soon have to run some scripts as a sort of server. (to automaticly book emails in a ticketing system and send out emails from the ticketing system.
Does someone know a solution for that?
(I take over Windows XP computers lokated in an other country than we are located ourself) |
|
| Back to top |
|
 |
Traderhut
Joined: 05 Apr 2008 Posts: 11 Location: DFW
|
Posted: Tue Aug 12, 2008 10:07 pm Post subject: "Stupid" solution... |
|
|
Well, I've been having the same problem, and I took a crazy approach...
There were two solutions actually..
I remote terminal'ed into Machine A, and using it, Remote terminaled into machine B which ran the script. On A, I left the window viewable (not minimized, as this will stop script running on B).
Then Disconnecting from A will not stop the script on B... Pretty crazy, but it works.
Option #2....
Install VMWare on Machine A... Run Script in VM on A... Script continues to run even if you disconnect from machine A....
Really want a AHK solution, as other processes continue to run just fine, and as someone pointed out, another scripter is able to get it to go...
-Chert _________________ ---
http://www.traderhut.com |
|
| Back to top |
|
 |
|