Luthien Posted April 28, 2008 Posted April 28, 2008 (edited) What I am trying to do is running a script in another virtual desktop. The script might be doing mouse moving or typing or whatever and my goal is to be able to still use the computer in another virtual desktop without being disturbed by the script actions and without disturbing the script. I tried a simple script which types several times "a b c" in notepad. Created 2 virtual desktops with nView manager and set the script running on the second one. Then I change to the 1st virtual desktop. The problem is that the key events then are sent to the 1st destop instead of to the 2nd desktop as I intend. Is there any way to tell the script to send the events to a different virtual desktop? Here is the very simple test script : WinWait("Sin título - Bloc de notas","") If Not WinActive("Sin título - Bloc de notas","") Then WinActivate("Sin título - Bloc de notas","") WinWaitActive("Sin título - Bloc de notas","") For $a=1 to 10 Step 1 Send("a{SPACE}b{SPACE}c{ENTER}a{SPACE}b{SPACE}c{ENTER}") Sleep(1000) Next Edited April 28, 2008 by Luthien
monoceres Posted April 28, 2008 Posted April 28, 2008 I just tested in vmware and no keyboard input "escaped", maybe test it instead? Broken link? PM me and I'll send you the file!
spudw2k Posted April 29, 2008 Posted April 29, 2008 (edited) I don't think he means virtual machines. I don't have an nVidia card, so I can't test the software. Can you send keys directly to the window you're working with? Edited April 29, 2008 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now