home *** CD-ROM | disk | FTP | other *** search
Wrap
INI File | 1994-05-02 | 19.2 KB | 1,047 lines
[token] tokencount=97 0=endsub 10 10 0 0 1=end 10 11 0 0 2=sub 10 12 1 1 3=if 10 13 3 3 4=parameter 10 14 0 20 5=gosub 10 15 0 20 6=goto 10 16 1 1 7=else 10 17 0 0 8=label 10 18 1 1 9=endif 10 19 0 0 10=rem 10 20 0 20 11=iniread 11 10 4 5 12=istaskactive 11 11 2 2 13=iniwrite 11 12 4 4 14=mcisend 11 13 2 2 15=addshareexe 11 14 0 1 16=taskstart 11 15 1 4 17=ddeexecute 11 16 4 5 18=regbasewrite 11 17 2 2 19=taskstop 11 18 1 2 20=regbaseread 11 19 2 2 21=clipwrite 11 20 1 1 22=clipread 11 21 1 1 23=netaddconnection 11 22 2 3 24=netcancelconnection 11 23 1 2 25=netgetconnection 11 24 2 2 26=sendkeys 11 25 1 2 27=setwindowposition 11 26 2 5 28=setwallpaper 11 27 0 2 29=winhelp 11 28 1 2 30=reboot 11 29 0 2 31=copyfiletable 12 10 0 5 32=fileexist 12 11 2 2 33=filesearch 12 12 2 2 34=getexpandedfilename 12 13 2 3 35=getdiskfree 12 14 2 2 36=getdisklabel 12 15 2 2 37=getdisktype 12 16 2 2 38=del 12 17 1 1 39=rmdir 12 18 1 1 40=rd 12 18 1 1 41=mkdir 12 19 1 1 42=md 12 19 1 1 43=copy 12 20 2 3 44=getdisksize 12 21 2 2 45=versioninforead 12 22 3 3 46=setreadonly 12 23 1 2 47=isreadonly 12 24 2 2 48=setsystem 12 25 1 2 49=issystem 12 26 2 2 50=sethidden 12 27 1 2 51=ishidden 12 28 2 2 52=setarchive 12 29 1 2 53=isarchive 12 30 2 2 54=compute 13 10 4 4 55=concat 13 11 2 2 56=let 13 12 2 2 57=textread 13 13 2 3 58=split 13 14 4 4 59=splitpathname 13 15 3 3 60=resstringread 13 16 3 3 61=textwrite 13 17 2 4 62=gettablecount 13 18 1 1 63=gettablelinecount 13 19 1 2 64=gettableelementcount 13 20 1 3 65=len 13 21 2 2 66=askbox 14 10 2 5 67=msgbox 14 11 2 4 68=outbox 14 12 1 2 69=window 14 13 1 8 70=getuserinput 14 14 0 1 71=wait 14 15 1 1 72=pathbox 14 16 1 8 73=chdir 12 31 1 1 74=getdir 12 32 1 1 75=calcfiletable 13 22 3 5 76=beep 11 30 0 1 77=playwave 11 31 1 1 78=askend 10 21 0 0 79=direxist 12 33 2 2 80=ddepoke 11 33 4 5 81=for 10 23 3 3 82=next 10 24 0 0 83=exitfor 10 25 0 0 84=exitsub 10 22 0 0 85=filelen 12 34 2 2 86=filedate 12 35 2 3 87=changefiletype 12 39 3 3 88=getnewerfile 12 36 3 3 89=ispermissiontowrite 12 37 2 2 90=createtempname 12 38 1 3 91=dderequest 11 32 4 5 92=patchfile 12 40 3 3 93=getenvironment 11 34 2 2 94=findfirst 12 41 2 2 95=findnext 12 42 1 1 96=jump 10 26 1 1 97=touch 12 43 1 3 [1010] ;EndSub c=Ends a subroutine and executes the command after GoSub pc=0 alias=1012 [1011] ;End c=Ends the script pc=0 [1012] ;Sub c=Subroutine, thats a summary of commands which can be executes any time with GoSub pc=1 0=0|SubName| [1013] ;If c=Selection: Compares two values in given comparison operator and executes the next commands, if comparison was successfull, otherwise the commands after Else pc=3 0=0|Comparision variable| 1=-2|Comparision operator| 2=0|Comparision value| [1014] ;Parameter c=Local variables, that means variables, which are accessable only in the subroutine pc=20 0=0|ParameterName| 1=0|ParameterName| 2=0|ParameterName| 0=0|ParameterName| 3=0|ParameterName| 4=0|ParameterName| 5=0|ParameterName| 6=0|ParameterName| 7=0|ParameterName| 8=0|ParameterName| 9=0|ParameterName| 10=0|ParameterName| 11=0|ParameterName| 12=0|ParameterName| 13=0|ParameterName| 14=0|ParameterName| 15=0|ParameterName| 16=0|ParameterName| 17=0|ParameterName| 18=0|ParameterName| 19=0|ParameterName| alias=1012 [1015] ;GoSub c=Calls the given subroutine and initializes the local variables with the given values/strings pc=20 0=0|SubName| 1=0|String| 2=0|String| 3=0|String| 4=0|String| 5=0|String| 6=0|String| 7=0|String| 8=0|String| 9=0|String| 10=0|String| 11=0|String| 12=0|String| 13=0|String| 14=0|String| 15=0|String| 16=0|String| 17=0|String| 18=0|String| 19=0|String| [1016] ;Goto c=Jumps to the given Label pc=1 0=0|LabelName| [1017] ;Else c=Introduces the commands, which will be executed, if the If condition is false pc=0 alias=1013 [1018] ;Label c=A Name for a program part, which can be reached from everywhere in the code with Goto pc=1 0=0|LabelName| [1019] ;EndIf c=Ends a selection (If..Else..EndIf) pc=0 alias=1013 [1020] ;Rem c=Introduces a remark line pc=20 [1021] ;AskEnd c=Shows a dialog, which asks the user, if he wants to end the skript and acts simular to end pc=0 [1022] ;ExitSub c=Exits a sub before EndSub pc=0 Alias=1012 [1023] ;For c=Starts a For..Next iteration pc=3 0=0|Variable| 1=0|StartValue| 2=0|MaximumValue| [1024] ;Next c=Adds one to iteration variable and goes to For pc=0 alias=1023 [1025] ;ExitFor c=Exits a For iteration before Next pc=0 alias=1023 [1026] ;Jump c=Jumps the given number of code lines and continues from there pc=1 0=0|LineNumber| [1110] ;IniRead c='Reads values of the given INI-file (.INI) in a variable pc=5 0=0|ReturnValue| 1=1|IniFile|win.ini 2=0|Section| 3=0|Key| 4=0|DefaultValue| [1111] ;IsTaskActive c=Checks, if the given application or module is active pc=2 0=0|ReturnValue| 1=1|Application/Module| [1112] ;IniWrite c=Changes the given values or adds them to the given Ini file pc=4 0=0|IniFile|win.ini 1=1|Section| 2=0|Key| 3=0|Value| [1113] ;MCISend c=Executes a MCI command, e.g. output from sound or files analog to MediaControl pc=2 0=0|ReturnValue| 1=3|MCICommand| [11131] ;MCISendCommand c=MCICommand pc=24 0=OpenAudioCD|Open cdaudio alias {CD} 1=PlayAudioCD|Play {CD} 2=PlayAudioCDTrack|Play {CD} {fromTrack} {toTrack} 3=PlayAudioCDMinute|Play {CD} {fromMinute} {toMinute} 4=PlayAudioCDMillisek|Play {CD} {fromMillisec} {toMillisec} 5=EjectAudioCD|Set {CD} door open 6=CloseAudioCD|Set {CD} door close 7=StatusAudioCDTrack|Status {CD} current track 8=StatusAudioCDLength|Status {CD} length 9=StatusAudioCDTracks|Status {CD} number of tracks 10=StatusAudioCDLengthTrack|Status {CD} length track {TrackNo} 11=AudioCDModusTrack|Set {CD} time format tmsf 12=AudioCDModusMinutes|Set {CD} time format msf 13=AudioCDModusMillisec|Set {CD} time format milliseconds 14=PlayMCIFile|Play {MyMCI} wait 15=PlayMCIFileByte|Play {MyMCI} {fromByte} {toByte} 16=PlayMCIFileMilliSec|Play {MyMCI} {fromMillisec} {toMillisec} 17=PlayMCIFileSample|Play {MyMCI} {fromSample} {toSample} 18=MCIFileSamples|Set {MyMCI} time format samples 19=MCIFileModusBytes|Set {MyMCI} time format bytes 20=MCIFileModusMillisek|Set {MyMCI} time format milliseconds 21=CloseDevice|Close {CD} 22=OpenMCI|Open {datei} type {MCIType} alias {MyMCI} 23=CloseMCI|Close {MyMCI} [1114] ;AddShareExe c=Adds SHARE.EXE to AUTOEXEC.BAT to allow file locking, i.e. for a database software pc=1 0=0|Parameter| [1115] ;TaskStart c=Starts an application or module, loads/prints a document pc=4 0=1|File| 1=3|Function| 2=3|WindowState| 3=0|Timeout| [11151] ;Startfunction c=Function pc=3 0=Open|0 1=Print|-1 2=Open/Wait|1 [11152] ;WindowState c=WindowState pc=5 0=Normal and focus|1 1=Minimized with focus|2 2=Maximized with focus|3 3=Normal w/o focus|4 4=Minimized w/o focus|6 [1116] ;DDEExecute c=Starts a DDE connection to a given Windows application pc=5 0=0|Application|ProgMan 1=0|Topic|ProgMan 2=0|Item| 3=3|Command| 4=0|Timeout| [11163] ;DDEExecuteCommand c=DDEExecuteCommand pc=5 0=AddIcon|[additem({Datei}.exe,{SinnbildTitel},,)] 1=ReplaceIcon|[replaceitem({SinnbildTitel})] 2=DeleteIcon|[deleteitem({SinnbildTitel})] 3=DeleteGroup|[deletegroup({gruppe})] 4=CreateGroup|[creategroup({gruppe})] [1117] ;RegBaseWrite c=Edits the registration database of Windows, i.e. to introduce your documents the Windows system pc=2 0=3|Key| 1=0|Value| [11170] ;RegBaseWriteValue c=Value, to be added/changed pc=12 0=Key|.{EXT} 1=DocumentName|{Key} 2=OpenCommand|{Key}\shell\open\command 3=OpenDDE|{Key}\shell\open\ddeexec 4=OpenDDEIf|{Key}\shell\open\ddeexec\ifexec 5=OpenDDEApp|{Key}\shell\open\ddeexec\Application 6=OpenDDETopic|{Key}\shell\open\ddeexec\Topic 7=PrintDDE|{Key}\shell\print\ddeexec 8=PrintDDEIf|{Key}\shell\print\ddeexec\ifexec 9=PrintDDETopic|{Key}\shell\print\ddeexec\Topic 10=CLSID|{Key}\CLSID 11=Server|{Key}\protocol\stdfileediting\server [1118] ;TaskStop c=Ends an application or dynamic link library pc=2 0=1|Application/Module| 1=2|Wait| [1119] ;RegBaseRead c=Reads values from the registration database pc=2 0=0|ReturnValue| 1=3|Key| [11191] ;RegBaseReadKey c=Key pc=12 0=Key|.{EXT} 1=DocumentName|{Key} 2=OpenCommand|{Key}\shell\open\command 3=OpenDDE|{Key}\shell\open\ddeexec 4=OpenDDEIf|{Key}\shell\open\ddeexec\ifexec 5=OpenDDEApp|{Key}\shell\open\ddeexec\Application 6=OpenDDETopic|{Key}\shell\open\ddeexec\Topic 7=PrintDDE|{Key}\shell\print\ddeexec 8=PrintDDEIf|{Key}\shell\print\ddeexec\ifexec 9=PrintDDETopic|{Key}\shell\print\ddeexec\Topic 10=CLSID|{Key}\CLSID 11=Server|{Key}\protocol\stdfileediting\server [1120] ;ClipWrite c=Writes a given string in the clipboard pc=1 0=0|String| [1121] ;ClipRead c=Initilize a varible with the contents of the clipboard pc=1 0=0|ReturnValue| [1122] ;NetAddConnection c=Aktivates a network drive or device, i.e. a printer pc=3 0=0|Drive/Device| 1=0|NetworkPath| 2=0|Password| [1123] ;NetCancelConnection c=Deaktivates a network drive or device, i.e. a printer pc=2 0=0|Drive/Device| 1=2|Force| [1124] ;NetGetConnection c=Gets the available drives/devices in network pc=2 0=0|ReturnValue| 1=0|Drive/Device| [1125] ;SendKeys c=Sends keys to the active application pc=2 0=0|Keys| 1=2|Wait| [1126] ;SetWindowPosition c=Activates the given application and sets the window position pc=5 0=0|Application/WindowTitle| 1=5|Position| 2=2|WindowTitle| 3=3|Mode| 4=3|WindowOrder| [11264] ;SetWindowPositionOrder c=Windoworder pc=4 0=Top|0 1=Bottom|1 2=Topmost|-1 3=Nontopmost|-2 [11263] ;SetWindowPositionMode c=ActivateMode pc=1 0=Activate|4 [1127] ;SetWallpaper c=Changes the wallpaper (desktop bitmap) of Windows pc=2 0=1|Bitmap| 1=2|Tiled| [1128] ;WinHelp c=Calls the given page (Topic) of the given online help file of Windows Help engine pc=2 0=1|HelpFile| 1=0|Context-Id| [1129] ;ReBoot c=Ends Windows and executes - depending on the parameter - a Windows restart or a system reboot pc=2 0=3|Type|1 1=1|DosProgramm| [11290] ;ReBootType c=Type of Reboot pc=4 0=WindowsRestart|1 1=WindowsEnd|2 2=SystemReboot|3 3=EndDOSRestart|4 [1130] ;Beep c=Plays the given number of beeps at the pc speaker pc=1 0=0|Count|1 [1131] ;PlayWave c=Plays the given Wave-file at the pc speaker pc=1 0=1|WaveFile|{_WindowsDir}\accord.wav [1132] ;DDERequest c=Gets contents of a given DDE-Item via DDE pc=5 0=0|ReturnValue| 1=0|Application| 2=0|Topic| 3=0|Item| 4=0|Timeout| [1133] ;DDEPoke c=Writes given values via DDE in given DDE items pc=5 0=0|Application| 1=0|Topic| 2=0|Item| 3=0|Value| 4=0|Timeout| [1134] ;GetEnvironment c=Gets the value of a given environment variable, i.e. PATH pc=2 0=0|ReturnValue| 1=0|EnvironmentVariable| [1210] ;CopyFileTable c=Copies the files of the given file table, which is a sheet with informations of the to be copied/installed files pc=5 0=0|FileTable| 1=1|SourcePath| 2=1|TargetPath| 3=3|Version control| 4=2|Close|-1 [12103] ;CopyFileTableVersionControl c=Switches version control for copy action pc=5 0=Check/Ask|1 1=Check/Automatic|2 2=AllwaysCopy|3 3=CopyNoExpand|4 4=CheckDate/NoExpand|5 [1211] ;FileExist c=Checks, if the given file exists in given path pc=2 0=0|ReturnValue| 1=1|FileWithPath| [1212] ;FileSearch c=Searchs the given file in DOS PATH and registration database pc=2 0=0|ReturnValue| 1=1|File| [1213] ;GetExpandedFilename c=Gets the expanded name of a given file, which is compressed with MS-Compress (/R) or vice versa pc=3 0=0|ReturnValue| 1=1|File| 2=3|Expanded/Compressed| [12132] ;Expanded/Compressed c=Expanded/Compressed pc=2 0=ExpandedName|0 1=CompressedName|-1 [1214] ;GetDiskFree c=Gets the free space of a given drive pc=2 0=0|ReturnValue| 1=1|Drive| [1215] ;GetDiskLabel c=Gets the volume label of a drive/disk pc=2 0=0|RetrunValue| 1=1|Drive| [1216] ;GetDiskType c=Gets the drive type of a given drive, i.e. Network, removeable or fixed pc=2 0=0|ReturnValue| 1=1|Drive| [1217] ;Del c=Deletes the given files pc=1 0=1|Files| [1218] ;RmDir,RD c=Deletes the given empty directory pc=1 0=1|EmptyPath| [1219] ;MkDir,MD c=Creates a directory or directory tree pc=1 0=1|Path| [1220] ;Copy c=Copies the given file pc=3 0=1|SourceFile| 1=1|TargetFile| 2=3|VersionControl| [12202] ;CopyVersionControl c=Switches the version control for copy action pc=5 0=Check/Ask|1 1=Check/Automatic|2 2=AllwaysCopy|3 3=CopyNoExpand|4 4=CheckDate/NoExpand|5 [1221] ;GetDiskSize c=Gets the size of a given drive pc=2 0=0|ReturnValue| 1=1|Drive| [1222] ;VersionInfoRead c=Reads values of the version information of a given file pc=3 0=0|ReturnValue| 1=1|FileWithPath| 2=3|VersionInformation| [12222] ;VersionInfoReadVersionInformation c=Type of version information pc=11 0=Comments|Comments 1=CompanyName|CompanyName 2=FileDescription|FileDescription 3=InternalName|InternalName 4=LegalCopyrights|LegalCopyrights 5=LegalTrademarks|LegalTrademarks 6=OriginalFilename|OriginalFilename 7=PrivateBuild|PrivateBuild 8=ProductName|ProductName 9=ProductVersion|ProductVersion 10=SpecialBuild|SpecialBuild [1223] ;SetReadOnly c=Sets/deletes the ReadOnly-Bit of the given file pc=2 0=1|FileWithPath| 1=2|DeleteAttribute| alias=1223 [1224] ;IsReadOnly c=Checks the ReadOnly-Bit of the given file, this means if the file is write protected pc=2 0=0|ReturnValue| 1=1|FileWithPath| alias=1224 [1225] ;SetSystem c=Sets/deletes the System-Bit of the given file pc=2 0=1|FileWithPath| 1=2|DeleteAttribute| alias=1223 [1226] ;IsSystem c=Checks the System-Bit of the given file pc=2 0=0|ReturnValue| 1=1|FileWithPath| alias=1224 [1227] ;SetHidden c=Sets/deletes the Hidden-Bit of the given file pc=2 0=1|FileWithPath| 1=2|DeleteAttribute| alias=1223 [1228] ;IsHidden c=Checks the Hidden-Bit of the given file pc=2 0=0|ReturnValue| 1=1|FileWithPath| alias=1224 [1229] ;SetArchive c=Sets/deletes the Archiv-Bit of the given file pc=2 0=1|FileWithPath| 1=2|DeleteAttribute| alias=1223 [1230] ;IsArchive c=Checks the Archive-Bit of the given file pc=1 0=0|ReturnValue| 1=1|FileWithPath| alias=1224 [1231] ;ChDir c=Activates the given directory pc=1 0=1|Path| [1232] ;GetDir c=Gets the active directory pc=1 0=0|ReturnValue| [1233] ;DirExist c=Checks, if the given directory exists pc=2 0=0|ReturnValue| 1=1|Path [1234] ;FileLen c=Gets the file length in bytes pc=2 0=0|ReturnValue| 1=1|FileWithPath| [1235] ;FileDate c=Gets the date of a file pc=3 0=0|ReturnValue| 1=1|FileWithPath| 2=0|Format| [1236] ;GetNewerFile c=Returns the number of the newer file of two given files pc=3 0=0|ReturnValue| 1=1|FileWithPath| 2=1|FileWithPath| [1237] ;IsPermissionToWrite c=Checks, if there is the permission to write on the given drive pc=3 0=0|ReturnValue| 1=1|Drive| [1238] ;CreateTempName c=Creates a temp-filename in the given directory or the temp directory pc=3 0=0|ReturnValue| 1=1|Path| 2=0|Extension| [1239] ;ChangeFileType c=Changes the extension of a given file name to the given extension pc=3 0=0|ReturnValue| 1=1|FileWithPath| 2=0|Extension| [1240] ;PatchFile c=Replaces the given search string with the given replace string in the given file pc=3 0=1|FileWithPath| 1=0|SearchString| 2=0|ReplaceString| [1241] ;FindFirst c=Gets the first file, which corresponds to the given search mask pc=2 0=0|ReturnValue| 1=0|SearchMask| [1242] ;FindNext c=Gets the next file, which corresponds to the search mask of FindFirst pc=1 0=0|ReturnValue| [1243] ;Touch c=Changes the date of a given file to the given date and time pc=3 0=1|FileWithPath| 1=0|FileDate| 2=0|FileTime| [1310] ;Compute c=Executes the given compute operation, i.e. addition, subtraction, multiplication, division or exponential function as integer operation pc=4 0=0|Result| 1=0|Operant1| 2=-1|Operator| 3=0|Operant2| [1311] ;Concat c=Concatenates two strings pc=2 0=0|VariableName| 1=0|String| [1312] ;Let c=Initializes a variable with a string pc=2 0=0|VariableName| 1=0|VariableContents| [1313] ;TextRead c=Reads a text file in a variable and optionally converts the text in ANSI character set pc=3 0=0|ReturnValue| 1=1|TextFile| 2=2|ASCII-Switch|0 [1314] ;Split c=Splits a string, which has delimiter pc=4 0=0|Result| 1=0|Source| 2=0|Delimiter| 3=0|Number| [1315] ;SplitPathName c=Splits a path name in the parts: drive, directory, file, file base and extension pc=3 0=0|Result| 1=1|FullFileName| 2=3|ResultType| [13152] ;SplitPathNameResultType c=Parts of a full file name pc=5 0=PathWithDrive|1 1=FileName|2 2=FileBase|3 3=FileExtension|4 4=DriveLetter|5 5=Full without Extension|6 [1316] ;ResStringRead c=Reads string resources from a given dynamic link library (with String-Table) otherwise from project resources pc=3 0=0|ReturnValue| 1=1|FileWithPath| 2=0|StringNumber| [1317] ;TextWrite c=Writes a string in a file and optionally changes the character set pc=4 0=1|TextFile| 1=0|String| 2=2|ASCII-Switch|0 3=2|Replace|0 [1318] ;GetTableCount c=Gets the number of existing tables in the table part/file of the active project pc=1 0=0|ReturnValue| [1319] ;GetTableLineCount c=Gets the number of lines/rows in the given table pc=2 0=0|ReturnValue| 1=0|Table| [1320] ;GetTableElementCount c=Gets the number of elements/cells in the given table and/or line/row pc=3 0=0|ReturnValue| 1=0|Table| 2=0|Row| [1321] ;Len c=Gets the length of the given string pc=2 0=0|ReturnValue| 1=0|String| [1322] ;CalcFileTable c=Gets the total of all files in the given file table, i.e. the required space pc=5 0=0|ReturnValue| 1=0|FileTable| 2=1|SourcePath| 3=1|TargetPath| 4=3|Option| [13224] ;CalcFileTableOption c=Switches the calculation option pc=3 0=SourceTotal|1 1=Difference|2 2=DifferenceOrMax|3 [1410] ;AskBox c=Shows a Dialog, to get user input of text pc=5 0=0|ReturnValue| 1=0|Text| 2=0|Title| 3=0|Default| 4=6|Button|&OK [1411] ;MsgBox c=Shows a dialog to inform the user and give him the chance to decide something pc=4 0=0|ReturnValue| 1=0|Text| 2=0|Title| 3=6|Buttons|&OK;&Abbrechen [1412] ;OutBox c=Shows an output dialog pc=2 0=0|Text| 1=0|Title| [1413] ;Window c=Main Window of the script, that can be shown and hidden pc=8 0=2|Show|-1 1=0|WindowTitle| 2=0|3D-Text| 3=0|Text| 4=1|Bitmap| 5=5|Position| 6=4|Color| 7=3|WindowOrder| [14137] ;WindowOrder c=Windoworder pc=4 0=Top|0 1=Bottom|1 2=Topmost|-1 3=Nontopmost|-2 [1414] ;GetUserInput c=Shows the command button in the main window, to give control to user pc=1 0=6|Button|&Continue [1415] ;Wait c=Waits the given time or to the given time pc=1 0=7|Time| [1416] ;PathBox c=Shows file dialog pc=8 0=0|ReturnValue| 1=0|Text| 2=0|Title| 3=1|DefaultPath| 4=0|AdditionalPath| 5=0|SearchMask| 6=3|Path/File-Switch|0 7=6|Command|&OK [14166] ;Path/File-Switch c=Path/File-Switch pc=2 0=ChooseFile|-1 1=ChoosePath|0