Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

add a file to end of an array

$
0
0
I have an array that contains the names of 3 selected files, $aSelection
I want to add them to a variable with a return after each file name.
then copy that data to the clipboard.
$music_cuts and ClipPut  DO NOT WORK.

can anyone help me get the file names into a variable, each file name on its own line. Thanks.



[ autoit ]      
LOCAL $music_cuts = "" For $File_Name = 1 To $aSelection If StringInStr($File_Name, ".TXT") Then MsgBox(4096,"123", $File_Name) ;$music_cuts = $music_cuts & $File_Name & Return ;ClipPut $music_cuts EndIf Next

Viewing all articles
Browse latest Browse all 12506

Trending Articles