Jump to content

Recommended Posts

Posted (edited)

$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
Posted (edited)

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
Posted

I tried

$Folder = ClipGet()
Run('explorer /e,"' & $Folder & '"')

Sleep(5000)

WinClose($folder)

and it worked fine.

Maybe you have not the full path shown in the title bar? Check your options.

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