home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
DISK1
/
MACROS.CMZ
/
SMARTPIC.SMM
< prev
next >
Wrap
INI File
|
1993-03-14
|
6KB
|
459 lines
[ver]
4
[sty]
~macro.sty
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[prn]
PostScript Printer
[port]
LPT1:
[lang]
1
[desc]
Uruchomienie Lotus SmartPics
Lotus WPD Marketing
Beginner
Exec, AppMinimize
723276149
9
681240805
12
2
0
0
0
0
0
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
[lay]
Standard
516
[rght]
16833
11908
1
720
1080
1
1252
1440
2
1
0
1
1
2
1
720
10465
14
1
720
1
1440
1
2160
1
2880
1
3600
1
4320
1
5040
1
5760
1
6480
1
7200
1
7920
1
8640
1
9360
1
10080
[hrght]
[lyfrm]
1
11200
0
0
11908
1252
0
1
3
1 0 0 0 0 0 0
0
0
1
[frmlay]
1252
11908
1
1440
0
1
360
1440
0
1
0
1
1
0
1
1440
10465
0
[txt]
Modified by Marek G. B</y>czek from UNICORN Poland
>
[frght]
[lyfrm]
1
13256
0
15753
11908
16833
0
1
3
1 0 0 0 0 0 0
0
0
2
[frmlay]
16833
11908
1
1440
360
1
15933
1440
0
1
0
1
1
0
1
1440
10465
0
[txt]
>
[elay]
[l1]
0
[pg]
2
60 0 0 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
74 0 0 1025 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
<:#245,9745>Macro by <+!>Charlie Pappas<-!>
<:#245,9745>Editted by <+!>Mike Jones<-!>
<:#240,9745>
<:#240,9745>function execsuite()
<:#240,9745>app = "smartpic.exe"
<:#240,9745>appname = "SmartPics Sampler"
<:#240,9745>defdir = "c:\smartpic"
<:#240,9745>ignorekeyboard(1)
<:#240,9745>declare missouri(xapp)
<:#240,9745>declare getprofile(xappname)
<:#240,9745>declare writeprofile(path, xappname)
<:#240,9745>declare tryit(path, xapp)
<:#240,9745>defstr path;
<:#240,9745>
<:#240,9745>if appisrunning(appname)
<:#240,9745> activateapp(appname)
<:#240,9745> apprestore(appname)
<:#240,9745> return 1
<:#240,9745>endif
<:#240,9745>if 0 = doschdir(defdir)
<:#240,9745> if tryit("", app) <;> 31
<:#240,9745> return 1
<:#240,9745> endif
<:#240,9745>endif
<:#240,9745>if tryit(getprofile(appname), app) <;> 31
<:#240,9745> return 1
<:#240,9745>endif
<:#240,9745>again:
<:#240,9745>if assign(&path, missouri(app)) <<<;> 0
<:#240,9745> if tryit(path, app) <;> 31
<:#240,9745> writeprofile(path, appname)
<:#240,9745> else
<:#240,9745> goto again
<:#240,9745> endif
<:#240,9745>endif
<:#240,9745>end function
<:#240,9745>
<:#240,9745>function tryit(path, app)
<:#240,9745>doschdir(path)
<:#240,9745>return exec(strcat$(path, app), "")
<:#240,9745>end function
<:#240,9745>
<:#240,9745>function writeprofile(path, appname)
<:#240,9745>writeprofilestring("LotusApps", appname, path, "amipro.ini")
<:#240,9745>end function
<:#240,9745>
<:#240,9745>function getprofile(appname)
<:#240,9745>return getprofilestring$("LotusApps", appname, "amipro.ini")
<:#240,9745>end function
<:#240,9745>
<:#240,9745>function missouri(app)
<:#240,9745>defstr box;
<:#240,9745>filledit(9001, "*.exe")
<:#240,9745>filledit(8007, app)
<:#240,9745>if assign(&box, dialogbox(".", "findapp")) <<<;> 1
<:#240,9745> return 0
<:#240,9745>endif
<:#240,9745>return getcurrentdir$()
<:#240,9745>end function
<:#240,9745>
<:#240,9745>
<:#240,9745>DIALOG findapp
<:#240,9745>-2134376448 8 73 35 200 97 "" "" "Odszukanie Aplikacji"
<:#240,9745>FONT 8 "Helv"
<:#240,9745>7 34 43 8 1000 1342177280 "static" "&Katalog:" 0
<:#240,9745>6 45 60 44 9001 1352728579 "listbox" "" 0
<:#240,9745>155 5 40 14 1 1342373889 "button" "OK" 0
<:#240,9745>155 21 40 14 2 1342373888 "button" "Anuluj" 0
<:#240,9745>105 78 90 8 7999 1342177280 "static" "" 0
<:#480,9745>7 6 142 9 1006 1342177280 "static" "Odszukaj katalog zawieraj</y>cy:" 0
<:#240,9745>7 16 107 8 8007 1342177280 "static" "" 0
<:#240,9745>70 78 34 10 1001 1342177280 "static" "</L>cie</>ka:" 0
<:#240,9745>END DIALOG
<:#240,9745>
>
[Embedded]
00004286
>
[macsum] 6
execsuite 0 0 5 3
tryit 534 2 1 37
writeprofile 615 2 1 42
getprofile 688 1 1 46
missouri 764 1 2 50
findapp 921 0 -1 61
[macse]
14 execsuite
7 "smartpic.exe"
8 1
7 "SmartPics Sampler"
8 2
7 "c:\smartpic"
8 3
0 32 1
0 1032 "{2}"
13
11 00000164
0 38 "{2}"
0 1031 "{2}"
5 1
15
9
5 0
0 781 "{3}"
13
18 0
11 00000265
16 tryit "" "{1}"
13
5 31
18 3
11 00000265
5 1
15
9
16 getprofile "{2}"
13
16 tryit [X] "{1}"
13
5 31
18 3
11 00000351
5 1
15
9
16 missouri "{1}"
13
0 805 &4 [X]
13
5 0
18 1
11 00000522
16 tryit "{4}" "{1}"
13
5 31
18 3
11 00000509
16 writeprofile "{4}" "{2}"
10 00000522
10 00000351
6 0
15
9
14 tryit
0 781 "{0}"
0 16 "{0}" "{1}"
13
0 22 [X] ""
13
15
9
6 2
15
9
14 writeprofile
0 287 "LotusApps" "{1}" "{0}" "amipro.ini"
6 2
15
9
14 getprofile
0 286 "LotusApps" "{0}" "amipro.ini"
13
15
9
6 1
15
9
14 missouri
0 31 9001 "*.exe"
0 31 8007 "{0}"
0 26 "." "findapp"
13
0 805 &2 [X]
13
5 1
18 1
11 00000127
5 0
15
9
0 290
13
15
9
6 1
15
9
DIALOG findapp
-2134376448 8 73 35 200 97 "" "" "Odszukanie Aplikacji"
FONT 8 "Helv"
7 34 43 8 1000 1342177280 "static" "&Katalog:" 0
6 45 60 44 9001 1352728579 "listbox" "" 0
155 5 40 14 1 1342373889 "button" "OK" 0
155 21 40 14 2 1342373888 "button" "Anuluj" 0
105 78 90 8 7999 1342177280 "static" "" 0
7 6 142 9 1006 1342177280 "static" "Odszukaj katalog zawieraj╣cy:" 0
7 16 107 8 8007 1342177280 "static" "" 0
70 78 34 10 1001 1342177280 "static" "îcie┐ka:" 0
00004311