I know it is a stupid question but I can’t figure it out in ASS.
I need to choose a text file and to use it as the source for the rest of the operation - copping files from one folder to another.
every paragraph is a description for on file so I can set a later “repeat” loop for the number of paragraphs in the text.
I have this code for testing, but it will only get the path to the file rather then the file it self. Or it will not read at all if I put “as alias” instead of the “as string”
if name of theObject is "Browse1" then set textfile to choose file with prompt "Choose the Text file" set txtcont to textfile as string set lineNum to the number of paragraphs in txtcont display dialog lineNum