Link to home
Start Free TrialLog in
Avatar of Dov_B
Dov_B

asked on

autohotkey when looping through files in a folder it only puts the path and the file extension while leaving out the filename

I find that auto hotkey is leaving out the name of a file when looping through the files in a folder here is the code
FileSelectfile, C:\Users\Benjamin\Documents\Nomi's stuff\record quick\*.*, 0, 0
{
Send, {ALTDOWN}f{ALTUP}o

send, %A_LoopFileName%
}

Open in new window

%A_LoopFileName% returns :\Users\Benjamin\Documents\Nomi's stuff\record quick\.mp3
notice in >>>>>>\.mp3 the filename is missing and so does the c at the beginning of the path disappear
like what the h ... is going on I ma using windows 8
ASKER CERTIFIED SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial