Jump to content

Recommended Posts

Posted

Hello,

I am new to AutoIT. Its been 3 days I am learning and I am now stuck hence request you to help us. 

All I want is to expand a tree view. 

Here is the screen-shot :: 

2mrtctf.jpg

All I want to do is :

1. Lauch Eclipse

2. Click on "Help" Tab

3. Click on "About Eclipse SDK"

4. Click on "Installation Details" 

and then 

5. select is C/C++ Development Tool SDK & then Click on Un-install.

The code so far I have written is below :: 

#include <GuiTreeView.au3>


;Launch the eclipse
Run("E:\eclipse-SDK-3.8-win32\eclipse\eclipse.exe")
sleep(1000)

WinWait("Workspace Launcher")
WinActivate("Workspace Launcher")
ControlClick("Workspace Launcher","","Button3")

WinWait("Java - Eclipse SDK")
WinActivate("Java - Eclipse SDK")
Sleep(1000)
Send("!h")
Sleep(1000)
Send("a")
Sleep(1000)
WinWait("About Eclipse SDK")
WinActivate("About Eclipse SDK")
ControlClick("About Eclipse SDK","","Button3")
WinWait("Eclipse SDK Installation Details")
WinActivate("Eclipse SDK Installation Details")

Local $hTreeview = ControlGetHandle('[CLASS:SysTreeView32]', '', 'SysTreeView321')

Not able to progress after this. Any help would be appreciated !! 

Thank you 

Br

vk41

 

  • Moderators
Posted

Rather than trying to manipulate the GUI, have you taken a look at the director application reference material? You should be able to uninstall a feature completely from the command line, which would be much easier.

http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_director.html

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
×
×
  • Create New...