Jump to content

Open Directory


 Share

Recommended Posts

$Folder = ClipGet()
Run('explorer "' & $Folder & '"')

<{POST_SNAPBACK}>

This works fine, is folder in this case a sort of varible?

The window opens in the background, i want to add "@SW_MAXIMIZE" but don't know how in this script because the run line is different as in manual.....

Note #1: the window must be on top, alle files in folder must be selected en opened, thats the reason why it has to be on top

Note #2: the title of the windows i never the same, so i can't call it with winactivate

Edited by mikezwet2
Link to comment
Share on other sites

This works fine, is folder in this case a sort of varible?

The window opens in the background, i want to add "@SW_MAXIMIZE" but don't know how in this script because the run line is different as in manual.....

Note #1: the window must be on top, alle files in folder must be selected en opened, thats the reason why it has to be on top

Note #2: the title of the windows i never the same, so i can't call it with winactivate

<{POST_SNAPBACK}>

I found out:

$Folder = ClipGet()
Run('explorer "' & $Folder & '"')   
sleep(400)
WinSetState($Folder, "", @SW_MAXIMIZE)
sleep(400)
Send ("^a")

No i want to close this window, i tried with winclose($folder) but doens't work......

Edited by mikezwet2
Link to comment
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
 Share

  • Recently Browsing   0 members

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