• 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: Scripting Hyperlink changes in InDesign 2.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Hyperlink changes in InDesign 2.0


  • Subject: Re: Scripting Hyperlink changes in InDesign 2.0
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 11 Apr 2002 15:49:59 +1000

On 11/4/02 3:13 PM +1000, Jeff Shapiro, email@hidden, wrote:

> I've been trying to find a way using AS that will let me select the text of
> the hyperlink and change it's character style.

Why bother selecting them?

tell application "InDesign 2.0"
tell document 1
set theStyle to character style "Link" -- or whatever

set theLinkClasses to class of source of hyperlinks
repeat with i from 1 to count theLinkClasses
if item i of theLinkClasses = hyperlink text source then
set applied character style of source text of source of hyperlink i to
theStyle
end if
end repeat
end tell
end tell

--
Shane Stanley, email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Scripting Hyperlink changes in InDesign 2.0
      • From: Jeff Shapiro <email@hidden>
References: 
 >Scripting Hyperlink changes in InDesign 2.0 (From: Jeff Shapiro <email@hidden>)

  • Prev by Date: Re: Scripting Hyperlink changes in InDesign 2.0
  • Next by Date: Record id of an item in Palm Desktop
  • Previous by thread: Re: Scripting Hyperlink changes in InDesign 2.0
  • Next by thread: Re: Scripting Hyperlink changes in InDesign 2.0
  • Index(es):
    • Date
    • Thread