Re: Replace all caps into plain
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