Eskil

Diff
Login

Differences From Artifact [38d98c08e8]:

To Artifact [9098c247f9]:


130
131
132
133
134
135
136

































137
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

    }

    button $top.close -text "Close" -width 10 -command [list destroy $top] \
            -default active
    pack $top.close -side bottom -pady 4
    bind $top <Key-Return> [list destroy $top]
    bind $top <Key-Escape> [list destroy $top]
}

# Some notes about how to get PDF info from registry.
# Inended for future use when PDF printing is supported.
if 0 {

(diff) 4 % registry get HKEY_CLASSES_ROOT\\.pdf {}
AcroExch.Document

(diff) 5 % registry get HKEY_CLASSES_ROOT\\AcroExch.Document {}
Adobe Acrobat 7.0 Document

(diff) 13 % registry keys HKEY_CLASSES_ROOT\\.pdf\\OpenWithList
AcroRd32.exe

(diff) 13 % registry keys HKEY_CLASSES_ROOT\\.pdf\\OpenWithList
AcroRd32.exe

(diff) 16 % registry get HKEY_CLASSES_ROOT\\AcroExch.Document\\Shell\\Open\\Command {}
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" "%1"

(diff) 18 % registry get HKEY_CLASSES_ROOT\\AcroExch.Document\\CurVer {}
AcroExch.Document.7

(diff) 19 % registry get HKEY_CLASSES_ROOT\\AcroExch.Document.7\\Shell\\Open\\Command {}
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" "%1"

(diff) 20 % registry get HKEY_CLASSES_ROOT\\AcroExch.Document.7\\Shell\\Print\\Command {}
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /p /h "%1"

(fm2006.06-0704) 49 % auto_execok acroread
/usr/bin/acroread

}