Hi there,
I've been trying to find the answers to a couple of questions on the web without much luck and was wondering if anyone might be able to help.
First question, how do you query the properties of a file/folder etc. using either its POSIX path or alias in Applescript?
The second question is, how do I check if a sparsebundle exists. I tried
but I think it's falling over because it's not a file. Trouble is I can't figure out how to find out what type it actually is, hence question 1!
Thanks for your help.
I've been trying to find the answers to a couple of questions on the web without much luck and was wondering if anyone might be able to help.
First question, how do you query the properties of a file/folder etc. using either its POSIX path or alias in Applescript?
The second question is, how do I check if a sparsebundle exists. I tried
Code:
if exists POSIX file [posix path to my sparsebundle]
but I think it's falling over because it's not a file. Trouble is I can't figure out how to find out what type it actually is, hence question 1!
Thanks for your help.