• 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: Big thank you Jay, and the next question is...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Big thank you Jay, and the next question is...


  • Subject: Re: Big thank you Jay, and the next question is...
  • From: Jay Young <email@hidden>
  • Date: Sun, 24 Nov 2002 13:20:19 -0600

On Sunday, November 24, 2002, at 09:35 AM, bartbe wrote:

> No cigar, guys, if i leave the box type check in there there is no way
> it
> runs. If I take the type check out, it works. If the box i select is
> NOT a
> graphic box, nothing happens. Might not be state of the art, but it
> works.
>
> -----------------------------
> if (current box exists) and (box type of current box is picture box
> type) and ((data size of image 1 of current box) !C 1) then
> -----------------------------------

Did you add 'type' after 'picture box' as shown above? Take a look in
your QuarkXPress Dictionary and select 'box properties' which is under
'QuarkXPress"b Ancillary...' and make sure you have this:


------------------------------
box type --> picture box type/text box type/graphic box type/line box
type/xtension box type/group box type -- type of this box
------------------------------

You also might try testing this (make sure to delete [NO BREAK] and
keep those 3 lines on 1 line):

------------------------------
tell application "QuarkXPress"b"
activate
tell document 1
if (current box exists) and (box type of [NO BREAK]
current box is picture box type) and [NO BREAK]
((data size of image 1 of current box) !C 1) then
display dialog "looks fine"
else
display dialog "can't find image"
end if
end tell
end tell
------------------------------

Jay
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Big thank you Jay, and the next question is... (From: bartbe <email@hidden>)

  • Prev by Date: FileMaker Pro, get ID's of records found
  • Next by Date: Re: Big thank you Jay, and the next question is...
  • Previous by thread: Re: Big thank you Jay, and the next question is...
  • Next by thread: Re: Big thank you Jay, and the next question is...
  • Index(es):
    • Date
    • Thread