How to open the "new" open folder dialog?

Get help with using AutoHotkey and its commands and hotkeys
Bral
Posts: 16
Joined: 04 Apr 2015, 21:24

How to open the "new" open folder dialog?

18 Sep 2019, 08:23

when i use FileSelectFolder, it open old open folder dialog. how to open new dialog like this:
QQ浏览器截图20190918212119.png
QQ浏览器截图20190918212119.png (56.37 KiB) Viewed 400 times
User avatar
jNizM
Posts: 2508
Joined: 30 Sep 2013, 01:33
GitHub: jNizM
Contact:

Re: How to open the "new" open folder dialog?

18 Sep 2019, 08:46

@Flipeador has written a function for it (but for v2)
[AHK] 1.1.30.03 x64 Unicode | [WIN] 10 Pro (Version 1903) x64 | [GitHub] Profile
Donations are appreciated if I could help you
User avatar
Flipeador
Posts: 1146
Joined: 15 Nov 2014, 21:31
GitHub: Flipeador
Location: Argentina
Contact:

Re: How to open the "new" open folder dialog?

18 Sep 2019, 08:59

AHKv1: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=65909&p=283111#p283101(specifically here).
@jNizM: My v2 code is out of date. I'll be updating it soon.

:wave:
Bral
Posts: 16
Joined: 04 Apr 2015, 21:24

Re: How to open the "new" open folder dialog?

19 Sep 2019, 08:41

Flipeador wrote:
18 Sep 2019, 08:59
AHKv1: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=65909&p=283111#p283101(specifically here).
@jNizM: My v2 code is out of date. I'll be updating it soon.

:wave:
How to show your "ChooseFolder dialog" as model dialog?
User avatar
Flipeador
Posts: 1146
Joined: 15 Nov 2014, 21:31
GitHub: Flipeador
Location: Argentina
Contact:

Re: How to open the "new" open folder dialog?

19 Sep 2019, 09:34

The first parameter allows you to specify the owner window. Is that what you are referring to?. :think:
Bral
Posts: 16
Joined: 04 Apr 2015, 21:24

Re: How to open the "new" open folder dialog?

19 Sep 2019, 10:07

Flipeador wrote:
19 Sep 2019, 09:34
The first parameter allows you to specify the owner window. Is that what you are referring to?. :think:
I think that's not i need for, I need that if open Choose Folder dialog, you can't switch to the main window,and can't click any button in main windows, until you close Choose Folder dialog.
User avatar
Flipeador
Posts: 1146
Joined: 15 Nov 2014, 21:31
GitHub: Flipeador
Location: Argentina
Contact:

Re: How to open the "new" open folder dialog?

19 Sep 2019, 10:28

That's what it's for, try it:

Code: Select all

Gui +HWNDhGui
Gui Add, Button,, My Button
Gui Show, x10 y10 w100 h100
ChooseFolder( [hGui, "Dialog title - ChooseFolder.."] )
ExitApp
Bral
Posts: 16
Joined: 04 Apr 2015, 21:24

Re: How to open the "new" open folder dialog?

20 Sep 2019, 05:02

Thank you very much, this code work fine.

Return to “Ask For Help”

Who is online

Users browsing this forum: flyingDman, Gio, Gully, LiangShuii, nitrofenix, TAC109 and 90 guests