• 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: AppleScript, Pages and Text boxes (part 1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript, Pages and Text boxes (part 1)


  • Subject: Re: AppleScript, Pages and Text boxes (part 1)
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 19 Mar 2010 21:27:02 +0100

Here is the beginning of my final script :

--{code}
--[SCRIPT remove_textBox_background]
(*
Enregistrer le script en tant que Script : remove_textBox_background.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.

Ouvrir un document Traitement de texte de Pages.

menu Scripts > Pages > remove_textBox_background

Un dialogue vous demande ce que vous voulez faire.
Vous pouvez :
Annbuler
Prélever la couleur de fond du bloc texte sélectionné
Supprimer la couleur de fond de tous les blocs texte utilisant la couleur prélevée.

--=====

L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".

--=====

Save the script as a Script: remove_textBox_background.scpt

Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.

Open a Pages Word Processor document.

menu Scripts > Pages > remove_textBox_background

A dialog ask you what you want to do.
You may :
Cancel
Grab the color used as background in the selected text box
Remove the coloured background of every text blocks using the grabbed colour.

--=====

The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.

--=====

Yvan KOENIG (VALLAURIS, France)
Thanks to Axel Luttgens, ed Stockly and Deivy Petrescu .
2009/01/08
*)
--=====

To be continued …
 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

References: 
 >AppleScript, Pages and Text boxes (part 1) (From: Yvan KOENIG <email@hidden>)
 >Re: AppleScript, Pages and Text boxes (part 1) (From: Axel Luttgens <email@hidden>)
 >Re: AppleScript, Pages and Text boxes (part 1) (From: "email@hidden" <email@hidden>)
 >Re: AppleScript, Pages and Text boxes (part 1) (From: Yvan KOENIG <email@hidden>)
 >Re: AppleScript, Pages and Text boxes (part 1) (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: AppleScript, Pages and Text boxes (part 1)
  • Next by Date: Re: AppleScript, Pages and Text boxes (part 2)
  • Previous by thread: Re: AppleScript, Pages and Text boxes (part 1)
  • Next by thread: Re: AppleScript, Pages and Text boxes (part 2)
  • Index(es):
    • Date
    • Thread