• 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
Creating hyperlinks in Word 2004
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating hyperlinks in Word 2004


  • Subject: Creating hyperlinks in Word 2004
  • From: Matt Deatherage <email@hidden>
  • Date: Tue, 16 Aug 2005 17:06:47 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can it be done?

tell application "Microsoft Word"
    activate
    set d to content of selection
    set t to text object of selection
    set h to make new hyperlink object at t
    set content of hyperlink address of h to ¬
        "http://dictionary.reference.com/search?q="; & d
end tell

...always gives "Microsoft Word got an error: Can't make class hyperlink object."

I don't know if I can't make an object at that place, or if I can't make one at all.  The Word 2004 AppleScript reference is woefully silent on the subject, as is Google.   Can I do this or not?

- --
Matt Deatherage                              <email@hidden>
GCSF, Incorporated                      <http://www.macjournals.com>

-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)

iQA/AwUBQwJjeOQJS+YigHjzEQKVQQCg25WUXVDi/oo7JlOvSrFEUesXhocAoKBL
NT3/8typIO4TrRARikyK6AAn
=eFxV
-----END PGP SIGNATURE-----
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Creating hyperlinks in Word 2004
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: GUI Scripting - Print/Save PDF As Postscript
  • Next by Date: RE: GUI Scripting - Print/Save PDF As Postscript
  • Previous by thread: Quark 6.5 picture usage
  • Next by thread: Re: Creating hyperlinks in Word 2004
  • Index(es):
    • Date
    • Thread