Jump to content

Recommended Posts

Posted (edited)

Tried to do elementary things, but cant gone thru catching the windows and doinf 3 clicks.

 

The task is to load RAMdisk from image file (save).

 

ShellExecuteWait("C:\Program Files (x86)\Gilisoft\RAMDisk\RAMDisk.exe")

WinWaitActive("TITLE: Create a RAM Disk]","")
ControlClick("TITLE: Create a RAM Disk]", "Cancel", "[CLASS:Button; INSTANCE:3]"

Etc but i.ve got just the runned program.

 

Here the 2 variants if loading

http://www.olaolaonline.net/page.php?image=20151212013510_2.png

http://www.olaolaonline.net/page.php?image=20151212013510_1.png

 

And the Gilisoft Ramdisk anyone can download usin google (ican give the link on trial but  maybe its prohibited)

 

Edited by NewbeeMan
Posted (edited)

ShellExecuteWait("C:\Program Files (x86)\Gilisoft\RAMDisk\RAMDisk.exe")

- thats work fine.

 

But the next step is the problem (on picture details), how to choose the mounting?

 

3.png

Edited by NewbeeMan
Posted (edited)

Here is needed algorithm (2 ways), both starting with th window "Create a Ramdisk".

The 1 variant (theoretically it could be done just with buttons TAB, ARROWs and ENTER).

1.png

 

And the second variant (but i think the 1 is better, because 1 var can be done without a mouse)

2.png

3.png

Edited by NewbeeMan
Posted

ShellExecuteWait("C:\Program Files (x86)\Gilisoft\RAMDisk\RAMDisk.exe")

- thats work fine.

 

But the next step is the problem (on picture details), how to choose the mounting?

if it works fine, you would not be here.

I suggest you either try Shellexecute , or read the help file properly for ShellExecuteWait.

Preferably both.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted (edited)

JohnOne, thank u, i using "Shellexecute" but how to catch the button on the next stage, for example button with the name "next".

2131234.png

 

Edited by NewbeeMan
Posted

Newbewman.

Check out the ramdisk product by soft perfect.  It is free and supports command line switches.

Kylomas

 

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

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...