• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quark error -35
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Quark error -35 (From: Joe McGovern <email@hidden>)

  • Prev by Date: Re: «constant afdregfp»
  • Next by Date: Re: Double Tell Problem
  • Previous by thread: Quark error -35
  • Next by thread: Re: Quark error -35
  • Index(es):
    • Date
    • Thread