• 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
InDesign CS external page destination
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign CS external page destination


  • Subject: InDesign CS external page destination
  • From: Götz Verdieck <email@hidden>
  • Date: Wed, 02 Jun 2004 11:53:28 +0200

Hi,

I posted this on the Adobe InDesign Scripting list, but nobody helped me.


I trie to make a bookmark to a external document.
Text bookmark works fine. Maybe someone can help?

This is my test script:

tell application "InDesign CS"
--Set up two example documents.
set myDocumentA to make document

tell myDocumentA

set myTextFrame to make text frame with properties {geometric bounds:{"6p",
"6p", "20p", "20p"}, contents:"Destination for Bookmark in Doc A"}

-- set hyperlink text destination
set myHyperLinkTextDestination to make hyperlink text destination with
properties {destination text:paragraph 1 of parent story of myTextFrame}
-- set hyperlink external page destination
set myHyperLinkExternalPageDestination to make hyperlink external page
destination with properties {destination text:paragraph 1 of parent story of
myTextFrame}

-- make bookmark is ok
set myParentBookmark to make bookmark with properties
{destination:myHyperLinkTextDestination, name:"Bookmark in A target A"}
end tell



set myDocumentB to make document
tell myDocumentB

set myTextFrame to make text frame with properties {geometric bounds:{"6p",
"6p", "20p", "20p"}, contents:"Destination for Bookmark in Doc B"}

set myParentBookmark to make bookmark with properties
{destination:myHyperLinkExternalPageDestination, name:"Bookmark in B mit
Ziel A"}
-- InDesign CS got an error: Diese Eigenschaft kann nicht f|r ein Objekt in
einem anderen Dokument eingerichtet werden.
--Translation: this property cannot be created for an object in another
document

end tell
end tell

Thanks in advance
Gvtz
_______________________________________________
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.


  • Prev by Date: Re: making a chart in Excel 2004?
  • Next by Date: RE: Need help in gui scripting
  • Previous by thread: Script not exiting
  • Next by thread: iTunes Picture data
  • Index(es):
    • Date
    • Thread