• No results found

Word 2004 AppleScript Reference

N/A
N/A
Protected

Academic year: 2021

Share "Word 2004 AppleScript Reference"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks,

copyrights, or other intellectual property.

© 2004 Microsoft Corporation. All rights reserved.

Microsoft, MS-DOS, Windows, Windows NT, Windows Server, Entourage, Hotmail, and PowerPoint are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

(3)

3

Using the Word Dictionary

About the Word AppleScript Dictionary ... 15

Referring to the active element... 16

Working with document objects ... 16

Working with the selection object ... 18

Working with text range objects... 18

Assigning text ranges... 20

Returning text from a document ... 21

Applying formatting to text ... 22

Editing text ... 24

Finding and replacing text or formatting... 25

Selecting text in a document ... 26

Inserting text in a document ... 26

Working with tables... 27

Microsoft Office Suite Classes

assistant ... 29

balloon ... 32

balloon checkbox ... 36

balloon label ... 36

command bar ... 37

command bar button... 41

command bar combobox ... 42

command bar control... 43

command bar popup... 46

custom document property... 46

document property ... 46

web page font... 48

Microsoft Office Suite Commands

add item to combobox ... 49

clear combobox ... 49

execute ... 50

get combobox item ... 50

get count of combobox items ... 51

remove an item from combobox... 51

reset ... 52

(4)

Microsoft Word Suite Classes

add in ... 56

application... 58

auto text entry... 64

bookmark... 65 border... 67 border options... 71 browser ... 75 caption label ... 76 check box ... 78 custom label ... 79 data merge... 82

data merge data field ... 84

data merge data source... 84

data merge field... 86

data merge field name ... 87

default web options... 88

dialog ... 91 document... 92 document version... 100 drop cap... 100 drop down... 101 endnote ... 102 endnote options ... 103 envelope... 104 field ... 107 file converter ... 109 find ... 111 font ... 114 footnote... 119 footnote options... 119 form field ... 121 frame ... 123 header footer ... 125 heading style ... 127 hyperlink object ... 128 index... 129 key binding ... 131 letter content ... 133 line numbering ... 136 link format... 137 list entry ... 139 list format ... 139 list gallery ... 142 list level... 142 list template... 144 mailing label... 145 page number ... 146

page number options ... 147

page setup ... 148 pane... 153 recent file ... 155 replacement... 156 revision ... 158 selection object ... 159

(5)

5

subdocument... 166 system object ... 167 tab stop ... 168 table of authorities... 169 table of contents... 171 table of figures ... 173 template ... 175 text column... 177 text input ... 178

text retrieval mode ... 179

variable ... 180 view... 181 web options ... 185 window... 188 Word comment ... 191 Word list ... 193 Word options ... 193

work menu item ... 210

zoom... 210

Microsoft Word Suite Commands

accept ... 216

accept all revisions ... 216

activate object... 217

append to spike ... 217

apply bullet default ... 218

apply list format template ... 218

apply list template... 219

apply number default ... 220

apply page borders to all sections ... 220

apply theme... 221

auto format... 221

auto summarize ... 222

automatic change... 222

break link... 223

build key code... 223

calculate selection... 224

can continue previous list... 224

centimeters to points... 225

change file open directory... 225

check... 226 check consistency ... 226 check grammar ... 226 check spelling... 227 clean string ... 227 clear ... 228

clear all fuzzy options ... 229

clear formatting ... 230

click object ... 231

close print preview... 231

collapse outline ... 232

compare ... 232

compute statistics ... 233

convert ... 233

(6)

copy bookmark ... 234

copy format ... 235

copy object... 235

copy styles from template ... 235

count numbered items ... 236

create data source ... 237

create header source... 238

create letter content ... 239

create new document for hyperlink... 240

create new mailing label document ... 241

create range ... 242

create textbox ... 243

cut object... 243

data form ... 244

disable ... 244

display Word dialog ... 245

do Word repeat... 246

edit data source... 246

edit header source ... 247

edit main document ... 247

edit type ... 248

enable ... 249

end key... 249

endnote convert ... 250

escape key... 250

execute data merge... 250

execute dialog ... 251

execute find ... 251

execute key binding ... 253

expand ... 253 expand outline ... 253 extend... 254 find key ... 254 find record ... 255 fit to pages ... 256 follow ... 256 follow hyperlink ... 257 footnote convert... 258

get active writing style... 258

get border ... 259

get cross reference items... 259

get default file path ... 260

get default theme for... 260

get dialog ... 260

get document compatibility ... 261

get international information... 264

get keys bound to ... 264

get list gallery... 265

get next field... 265

get previous field... 266

get private profile string... 266

get profile string ... 267

get selection information ... 267

get spelling suggestions... 270

get story range ... 271

get synonym info object... 272

(7)

7

get webpage font ... 273

get zoom ... 274

grow font ... 274

home key ... 275

inches to points ... 275

insert... 276

insert auto text ... 276

insert auto text entry ... 277

insert break... 277

insert caption... 278

insert cells ... 278

insert columns... 279

insert cross reference... 279

insert database ... 280

insert date time ... 282

insert envelope data ... 283

insert file ... 284 insert formula... 285 insert paragraph ... 286 insert rows... 286 insert symbol... 287 key string ... 288 large scroll ... 288 lines to points... 289 list commands ... 289 list indent... 289 list outdent ... 290

