Hello,
I was wondering if there was a way to run AHK in a virtual machine (I believe this is the right term?) so it could perform various automated manipulations in background while I'd be able to use my PC as usual. The script I'm talking about needs focus, activation of windows, clicking and so on so obviously while it's running I can't do anything else.
I tried this program but when I switch desktops the script does not work in background:
<!-- m -->http://technet.micro... ... 17881.aspx<!-- m -->
If this is even possible, I'd like some suggestions about software please. I'd prefer something open source, free and most importantly fast and not resource-hungry.
Thanks!
"Virtual desktop" for AHK?
Started by
peter47
, Jun 08 2009 09:05 PM
3 replies to this topic
#1
Posted 08 June 2009 - 09:05 PM
#2
Posted 08 June 2009 - 09:18 PM
That is a virtual desktop, which is not a virtual PC.
I would recommend <!-- m -->http://www.virtualbox.org/<!-- m --> which is free.
Also, you may consider to check the controlsend/controlclick commands
to see if you can run you script to a "hidden" window in the background
I would recommend <!-- m -->http://www.virtualbox.org/<!-- m --> which is free.
Also, you may consider to check the controlsend/controlclick commands
to see if you can run you script to a "hidden" window in the background
#3
Posted 04 December 2011 - 11:41 PM
This thread is several years old, but I've been trying to get autohotkey to pass keystrokes through VirtualBox and I'm having a little trouble..
Here's what I'm trying:
This works if I use a notepad as the ID, but it doesn't seem to pass the keys (test) through to the virtual machine...
I'll keep trying at it, but it's been pretty frustrating so far...
Here's what I'm trying:
WinGet, noteid, ID, Win7 [Running] - Oracle VM VirtualBox F12::ControlSend, , test, ahk_id %noteid%
This works if I use a notepad as the ID, but it doesn't seem to pass the keys (test) through to the virtual machine...
I'll keep trying at it, but it's been pretty frustrating so far...
#4
Posted 05 December 2011 - 03:12 PM
Run the script on the virtual machine itself...




