Jump to content
Sign in to follow this  
Default

Setting The Default Viewstyle

Recommended Posts

Default

I've been playing around with the GUICtrlCreateObj Example in the Autoit Help file from the Function Reference section, using $oIE = ObjCreate("Shell.Explorer.2").

I'm wondering if there's a way to set the default viewstyle, and force explorer to display "details" every time.

Currently I'm using this:

CODE
$oIE.navigate($Directory)

ControlListView ( $GUI_Title , "" , "SysListView321", "ViewChange" , "details" )

Obviously it's clunky, and there must be a better way to do it. Any suggestions?

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  

×