make compatibility default ... 290

make new data merge ask field ... 291

make new data merge fill in field... 292

make new data merge if field ... 292

make new data merge next field ... 293

make new data merge next if field... 294

make new data merge rec field... 294

make new data merge sequence field... 295

make new data merge set field ... 295

make new data merge skip if field ... 296

manual hyphenation ... 296

mark entry for table of contents ... 297

mark entry for table of figures... 297

mark for index ... 298

merge ... 299

merge subdocuments... 299

millimeters to points ... 299

modified ... 300

next for browser... 300

next header footer... 301

next revision... 301

on time ... 301

open as document ... 302

open data source... 303

open document from workmenu ... 304

open header source ... 304

open recent file... 305

open subdocument... 305

open version... 306

(8)

organizer delete ... 307 organizer rename... 307 page scroll... 308 paste format ... 308 paste object ... 309 picas to points ... 310 points to centimeters... 310 points to inches ... 310 points to lines... 311 points to millimeters ... 311 points to picas ... 311 present it ... 311

previous for browser... 312

previous header footer... 312

previous revision... 312

print out ... 313

print out envelope ... 314

print out mailing label ... 315

print preview ... 316

protect ... 316

rebind ... 317

redo ... 318

reject ... 318

reject all revisions ... 318

reload ... 319

remove numbers... 319

remove theme ... 320

repaginate... 320

reset ... 320

reset continuation notice ... 320

reset continuation separator... 321

reset ignore all... 321

reset list gallery... 322

reset separator... 322

retrieve language ... 323

run auto macro ... 323

run letter wizard... 324

run VB macro ... 324 save as ... 325 save version... 326 screen refresh ... 326 select cell... 326 select column... 327

select current alignment ... 327

select current color ... 328

select current font ... 328

select current indent... 328

select current spacing... 329

select current tabs ... 329

select row... 330

send mail ... 330

set active writing style ... 331

set all fuzzy options ... 332

set as font template default ... 332

set as page setup template default ... 333

set default file path... 333

(9)

9

set document compatibility... 335

set number to text columns ... 338

set private profile string ... 338

set profile string... 338

show ... 339

show all headings... 339

show heading... 340

show me... 340

shrink discontiguous selection ... 340

shrink font ... 341

shrink selection ... 341

small scroll... 341

speak text... 342

split subdocument... 342

split table in selection... 343

substitute font ... 343

swap with endnotes ... 343

swap with footnotes... 344

toggle portrait ... 344 type backspace... 344 type paragraph ... 344 type text ... 345 undo ... 345 undo clear... 346 unlink ... 346 unprotect ... 346 update ... 347 update document ... 348 update field ... 349

update page numbers ... 349

update source... 349

update styles ... 350

update summary properties ... 350

use address book ... 351

use default folder suffix... 351

view property browser ... 351

web page preview ... 352

Word help... 352

Drawing Suite Classes

callout... 353

callout format... 354

fill format... 357

horizontal line format ... 362

inline horizontal line ... 363

inline picture ... 363

inline picture bullet ... 364

inline shape ... 365 line format ... 367 line shape... 372 picture ... 373 picture format ... 373 shadow format... 375 shape ... 376

(10)

text box... 382

text frame... 383

threeD format... 385

word art ... 389

word art format ... 390

wrap format ... 393

Drawing Suite Commands

activate object... 395

apply ... 396

automatic length... 396

break forward link... 397

convert to frame... 398

convert to inline shape... 398

convert to shape... 398

custom drop ... 399

custom length... 399

flip ... 400

get border ... 400

one color gradient... 401

patterned ... 401 pick up ... 402 preset drop ... 402 preset gradient ... 403 preset textured ... 404 reroute connections ... 404 reset ... 405 reset rotation ... 405 scale height... 406 scale width... 406

set extrusion direction... 407

set shapes default properties ... 407

set threeD format... 408

solid... 409

toggle vertical text ... 409

two color gradient ... 410

user picture... 411

user textured ... 411

valid link target... 412

z order... 412

Text Suite Classes

character ... 413 grammatical error... 414 paragraph ... 414 paragraph format ... 420 section ... 425 sentence ... 426 shading ... 427 spelling error... 429 text range ... 430 word ... 438 Word style ... 439

References

Related documents

outline the evolutionary process prescribed for GSM and UMTS networks and show where LTE/SAE fits in list the main technologies short-listed for inclusion in the E-UTRAN describe

An intellectual property assignment is the transfer of an owner’s property rights in copyrights,.. trademarks, patents, trade secrets, or other

Unlike other “I” type personalities, who tend to talk a lot about nothing, those with the gift of Wisdom show great depth of thought.. They need to guard their verbal skills and

All intellectual property rights, including patents, copyrights, trademarks, service marks, trade secrets and all other proprietary rights whatever in or related or ancillary to any

The Drexel University Department of Environmental Health & Safety will re-label the container during pick-up as either a recyclable/re-distributable material or as hazardous

All intellectual property rights and all other proprietary rights (including copyrights, patents, trademarks, source codes, products, processes, inventions, ideas, know-how)

All intellectual property rights and all other proprietary rights (including copyrights, patents, trademarks, source codes, products, processes, inventions, ideas,

Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other claims involving patents, copyrights, or other intellectual