• 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: Replace all caps into plain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replace all caps into plain


  • Subject: Re: Replace all caps into plain
  • From: Hans Haesler <email@hidden>
  • Date: Wed, 27 Dec 2006 17:34:03 +0100

On Wed, 27 Dec 2006, Jan Bultereys wrote:

>I have extended the script already and can you give me a tip to "zoom in" to
>the 'hit' I would like to "zoom in" 300 % to the selection...

You can set the view scale manually, before running the script.
Or insert this line at the beginning:
---
set view scale to 300
---

And to show the selection you can insert the command like this
(I only repeat the two handlers, including Emmanuel's tip):
---
on selText(objRef)
  tell application "QuarkXPress Passport"
    set selection to objRef
      show selection
  end tell
end selText

on setPlain(objRef)
  tell application "QuarkXPress Passport"
    tell objRef
      set style to plain
    end tell
    set UpSTR to uppercase (selection as string)
    set contents of selection to UpSTR
  end tell
end setPlain
---

Don't you need to insert another handler which takes care
of the italics?


Regards,
Hans


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Replace all caps into plain
      • From: Jan Bultereys <email@hidden>
References: 
 >Re: Replace all caps into plain (From: Hans Haesler <email@hidden>)
 >Re: Replace all caps into plain (From: Jan Bultereys <email@hidden>)

  • Prev by Date: Re: Replace all caps into plain
  • Next by Date: Re: Replace all caps into plain
  • Previous by thread: Re: Replace all caps into plain
  • Next by thread: Re: Replace all caps into plain
  • Index(es):
    • Date
    • Thread