Code: Select all
Loop, %clipboard%\Ah2*
{
ah2_cuts = %ah2_cuts%`n%A_LoopFilename%
}
Ah2 Alligator Crawl Dr.mp3
Ah2 Ashmir Neck Dr.mp3
Ah2 Big Coconuts DrBass.mp3
This gives me nothing in return. I would expect to get the same result as above WITHOUT .mp3 in each file name. I cant even get the msgbox to show anything.
Code: Select all
Loop, %ah2_cuts%\*.mp3
{
msgbox, %A_LoopFilename%
StringTrimRight, No_mp3, A_LoopFilename, 4
ah2_cuts2 = %ah2_cuts2%`n%No_mp3%
}