ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopseDocs/reload_preview.scpt
Revision: 3395
Committed: Fri May 16 14:25:26 2008 UTC (16 years, 1 month ago) by gezelter
File size: 2662 byte(s)
Log Message:
OOPSE docs for version 4

File Contents

# Content
1 FasdUAS 1.101.10 k l 
2 Reload Preview Document 1.0
3 By Trevor Harmon <trevor@vocaro.com>
4
5 Based in part on the "Checking Accessibility Status" script by Apple.
6 http://www.apple.com/applescript/uiscripting/01.html
7  l 
8
9 i I 0reload_document o 0doc k7 l l A; Make sure the document in question is the frontmost window I
10 .sysoexecTEXTTEXT b m  open  o 0doc l l   Now close it!" !O5#$ #O 4%& %O3'( 'O2)* )O!1+, +I(0-
11 .prcsclicuieluiel -4(,.
12 
13 menI .m*+/ / Close ,4!%0
14 
15 menE 0m#$ *41
16 
17 mbri 1m2 2
18 File (43
19 
20 mbar 3m &4 4
21 
22 prcs 4m5 5 Preview $m 66null߀ System Events.app߀^p~0()( נsevsalis PeregrineH+ System Events.appkc CoreServicesYc 7Peregrine:System:Library:CoreServices:System Events.app$System Events.app Peregrine-System/Library/CoreServices/System Events.app/"7 7l66 89 8l9:; :i<= <I>
23 .aevtoappnull**** >o 0argv =n ?@ ?I A 0reload_documentAB BnCD C4E
24 
25 cobj Em Do 0argv @f;F FlGHIG 0reload_document
26 .aevtoappnull****H JK 0reload_documentLL 0docJ 0docK 652/
27 .sysoexecTEXTTEXT
28 
29 prcs
30 
31 mbar
32 
33 mbri
34 
35 menE
36 
37 menI
38 .prcsclicuieluiel8%j O**/"*k/*/*k/
39 */j UUUUUOPI=MN
40 .aevtoappnull**** 0argvM 0argvN
41 
42 cobj 0reload_document
43 )k/k+ascr ޭ