Adobe 65030089 Scripting Guide - Page 21

Token methods

Page 21 highlights

Property name next tokenType tagType Data type Token Integer constant Integer constant Token methods update Description Updates the text of the token if tokenType is TOKENTEXT. Returns Boolean Syntax update (newText) Parameters Parameter name newText Data type String Optional No getAttribute Description Returns the specific attribute value. Returns String Syntax getAttribute (attributeName) Parameters Parameter name attributeName Data type String Optional No ROBOHELP 8 SCRIPTING GUIDE 17 Classes Description Read-only Returns the next object Read-only Type of token Read-only Returns the type of tag if tokenType is TOKENTAG Description New text string to update for the token Description Name of the attribute

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

17
ROBOHELP 8 SCRIPTING GUIDE
Classes
Token methods
update
Description
Updates the text of the token if tokenType is TOKENTEXT.
Returns
Boolean
Syntax
update (newText)
Parameters
getAttribute
Description
Returns the specific attribute value.
Returns
String
Syntax
getAttribute (attributeName)
Parameters
next
Token
Read-only
Returns t
h
e next object
tokenType
Integer constant
Read-only
Type of token
tagType
Integer constant
Read-only
Returns t
h
e type of tag if tokenType is
TOKENTAG
Parameter name
Data type
Optional
Description
newText
String
No
New text string to update for t
h
e token
Parameter name
Data type
Optional
Description
attributeName
String
No
Name of t
h
e attribute
Property name
Data type
Description