Apple AppleScript Finder Guide Manuel d'utilisateur Page 81

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 168
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 80
CHAPTER 2
Finder Objects
Object Class Denitions 69
COMMANDS HANDLED
Clean Up, Close, Count, Data Size, Exists, Get, Make, Open, Select, Sort, Update
DEFAULT VALUE CLASS RETURNED
A reference to a group or, if you use the plural form groups, a list of references.
EXAMPLE
This script displays a dialog box requesting the name of the new group to
create, then opens the control panel Users & Groups, creates the new group,
and sets its name:
tell application "Finder"
set response to display dialog ¬
"Name of new group:" default answer ""
set newGroup to text returned of response
set cPanels to control panel "Users & Groups" of ¬
control panels folder
open cPanels
make group at cPanels with properties {name: newGroup}
end tell
Information Window 2
An object of class Information Window is the window that opens when you
select an item and choose Get Info from the File menu.
PROPERTIES
An information window has all the properties defined for object class Window
on page 95: Bounds, Closeable, Floating, Index, Modal, Position, Resizable,
Titled, Visible, Zoomable, and Zoomed.
Vue de la page 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 167 168

Commentaires sur ces manuels

Pas de commentaire