Re: Quark error -35
Re: Quark error -35
- Subject: Re: Quark error -35
- From: Hans Haesler <email@hidden>
- Date: Tue, 10 Apr 2001 08:05:53 +0200
On Mon, 9 Apr 2001, Joe McGovern wrote:
>
tell application "QuarkXPress 4.11"
>
set fPath to (file path of document 1) as string
>
end tell
>
>
If I run this script on the same Quark document twice in a row I get the
>
following error:
>
>
--> QuarkXPress 4.11 got an error: Disk some object wasn't found.
>
>
Does anyone have any idea why? I would appreciate any help or suggestions.
Joe,
this is a bug. QuarkXPress has problems with file paths.
This helps: just insert the word 'get':
---
set fPath to (get file path of document 1) as string
---
The command inside of the parens is getting the alias first, then
it is converted to a string.
This two-liner does the same thing:
---
set fPath to (file path of document 1)
set fPath to fPath as string
---
Regards,
Hans
---
Hans Haesler | email@hidden