foobar2000 screenshot:

So many apps are this style.
That's perfect.
I've been trying hard.. No joy.. yet.gwarble wrote: ↑29 Sep 2020, 14:53Thanks
Well I wouldn't want you to put an ugly trick in your elegant function, but if you came up with one I'd probably use it, as we treat no extension just like any other extension usually driven by the machine tool's software and/or interface (ethernet or memory card) requirements. Its surely not desperately needed as I've gotten by without it for this long![]()
Code: Select all
#NoEnv
#SingleInstance, Force
Filter := "|Run with AutoHotkeyA32.exe (*.ahk)|Run with AutoHotkeyU32.exe (*.ahk)||Run with AutoHotkeyU64.exe (*.ahk)"
Selection := ["AutoHotkeyA32.exe", "AutoHotkeyU32.exe", "AutoHotkeyU64.exe"]
File := FileSelectFile( 1,,"Select script & interpreter", Filter)
If ! (ErrorLevel)
MsgBox,,User choice, % "Run`n" . File . "`nwith`n" . Selection[A_LastError]
; Paste FileSelectFile() below
Thanks for looking in to it...
Nice! But if I make copies of files in explorer, the file copies end with Copy (2) .. Copy(3) and so on.
This function offers the ability...
This is great. Thank you so much.robodesign wrote: ↑07 Dec 2020, 18:53This function offers the ability...
https://github.com/marius-sucan/other-small-AHK-scripts/blob/master/select-folder-extended.ahk
Best regards, Marius.
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases
SendMode Input ; Recommended for new scripts due to its superior speed and reliability
#SingleInstance, Force ; Allow only one running instance of script
#Warn All, MsgBox ; Enable warnings to assist with detecting common errors
path := FileSelectFile("S16|||" . WinExist("A"), "C:\Downloads\AutoHotkey Test Script.ahk","Duplica File","|Tutti i file (*.*)")
if (path != "")
{
msgbox % path
}
return
FileSelectFile( Options:="", RootDir:="", Title:="", Filter:="" ) { ; v0.72 by SKAN on D39R/D39U
...
}
"123.abc" gives this:---------------------------
AutoHotkey Test Script.ahk
---------------------------
C:\Downloads\1
Script.ahk
---------------------------
OK
---------------------------
---------------------------
AutoHotkey Test Script.ahk
---------------------------
C:\Downloads\123.abc
t.ahk
---------------------------
OK
---------------------------
Return to “Scripts and Functions”
Users browsing this forum: Tanish19 and 17 guests