ex. among the list of folders to be created is the folder "Documenten". If I were to create folders in (for instance) C:\folders\subfolders\test, I'd want to create "Documenten test"
is that possible?
Code: Select all
#IfWinactive, ahk_class CabinetWClass ;Makes the script active only when explorer (window) is active... ^F6:: ;Ctrl+F6 hotkey... folders = ;this can also be read in from a txt file or and ini file and could also be separated by commas ( Documenten Presentatie WWFT Niet sturen Meterstanden ) controlgettext,address,ToolbarWindow323,A ;get address from Navigation Bar... address:=RegExReplace(address,".+: ") ;Format it... oVar := address ;or something like oVar := "c:\documents\somepath" ;if errorlevel ;if "cancel" is pressed ; exitapp for k,v in StrSplit(folders,"`n","`r") FileCreateDir, % oVar "\" v return ;Declare the Hotkey/label's End...