cinesync 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.markdown +53 -0
- data/Rakefile +59 -0
- data/Samples/Export Notes to CSV.rb +33 -0
- data/VERSION +1 -0
- data/cineSync Session v3 Schema.rnc +164 -0
- data/cinesync.gemspec +76 -0
- data/lib/cinesync/color_grading.rb +70 -0
- data/lib/cinesync/event_handler.rb +67 -0
- data/lib/cinesync/frame_annotation.rb +19 -0
- data/lib/cinesync/mask.rb +41 -0
- data/lib/cinesync/media_file.rb +122 -0
- data/lib/cinesync/pixel_ratio.rb +22 -0
- data/lib/cinesync/play_range.rb +21 -0
- data/lib/cinesync/session.rb +24 -0
- data/lib/cinesync/ui/standard_additions.rb +473 -0
- data/lib/cinesync/ui/win32_save_file_dialog.rb +95 -0
- data/lib/cinesync/ui.rb +68 -0
- data/lib/cinesync/xml.rb +436 -0
- data/lib/cinesync/zoom_state.rb +18 -0
- data/lib/cinesync.rb +46 -0
- data/test/helper.rb +10 -0
- metadata +128 -0
@@ -0,0 +1,122 @@
|
|
1
|
+
require 'cinesync/play_range'
|
2
|
+
require 'cinesync/zoom_state'
|
3
|
+
require 'cinesync/pixel_ratio'
|
4
|
+
require 'cinesync/mask'
|
5
|
+
require 'cinesync/color_grading'
|
6
|
+
require 'cinesync/frame_annotation'
|
7
|
+
|
8
|
+
|
9
|
+
module CineSync
|
10
|
+
class MediaBase
|
11
|
+
attr_accessor :user_data, :active, :current_frame
|
12
|
+
attr_accessor :groups, :play_range
|
13
|
+
|
14
|
+
alias_method :active?, :active
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@user_data = ''
|
18
|
+
@active = false
|
19
|
+
@current_frame = 1
|
20
|
+
|
21
|
+
@groups = []
|
22
|
+
@play_range = PlayRange.new
|
23
|
+
end
|
24
|
+
|
25
|
+
def uses_pro_features?
|
26
|
+
false
|
27
|
+
end
|
28
|
+
|
29
|
+
def valid?
|
30
|
+
current_frame >= 1 and play_range.valid?
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
35
|
+
class MediaFile < MediaBase
|
36
|
+
attr_accessor :name, :locator, :notes
|
37
|
+
attr_reader :annotations
|
38
|
+
attr_accessor :zoom_state, :pixel_ratio, :mask, :color_grading
|
39
|
+
|
40
|
+
def initialize(locator_arg = nil)
|
41
|
+
super()
|
42
|
+
@name = ''
|
43
|
+
@notes = ''
|
44
|
+
@annotations = Hash.new {|h,k| h[k] = FrameAnnotation.new(k) }
|
45
|
+
def @annotations.<<(ann)
|
46
|
+
self[ann.frame] = ann
|
47
|
+
end
|
48
|
+
|
49
|
+
@locator = MediaLocator.new(locator_arg)
|
50
|
+
@name = File.basename(@locator.path || @locator.url.andand.path || '')
|
51
|
+
|
52
|
+
@zoom_state = ZoomState.new
|
53
|
+
@pixel_ratio = PixelRatio.new
|
54
|
+
@mask = Mask.new
|
55
|
+
@color_grading = ColorGrading.new
|
56
|
+
end
|
57
|
+
|
58
|
+
def uses_pro_features?
|
59
|
+
super || [zoom_state, pixel_ratio, mask, color_grading].any? {|x| not x.default? }
|
60
|
+
end
|
61
|
+
|
62
|
+
def valid?
|
63
|
+
super and
|
64
|
+
name.length >= 1 and
|
65
|
+
locator and locator.valid? and
|
66
|
+
annotations.values.all? {|ann| ann.valid? } and
|
67
|
+
[zoom_state, pixel_ratio, mask, color_grading].all? {|x| x.valid? }
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
class GroupMovie < MediaBase
|
73
|
+
attr_accessor :group
|
74
|
+
|
75
|
+
def initialize(grp)
|
76
|
+
super()
|
77
|
+
@group = grp
|
78
|
+
end
|
79
|
+
|
80
|
+
def uses_pro_features?
|
81
|
+
true
|
82
|
+
end
|
83
|
+
|
84
|
+
def valid?
|
85
|
+
super and group and not group.empty?
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
|
90
|
+
class MediaLocator
|
91
|
+
attr_accessor :path, :url, :short_hash
|
92
|
+
|
93
|
+
def initialize(path_or_url_or_hash = nil)
|
94
|
+
@path = nil
|
95
|
+
@url = nil
|
96
|
+
@short_hash = nil
|
97
|
+
|
98
|
+
s = String(path_or_url_or_hash)
|
99
|
+
unless s.empty?
|
100
|
+
maybe_uri = URI::parse(s) rescue nil
|
101
|
+
|
102
|
+
if File.exist? s
|
103
|
+
@path = s
|
104
|
+
@short_hash = CineSync::short_hash(@path)
|
105
|
+
elsif maybe_uri and maybe_uri.scheme
|
106
|
+
# The argument could be parsed as a URI (use it as a URL)
|
107
|
+
@url = maybe_uri
|
108
|
+
elsif s =~ /^[0-9a-f]{40}$/
|
109
|
+
# Length is 40 characters and consists of all hex digits; assume this is a short hash
|
110
|
+
@short_hash = s
|
111
|
+
else
|
112
|
+
# Finally, assume it's a file path
|
113
|
+
@path = s
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
def valid?
|
119
|
+
path or url or short_hash
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module CineSync
|
2
|
+
class PixelRatio
|
3
|
+
attr_accessor :source_width, :source_height
|
4
|
+
attr_accessor :target_width, :target_height
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
@source_width = 1.0
|
8
|
+
@source_height = 1.0
|
9
|
+
@target_width = 1.0
|
10
|
+
@target_height = 1.0
|
11
|
+
end
|
12
|
+
|
13
|
+
def default?
|
14
|
+
source_width > 0.0 and source_width == source_height and
|
15
|
+
target_width > 0.0 and target_width == target_height
|
16
|
+
end
|
17
|
+
|
18
|
+
def valid?
|
19
|
+
default? or ([source_width, source_height, target_width, target_height].all? {|x| x > 0.0 }) rescue false
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module CineSync
|
2
|
+
class PlayRange
|
3
|
+
attr_accessor :in_frame, :out_frame, :play_only_range
|
4
|
+
|
5
|
+
alias_method :play_only_range?, :play_only_range
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@in_frame = nil
|
9
|
+
@out_frame = nil
|
10
|
+
@play_only_range = true
|
11
|
+
end
|
12
|
+
|
13
|
+
def default?
|
14
|
+
in_frame.nil? and out_frame.nil? and play_only_range?
|
15
|
+
end
|
16
|
+
|
17
|
+
def valid?
|
18
|
+
default? or (in_frame >= 1 and out_frame >= 1 and out_frame >= in_frame) rescue false
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module CineSync
|
2
|
+
class Session
|
3
|
+
attr_reader :file_version
|
4
|
+
attr_accessor :user_data, :media, :groups, :notes
|
5
|
+
attr_accessor :chat_elem, :stereo_elem
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@file_version = SessionV3XMLFileVersion
|
9
|
+
@user_data = ''
|
10
|
+
@media = []
|
11
|
+
@groups = []
|
12
|
+
@notes = ''
|
13
|
+
end
|
14
|
+
|
15
|
+
def session_features
|
16
|
+
(stereo_elem or media.any? {|m| m.uses_pro_features? }) ? :pro : :standard
|
17
|
+
end
|
18
|
+
|
19
|
+
def valid?
|
20
|
+
file_version == SessionV3XMLFileVersion and
|
21
|
+
media.all? {|m| m.valid? }
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,473 @@
|
|
1
|
+
module CineSync::UI::StandardAdditions
|
2
|
+
Version = 1.1
|
3
|
+
Path = "/System/Library/ScriptingAdditions/StandardAdditions.osax"
|
4
|
+
|
5
|
+
Classes = [
|
6
|
+
["Internet_address", "IPAD"],
|
7
|
+
["POSIX_file", "psxf"],
|
8
|
+
["URL", "url "],
|
9
|
+
["alert_reply", "aleR"],
|
10
|
+
["dialog_reply", "askr"],
|
11
|
+
["file_information", "asfe"],
|
12
|
+
["system_information", "sirr"],
|
13
|
+
["volume_settings", "vlst"],
|
14
|
+
["web_page", "html"],
|
15
|
+
]
|
16
|
+
|
17
|
+
Enumerators = [
|
18
|
+
["AppleTalk", "eatt"],
|
19
|
+
["AppleTalk_URL", "at "],
|
20
|
+
["At_Ease_applications", "apps"],
|
21
|
+
["At_Ease_applications_folder", "apps"],
|
22
|
+
["At_Ease_documents", "docs"],
|
23
|
+
["At_Ease_documents_folder", "docs"],
|
24
|
+
["Classic_domain", "fldc"],
|
25
|
+
["Directory_services", "esvd"],
|
26
|
+
["FTP_Servers", "esvf"],
|
27
|
+
["File_servers", "esva"],
|
28
|
+
["Folder_Action_scripts", "fasf"],
|
29
|
+
["Folder_Action_scripts_folder", "fasf"],
|
30
|
+
["IP", "eipt"],
|
31
|
+
["Media_servers", "esvm"],
|
32
|
+
["News_servers", "esvn"],
|
33
|
+
["Remote_applications", "esve"],
|
34
|
+
["Telnet_hosts", "esvt"],
|
35
|
+
["Web_servers", "esvw"],
|
36
|
+
["afp_URL", "afp "],
|
37
|
+
["apple_menu", "amnu"],
|
38
|
+
["apple_menu_items", "amnu"],
|
39
|
+
["apple_menu_items_folder", "amnu"],
|
40
|
+
["application_0xd2AppName0xd3", "agcp"],
|
41
|
+
["application_support", "asup"],
|
42
|
+
["application_support_folder", "asup"],
|
43
|
+
["applications_folder", "apps"],
|
44
|
+
["as_taught_in_school", "rndS"],
|
45
|
+
["ask", "ask "],
|
46
|
+
["boolean", "bool"],
|
47
|
+
["caution", "\000\000\000\002"],
|
48
|
+
["control_panels", "ctrl"],
|
49
|
+
["control_panels_folder", "ctrl"],
|
50
|
+
["control_strip_modules", "sdev"],
|
51
|
+
["control_strip_modules_folder", "sdev"],
|
52
|
+
["critical", "criT"],
|
53
|
+
["current_application", "agcp"],
|
54
|
+
["current_user_folder", "cusr"],
|
55
|
+
["desktop", "desk"],
|
56
|
+
["desktop_folder", "desk"],
|
57
|
+
["desktop_pictures_folder", "dtp\304"],
|
58
|
+
["directory_server_URL", "uldp"],
|
59
|
+
["documents_folder", "docs"],
|
60
|
+
["down", "rndD"],
|
61
|
+
["downloads_folder", "down"],
|
62
|
+
["editors", "oded"],
|
63
|
+
["editors_folder", "oded"],
|
64
|
+
["eof", "eof "],
|
65
|
+
["extensions", "extn"],
|
66
|
+
["extensions_folder", "extn"],
|
67
|
+
["favorites_folder", "favs"],
|
68
|
+
["file_URL_0x28obsolete0x29", "file"],
|
69
|
+
["fonts", "font"],
|
70
|
+
["fonts_folder", "font"],
|
71
|
+
["frontmost_application", "egfp"],
|
72
|
+
["ftp_URL", "ftp "],
|
73
|
+
["gopher_URL", "gphr"],
|
74
|
+
["help_", "\304hlp"],
|
75
|
+
["help_folder", "\304hlp"],
|
76
|
+
["home_folder", "cusr"],
|
77
|
+
["http_URL", "http"],
|
78
|
+
["informational", "infA"],
|
79
|
+
["internet_plugins", "\304net"],
|
80
|
+
["internet_plugins_folder", "\304net"],
|
81
|
+
["it", "agcp"],
|
82
|
+
["keychain_folder", "kchn"],
|
83
|
+
["launch_URL", "laun"],
|
84
|
+
["launcher_items_folder", "laun"],
|
85
|
+
["library_folder", "dlib"],
|
86
|
+
["local_domain", "fldl"],
|
87
|
+
["mail_URL", "mail"],
|
88
|
+
["mail_server_URL", "upop"],
|
89
|
+
["mailbox_URL", "mbox"],
|
90
|
+
["mailbox_access_URL", "imap"],
|
91
|
+
["me", "agcp"],
|
92
|
+
["message_URL", "mess"],
|
93
|
+
["modem_scripts", "\304mod"],
|
94
|
+
["modem_scripts_folder", "\304mod"],
|
95
|
+
["movies_folder", "mdoc"],
|
96
|
+
["multi_URL", "mult"],
|
97
|
+
["music_folder", "\265doc"],
|
98
|
+
["network_domain", "fldn"],
|
99
|
+
["network_file_system_URL", "unfs"],
|
100
|
+
["news_URL", "news"],
|
101
|
+
["nntp_URL", "nntp"],
|
102
|
+
["no", "no "],
|
103
|
+
["note", "\000\000\000\001"],
|
104
|
+
["pictures_folder", "pdoc"],
|
105
|
+
["plugins", "\304net"],
|
106
|
+
["preferences", "pref"],
|
107
|
+
["preferences_folder", "pref"],
|
108
|
+
["printer_descriptions", "ppdf"],
|
109
|
+
["printer_descriptions_folder", "ppdf"],
|
110
|
+
["printer_drivers", "\304prd"],
|
111
|
+
["printer_drivers_folder", "\304prd"],
|
112
|
+
["printmonitor", "prnt"],
|
113
|
+
["printmonitor_folder", "prnt"],
|
114
|
+
["public_folder", "pubb"],
|
115
|
+
["remote_application_URL", "eppc"],
|
116
|
+
["scripting_additions", "\304scr"],
|
117
|
+
["scripting_additions_folder", "\304scr"],
|
118
|
+
["scripts_folder", "scr\304"],
|
119
|
+
["secure_http_URL", "htps"],
|
120
|
+
["secure_news_URL", "snws"],
|
121
|
+
["shared_documents", "sdat"],
|
122
|
+
["shared_documents_folder", "sdat"],
|
123
|
+
["shared_libraries", "\304lib"],
|
124
|
+
["shared_libraries_folder", "\304lib"],
|
125
|
+
["short", "shor"],
|
126
|
+
["shutdown_folder", "shdf"],
|
127
|
+
["shutdown_items", "shdf"],
|
128
|
+
["shutdown_items_folder", "shdf"],
|
129
|
+
["sites_folder", "site"],
|
130
|
+
["speakable_items", "spki"],
|
131
|
+
["startup", "empz"],
|
132
|
+
["startup_disk", "boot"],
|
133
|
+
["startup_items", "empz"],
|
134
|
+
["startup_items_folder", "empz"],
|
135
|
+
["stationery", "odst"],
|
136
|
+
["stationery_folder", "odst"],
|
137
|
+
["stop", "\000\000\000\000"],
|
138
|
+
["streaming_multimedia_URL", "rtsp"],
|
139
|
+
["system_domain", "flds"],
|
140
|
+
["system_folder", "macs"],
|
141
|
+
["system_preferences", "sprf"],
|
142
|
+
["telnet_URL", "tlnt"],
|
143
|
+
["temporary_items", "temp"],
|
144
|
+
["temporary_items_folder", "temp"],
|
145
|
+
["to_nearest", "rndN"],
|
146
|
+
["toward_zero", "rndZ"],
|
147
|
+
["trash", "trsh"],
|
148
|
+
["trash_folder", "trsh"],
|
149
|
+
["unknown_URL", "url?"],
|
150
|
+
["up", "rndU"],
|
151
|
+
["user_domain", "fldu"],
|
152
|
+
["users_folder", "usrs"],
|
153
|
+
["utilities_folder", "uti\304"],
|
154
|
+
["voices", "fvoc"],
|
155
|
+
["voices_folder", "fvoc"],
|
156
|
+
["warning", "warN"],
|
157
|
+
["workflows_folder", "flow"],
|
158
|
+
["yes", "yes "],
|
159
|
+
]
|
160
|
+
|
161
|
+
Properties = [
|
162
|
+
["AppleScript_Studio_version", "sikv"],
|
163
|
+
["AppleScript_version", "siav"],
|
164
|
+
["CPU_speed", "sics"],
|
165
|
+
["CPU_type", "sict"],
|
166
|
+
["DNS_form", "pDNS"],
|
167
|
+
["IPv4_address", "siip"],
|
168
|
+
["POSIX_path", "psxp"],
|
169
|
+
["URL", "pURL"],
|
170
|
+
["alert_volume", "alvl"],
|
171
|
+
["alias", "alis"],
|
172
|
+
["boot_volume", "sibv"],
|
173
|
+
["bundle_identifier", "bnid"],
|
174
|
+
["busy_status", "bzst"],
|
175
|
+
["button_returned", "bhit"],
|
176
|
+
["computer_name", "sicn"],
|
177
|
+
["creation_date", "ascd"],
|
178
|
+
["default_application", "asda"],
|
179
|
+
["displayed_name", "dnam"],
|
180
|
+
["dotted_decimal_form", "pipd"],
|
181
|
+
["extension_hidden", "hidx"],
|
182
|
+
["file_creator", "asct"],
|
183
|
+
["file_type", "asty"],
|
184
|
+
["folder", "asdr"],
|
185
|
+
["folder_window", "asfw"],
|
186
|
+
["gave_up", "gavu"],
|
187
|
+
["home_directory", "home"],
|
188
|
+
["host", "HOST"],
|
189
|
+
["host_name", "ldsa"],
|
190
|
+
["input_volume", "invl"],
|
191
|
+
["kind", "kind"],
|
192
|
+
["locked", "aslk"],
|
193
|
+
["long_user_name", "siln"],
|
194
|
+
["long_version", "aslv"],
|
195
|
+
["modification_date", "asmo"],
|
196
|
+
["name", "pnam"],
|
197
|
+
["name_extension", "nmxt"],
|
198
|
+
["output_muted", "mute"],
|
199
|
+
["output_volume", "ouvl"],
|
200
|
+
["package_folder", "ispk"],
|
201
|
+
["password", "RApw"],
|
202
|
+
["path", "FTPc"],
|
203
|
+
["physical_memory", "sipm"],
|
204
|
+
["port", "ppor"],
|
205
|
+
["primary_Ethernet_address", "siea"],
|
206
|
+
["properties_", "pALL"],
|
207
|
+
["scheme", "pusc"],
|
208
|
+
["short_name", "cfbn"],
|
209
|
+
["short_user_name", "sisn"],
|
210
|
+
["short_version", "assv"],
|
211
|
+
["size", "ptsz"],
|
212
|
+
["system_version", "sisv"],
|
213
|
+
["text_encoding", "ptxe"],
|
214
|
+
["text_returned", "ttxt"],
|
215
|
+
["type_identifier", "utid"],
|
216
|
+
["user_ID", "siid"],
|
217
|
+
["user_locale", "siul"],
|
218
|
+
["user_name", "RAun"],
|
219
|
+
["visible", "pvis"],
|
220
|
+
]
|
221
|
+
|
222
|
+
Elements = [
|
223
|
+
["Internet_addresses", "IPAD"],
|
224
|
+
["POSIX_file", "psxf"],
|
225
|
+
["URL", "url "],
|
226
|
+
["alert_reply", "aleR"],
|
227
|
+
["dialog_reply", "askr"],
|
228
|
+
["file_information", "asfe"],
|
229
|
+
["system_information", "sirr"],
|
230
|
+
["volume_settings", "vlst"],
|
231
|
+
["web_pages", "html"],
|
232
|
+
]
|
233
|
+
|
234
|
+
Commands = [
|
235
|
+
["ASCII_character", "sysontoc", [
|
236
|
+
]],
|
237
|
+
["ASCII_number", "sysocton", [
|
238
|
+
]],
|
239
|
+
["adding_folder_items_to", "facofget", [
|
240
|
+
["after_receiving", "flst"],
|
241
|
+
]],
|
242
|
+
["beep", "sysobeep", [
|
243
|
+
]],
|
244
|
+
["choose_URL", "sysochur", [
|
245
|
+
["showing", "cusv"],
|
246
|
+
["editable_URL", "pedu"],
|
247
|
+
]],
|
248
|
+
["choose_application", "sysoppcb", [
|
249
|
+
["with_title", "appr"],
|
250
|
+
["with_prompt", "prmp"],
|
251
|
+
["multiple_selections_allowed", "mlsl"],
|
252
|
+
["as", "rtyp"],
|
253
|
+
]],
|
254
|
+
["choose_color", "sysochcl", [
|
255
|
+
["default_color", "dcol"],
|
256
|
+
]],
|
257
|
+
["choose_file", "sysostdf", [
|
258
|
+
["with_prompt", "prmp"],
|
259
|
+
["of_type", "ftyp"],
|
260
|
+
["default_location", "dflc"],
|
261
|
+
["invisibles", "lfiv"],
|
262
|
+
["multiple_selections_allowed", "mlsl"],
|
263
|
+
["showing_package_contents", "shpc"],
|
264
|
+
]],
|
265
|
+
["choose_file_name", "sysonwfl", [
|
266
|
+
["with_prompt", "prmt"],
|
267
|
+
["default_name", "dfnm"],
|
268
|
+
["default_location", "dflc"],
|
269
|
+
]],
|
270
|
+
["choose_folder", "sysostfl", [
|
271
|
+
["with_prompt", "prmp"],
|
272
|
+
["default_location", "dflc"],
|
273
|
+
["invisibles", "lfiv"],
|
274
|
+
["multiple_selections_allowed", "mlsl"],
|
275
|
+
["showing_package_contents", "shpc"],
|
276
|
+
]],
|
277
|
+
["choose_from_list", "gtqpchlt", [
|
278
|
+
["with_title", "appr"],
|
279
|
+
["with_prompt", "prmp"],
|
280
|
+
["default_items", "inSL"],
|
281
|
+
["OK_button_name", "okbt"],
|
282
|
+
["cancel_button_name", "cnbt"],
|
283
|
+
["multiple_selections_allowed", "mlsl"],
|
284
|
+
["empty_selection_allowed", "empL"],
|
285
|
+
]],
|
286
|
+
["choose_remote_application", "sysochra", [
|
287
|
+
["with_title", "appr"],
|
288
|
+
["with_prompt", "prmp"],
|
289
|
+
]],
|
290
|
+
["clipboard_info", "JonsiClp", [
|
291
|
+
["for", "for "],
|
292
|
+
]],
|
293
|
+
["close_access", "rdwrclos", [
|
294
|
+
]],
|
295
|
+
["closing_folder_window_for", "facofclo", [
|
296
|
+
]],
|
297
|
+
["computer", "fndrgstl", [
|
298
|
+
["has", "has "],
|
299
|
+
]],
|
300
|
+
["current_date", "misccurd", [
|
301
|
+
]],
|
302
|
+
["delay", "sysodela", [
|
303
|
+
]],
|
304
|
+
["display_alert", "sysodisA", [
|
305
|
+
["message", "mesS"],
|
306
|
+
["as", "as A"],
|
307
|
+
["buttons", "btns"],
|
308
|
+
["default_button", "dflt"],
|
309
|
+
["cancel_button", "cbtn"],
|
310
|
+
["giving_up_after", "givu"],
|
311
|
+
]],
|
312
|
+
["display_dialog", "sysodlog", [
|
313
|
+
["default_answer", "dtxt"],
|
314
|
+
["hidden_answer", "htxt"],
|
315
|
+
["buttons", "btns"],
|
316
|
+
["default_button", "dflt"],
|
317
|
+
["cancel_button", "cbtn"],
|
318
|
+
["with_title", "appr"],
|
319
|
+
["with_icon", "disp"],
|
320
|
+
["with_icon", "disp"],
|
321
|
+
["with_icon", "disp"],
|
322
|
+
["giving_up_after", "givu"],
|
323
|
+
]],
|
324
|
+
["do_shell_script", "sysoexec", [
|
325
|
+
["as", "rtyp"],
|
326
|
+
["administrator_privileges", "badm"],
|
327
|
+
["user_name", "RAun"],
|
328
|
+
["password", "RApw"],
|
329
|
+
["altering_line_endings", "alen"],
|
330
|
+
]],
|
331
|
+
["get_eof", "rdwrgeof", [
|
332
|
+
]],
|
333
|
+
["get_volume_settings", "sysogtvl", [
|
334
|
+
]],
|
335
|
+
["handle_CGI_request", "WWW\275sdoc", [
|
336
|
+
["searching_for", "kfor"],
|
337
|
+
["with_posted_data", "post"],
|
338
|
+
["of_content_type", "ctyp"],
|
339
|
+
["using_access_method", "meth"],
|
340
|
+
["from_address", "addr"],
|
341
|
+
["from_user", "user"],
|
342
|
+
["using_password", "pass"],
|
343
|
+
["with_user_info", "frmu"],
|
344
|
+
["from_server", "svnm"],
|
345
|
+
["via_port", "svpt"],
|
346
|
+
["executing_by", "scnm"],
|
347
|
+
["referred_by", "refr"],
|
348
|
+
["from_browser", "Agnt"],
|
349
|
+
["using_action", "Kapt"],
|
350
|
+
["of_action_type", "Kact"],
|
351
|
+
["from_client_IP_address", "Kcip"],
|
352
|
+
["with_full_request", "Kfrq"],
|
353
|
+
["with_connection_ID", "Kcid"],
|
354
|
+
["from_virtual_host", "DIRE"],
|
355
|
+
]],
|
356
|
+
["info_for", "sysonfo4", [
|
357
|
+
["size", "ptsz"],
|
358
|
+
]],
|
359
|
+
["list_disks", "earslvol", [
|
360
|
+
]],
|
361
|
+
["list_folder", "earslfdr", [
|
362
|
+
["invisibles", "lfiv"],
|
363
|
+
]],
|
364
|
+
["load_script", "sysoload", [
|
365
|
+
]],
|
366
|
+
["localized_string", "sysolocS", [
|
367
|
+
["from_table", "froT"],
|
368
|
+
["in_bundle", "in B"],
|
369
|
+
]],
|
370
|
+
["mount_volume", "aevtmvol", [
|
371
|
+
["on_server", "SRVR"],
|
372
|
+
["in_AppleTalk_zone", "ZONE"],
|
373
|
+
["as_user_name", "USER"],
|
374
|
+
["with_password", "PASS"],
|
375
|
+
]],
|
376
|
+
["moving_folder_window_for", "facofsiz", [
|
377
|
+
["from", "fnsz"],
|
378
|
+
]],
|
379
|
+
["offset", "sysooffs", [
|
380
|
+
["of", "psof"],
|
381
|
+
["in", "psin"],
|
382
|
+
]],
|
383
|
+
["open_for_access", "rdwropen", [
|
384
|
+
["write_permission", "perm"],
|
385
|
+
]],
|
386
|
+
["open_location", "GURLGURL", [
|
387
|
+
["error_reporting", "errr"],
|
388
|
+
]],
|
389
|
+
["opening_folder", "facofopn", [
|
390
|
+
]],
|
391
|
+
["path_to", "earsffdr", [
|
392
|
+
["from", "from"],
|
393
|
+
["as", "rtyp"],
|
394
|
+
["folder_creation", "crfl"],
|
395
|
+
]],
|
396
|
+
["path_to_resource", "sysorpth", [
|
397
|
+
["in_bundle", "in B"],
|
398
|
+
["in_directory", "in D"],
|
399
|
+
]],
|
400
|
+
["random_number", "sysorand", [
|
401
|
+
["from", "from"],
|
402
|
+
["to", "to "],
|
403
|
+
["with_seed", "seed"],
|
404
|
+
]],
|
405
|
+
["read", "rdwrread", [
|
406
|
+
["from", "rdfm"],
|
407
|
+
["for", "rdfr"],
|
408
|
+
["to", "rdto"],
|
409
|
+
["before_", "rbfr"],
|
410
|
+
["until", "rdut"],
|
411
|
+
["using_delimiter", "deli"],
|
412
|
+
["using_delimiters", "deli"],
|
413
|
+
["as", "as "],
|
414
|
+
]],
|
415
|
+
["removing_folder_items_from", "facoflos", [
|
416
|
+
["after_losing", "flst"],
|
417
|
+
]],
|
418
|
+
["round", "sysorond", [
|
419
|
+
["rounding", "dire"],
|
420
|
+
]],
|
421
|
+
["run_script", "sysodsct", [
|
422
|
+
["with_parameters", "plst"],
|
423
|
+
["in", "scsy"],
|
424
|
+
]],
|
425
|
+
["say", "sysottos", [
|
426
|
+
["displaying", "DISP"],
|
427
|
+
["using", "VOIC"],
|
428
|
+
["speaking_rate", "RATE"],
|
429
|
+
["pitch", "PTCH"],
|
430
|
+
["modulation", "PMOD"],
|
431
|
+
["volume", "VOLU"],
|
432
|
+
["stopping_current_speech", "STOP"],
|
433
|
+
["waiting_until_completion", "wfsp"],
|
434
|
+
["saving_to", "stof"],
|
435
|
+
]],
|
436
|
+
["scripting_components", "sysocpls", [
|
437
|
+
]],
|
438
|
+
["set_eof", "rdwrseof", [
|
439
|
+
["to", "set2"],
|
440
|
+
]],
|
441
|
+
["set_the_clipboard_to", "JonspClp", [
|
442
|
+
]],
|
443
|
+
["set_volume", "aevtstvl", [
|
444
|
+
["output_volume", "ouvl"],
|
445
|
+
["input_volume", "invl"],
|
446
|
+
["alert_volume", "alvl"],
|
447
|
+
["output_muted", "mute"],
|
448
|
+
]],
|
449
|
+
["store_script", "sysostor", [
|
450
|
+
["in", "fpth"],
|
451
|
+
["replacing", "savo"],
|
452
|
+
]],
|
453
|
+
["summarize", "fbcssumm", [
|
454
|
+
["in", "in "],
|
455
|
+
]],
|
456
|
+
["system_attribute", "fndrgstl", [
|
457
|
+
["has", "has "],
|
458
|
+
]],
|
459
|
+
["system_info", "sysosigt", [
|
460
|
+
]],
|
461
|
+
["the_clipboard", "JonsgClp", [
|
462
|
+
["as", "rtyp"],
|
463
|
+
]],
|
464
|
+
["time_to_GMT", "sysoGMT ", [
|
465
|
+
]],
|
466
|
+
["write", "rdwrwrit", [
|
467
|
+
["to", "refn"],
|
468
|
+
["starting_at", "wrat"],
|
469
|
+
["for", "nmwr"],
|
470
|
+
["as", "as "],
|
471
|
+
]],
|
472
|
+
]
|
473
|
+
end
|