... including URL and other Internet Web site references, is subject to change. without notice. ... does not give you any license to these patents, tr
Document source : download.microsoft.com
Microsoft Word Suite
273
Example
This example returns a list of antonyms for the word "big" in U.S. English.
set Alist to antonyms of (get synonym info object item to check "big" ¬
language id english us)
repeat with i in Alist
display dialog i
end repeat
Command: get theme name
Retrieves the string name of a theme used in an existing Word application.
Syntax
get theme name
theme ID integer Required. An index into the array of themes as listed in the Themes dialog
box (Format menu).
use friendly name Boolean Required. Determines whether or not the scheme name returned is
one suitable for display in the user interface. If false, the theme name returned is suitable for
use with the apply theme command.
Remarks
This command is used primarily to support wizards.
Command: get webpage font
Returns a web page font object for a particular character set.
Syntax
get webpage font enumeration Required. The character set from which you want to return the
web page font object. Can be one of the following:
Arabic character set
Cyrillic character set
English character set
Greek character set
Hebrew character set
Japanese character set
Korean character set
Multilingual Unicode character set
Simplified Chinese character set
Thai character set
Traditional Chinese character set
Vietnamese character set
Example
The following example uses the get webpage font command to set
myFont
to the web page font
object for the English character set in the active application.
set myFont to (get webpage font English character set)
Summary :
Can be one of the following: Arabic character set Cyrillic character set English character set Greek character set Hebrew character set Japanese character set Korean character set Multilingual Unicode character set Simplified Chinese character set Thai character set Traditional Chinese character set Vietnamese character set Example The following example uses the get webpage font command to set myFont to the web page font object for the English character set in the active application.
Tags :
font,get,theme,name,english,command,object,webpage,example,page,word,web,required