OK, this is probably a stupidly simple script, but for some reason i can’t get it to work. I want to read a filename, and turn it into a variable that i can use later on in the script. (Basically, I’m creating an html file where the title is based on the name of a jpg; creating the html is no problem, but trying to read the filename is proving harder than expected). I would have thought something simple like this would work:
set myvariable to name of (choose file)
i keep getting an error 'could not get name of alias"…