Re: Removing image 1 in QXP
Re: Removing image 1 in QXP
- Subject: Re: Removing image 1 in QXP
- From: "Bob.Kalbaugh" <email@hidden>
- Date: Thu, 06 Sep 2001 10:38:09 -0500
on 9/6/01 4:01 AM, Mark Bjfrgager at email@hidden wrote:
>
How can I remove the picture in a specific picture box ?
>
>
Tried:
>
Set image 1 of boxIndex to NULL
>
Set image 1 of boxIndex to ""
>
>
No such luck. Any help appreciated.
>
>
Best regards
>
Mark Bjaergager
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
I'm not sure if boxIndex is a reference to -or- the name of the picture box.
Depending on your circumstance, try these...
For a reference:
--
tell document 1 of application "QuarkXPress"
activate
set boxIndex to a reference to picture box 1 -- or whatever
delete image 1 of boxIndex
end tell
--
or if it's the name
--
tell document 1 of application "QuarkXPress"
activate
delete image 1 of picture box "boxIndex"
end tell
--
HTH
bob.kalbaugh