VMware Communities
scoobydoo69
Contributor
Contributor

VMX configuration file

Hi,

Is it possible to send key in a .vmx file and if yes what would be the syntax ?

Basically I want to send "command + g" when the VM starts.

Thanks,

Mark

0 Kudos
7 Replies
daphnissov
Immortal
Immortal

No, not in Fusion and not in the VMX file, but in vSphere starting with 6.5 there is an API that can be used to send keystrokes as illustrated in William's article.

0 Kudos
scoobydoo69
Contributor
Contributor

Thanks,

So annoying, basically until I press a key or click my mouse then I have 2 mouse pointers in the VM.

Support are unable to resolve because if you take a screenshot then it only shows 1 mouse pointer. But there is 2 there.

0 Kudos
daphnissov
Immortal
Immortal

But that's only for like 1 second before you start to interact with the VM. Why is this a big deal?

0 Kudos
scoobydoo69
Contributor
Contributor

Because it doesn't do it on Windows 10 or if using Parallels.

I am using Windows 7 Professional.

Is it a known issue ?

0 Kudos
daphnissov
Immortal
Immortal

What exactly is your use case? What are you trying to accomplish here?

0 Kudos
scoobydoo69
Contributor
Contributor

To only have 1 mouse pointer automatically, its the 21st century, not the 1980s.

0 Kudos
daphnissov
Immortal
Immortal

But you have only one as soon as you click inside the guest to begin to control the VM, so what's the problem here? What are you trying to solve?

0 Kudos