Hi,
I am trying to automate the execution of applications within VMWare View Client (PCOIP). However, I am stuck with sending keys to applications. I have unsuccessfully tried On Screen Keyboard, SendKeys, Keyboard hook for this purpose. I am also read VIX API documentation but I don't think that it works for me as I do not have administrator rights. Please advise.
Regards,
Amjad Ali
I'm not sure I understand the question either, but I've had some success using AutoIT (http://www.autoitscript.com/site/autoit/) for automation in the past. Using that, you can compile a script as an executable to run within the VM.
If you don't have admin rights on the VM, you could still use the Run value in the current user registry to start an application at login. Have you tried putting the path to the executable you're trying to launch in HKCU\Software\Microsoft\Windows\CurrentVersion\Run?
You might be able to use both of these ideas, and put the path to an AutoIT executable in the HKCU Run key to get the kind of automation you're looking for.
Dave
Welcome to the forums Amjad. When you say automating are you referring to something like hot keys on the keyboard?
I'm not sure I understand the question either, but I've had some success using AutoIT (http://www.autoitscript.com/site/autoit/) for automation in the past. Using that, you can compile a script as an executable to run within the VM.
If you don't have admin rights on the VM, you could still use the Run value in the current user registry to start an application at login. Have you tried putting the path to the executable you're trying to launch in HKCU\Software\Microsoft\Windows\CurrentVersion\Run?
You might be able to use both of these ideas, and put the path to an AutoIT executable in the HKCU Run key to get the kind of automation you're looking for.
Dave
Hello mittim,
I am automating the steps outside of VM. For now, I am launching VMWare View Client via command line, pass credentials, connect to desktop, launching applications using mouse events but I can not send keystrokes to VMWare View Client if I have to type some thing inside VM. I have tried using OnScreen Keyboard.
Thanks Alot Dave.
AutoIt made my life easy. I am using the DLL in my project.
Regards,
Amjad Ali