• 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
Help with AS problem please.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with AS problem please.


  • Subject: Help with AS problem please.
  • From: Nicholas Wilton <email@hidden>
  • Date: Mon, 14 Sep 2009 08:17:02 +1200
  • Acceptlanguage: en-US, en-NZ
  • Thread-topic: Help with AS problem please.

Title: Help with AS problem please.
Hi all
Heres a simple script I was testing under Snow to open a pre existing Quark file from my desktop:
tell application "QuarkXPress"
    
activate
   open "10.6:Users:xxxxxxx:Desktop:TEST"
end tell

also I tried

tell
application "QuarkXPress"
    
activate
   open file "10.6:Users:xxxxxxxx:Desktop:TEST"
end tell

Both generate this error under 10.6
error "QuarkXPress got an error: Can’t make some data into the expected type." number -1700 to item

Incidently the same script works fine under Leopard 10.5.
I have also reinstalled everything incase it was a dictionary problem. The only thing I haven't done is downgrade QuarkXpress. If I do it is no longer supported under 10.6.
This is driving me mad. Can anyone please explain to me what this error means or how to resolve it.

PS: I have recently stared using the mail list. Thank you all for your help and advice, what a great resource these lists are. Hopefully I can help someone in return. Cheers. Nick
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Help with AS problem please.
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: Variable keeps changing with date manipulation in Snow Leopard
  • Next by Date: Re: Help with AS problem please.
  • Previous by thread: Re: Variable keeps changing with date manipulation in Snow Leopard
  • Next by thread: Re: Help with AS problem please.
  • Index(es):
    • Date
    • Thread