Re: simple applescript?

2004-12-12 Thread Sarah Reichelt
Hi Chipp, As others have said, you need to include the word "file" or "alias" before the file path in your AppleScript. Also, AppleScript file paths are different to the Unix style paths used by Rev. e.g. for the same test file, AppleScript gives me this path "Sarah HD:Users:sarah:Desktop:test

Re: simple applescript?

2004-12-10 Thread Dave Cragg
On 10 Dec 2004, at 10:03, Chipp Walters wrote: Hi all. Need a bit of help here...why doesn't this work? on mouseUp answer file "" if it is empty then exit to top put it into pPDFpath replace "/" with ":" in pPDFpath if char 1 of pPDFpath is ":" then delete char 1 of pPDFpath put "tell a

Re: simple applescript?

2004-12-10 Thread Ben Rubinstein
Chipp wrote: > Hi all. Need a bit of help here...why doesn't this work? > > on mouseUp > answer file "" > if it is empty then exit to top > put it into pPDFpath > replace "/" with ":" in pPDFpath > if char 1 of pPDFpath is ":" then delete char 1 of pPDFpath > put "tell application " "e& "Fi

simple applescript?

2004-12-10 Thread Chipp Walters
Hi all. Need a bit of help here...why doesn't this work? on mouseUp answer file "" if it is empty then exit to top put it into pPDFpath replace "/" with ":" in pPDFpath if char 1 of pPDFpath is ":" then delete char 1 of pPDFpath put "tell application " "e& "Finder" & quote & cr into tSc