Sign in to follow this  
Followers 0
DivineDominion

Chosing install path with a TreeView only

5 posts in this topic

#1 ·  Posted (edited)

Hi!

I tried to setup a LaTeX environment. 5 setups or so are working fine (Python, ImageMagick, ...), then it was time for MiKTeX, the last in line. It's always the last one that's not working, isn't it? Chosing a path by simply typing it in is not possible and I can't figure out a solution. Browsing for a directory results in a tree view-only dialogue:

Posted Image

Is it possible to navigate through it, looking for my CD-ROM (labeled "MiKTeX") as a sub directory of my "Arbeitsplatz" (My Computer)? I didn't find any commands for such operation because I don't have a GUIControl handle given by GUICreateTreeView or similiar.

By the way: ControlSetText on the disabled TextBox doesn't work. It looks like the path is stored in a variable, therefore it doesn't matter what I write in the box, I always get an error saying:

The directory

[blank line here]isn't a valide package reposit directory

I'm very new to all this AutiIt Script stuff and I really hope that I just didn't notice something that makes automation possible, because it's necessary for the admins at my school not to waste time with the setup process.

Thanks for replies in advance!

Edited by DivineDominion

Share this post


Link to post
Share on other sites



Try ControlSend on the text box in the folder selection dialog, or if that does not work, a normal send of it.

TiP: i think + opens a tree and - closes a tree

#)

Share this post


Link to post
Share on other sites

(Control)Send didn't work, I tried that before. Since the Textbox is deactivated (that has nothing to do with the dialoge in front of the setup - it's alwys greyed) I can't type anything in.

The problem with navigating in a tree is that I don't know where to stop. Identifying a TreeViewItem of the scripts GUI-library seems to be very easy, but I don't find anything applicable for foreign controls...

Share this post


Link to post
Share on other sites

the Textbox is deactivated (that has nothing to do with the dialoge in front of the setup - it's alwys greyed) I can't type anything in.

check out ControlEnable(), then ControlSend()

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Didn't work. Whatever I try, it's gray and not changing state :o I think that this box is just for the user to see what he choses, hence it has no real use, since I can't change the variables of the setup which seem to store the path.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0