Jump to content

Recommended Posts

Posted

hi all,

I have once problem facing. Well i have VM ware installed on my pc. and i want to write a script which will do 2 tasks for me.

1) will revert my existing image to Clean Image

2) Will copy "X" folder from my base machine to the newly started VM machine (from above step)

I have pasted the screen shot here please help me out guys or i will be in a big mess.

I have created below script now i am stuck in how to open the Clean image?

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

Run('C:\Program Files\VMware\VMware Workstation\vmware.exe')

WinWaitActive("Vista Ultimate - VMware Workstation")

winwait("Vista Ultimate - VMware Workstation", "", 5)

Send ("[,^m]")

ControlClick("Vista Ultimate - Snapshot Manager", "Clean Image", 1306, "Left", 1)

ControlClick("Vista Ultimate - Snapshot Manager", "Clean Image", 1306, "Left", 1)

post-54055-12574266093412_thumb.gif

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...