diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cf25d0..15ecfda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ +### 0.2.0 +* Add and test all Intouch Keywords ### 0.1.2 * Correct links to Marktplace diff --git a/other/Alle Befehle.xlsx b/other/Alle Befehle.xlsx new file mode 100644 index 0000000..ae2c9b3 Binary files /dev/null and b/other/Alle Befehle.xlsx differ diff --git a/other/Alle-Befehle-07_2020.vbi b/other/Alle-Befehle-07_2020.vbi new file mode 100644 index 0000000..cabdc56 --- /dev/null +++ b/other/Alle-Befehle-07_2020.vbi @@ -0,0 +1,470 @@ +{Strings} +DText( Discrete_Tag, OnMsg, OffMsg ); +StringASCII( Char ); +StringChar( ASCII ); +StringCompare( Text1, Text2 ); +StringCompareNoCase( Text1, Text2 ); +StringFromGMTTimeToLocal( SecsSince1-1-70, StringType ); +StringFromIntg( Number, Base ); +StringFromReal( Number, Precision, Type ); +StringFromTime( SecsSince1-1-70, StringType ); +StringFromTimeLocal( SecsSince1-1-70, StringType ); +StringInString( Text, SearchFor, StartPos, CaseSens ); +StringLeft( Text, Chars ); +StringLen( Text ); +StringLower( Text ); +StringMid( Text, StartChar, Chars ); +StringReplace( Text, SearchFor, ReplaceWith, CaseSens, NumToReplace, MatchWholeWords ); +StringRight( Text, Chars ); +StringSpace( NumSpaces ); +StringTest( Text, TestType ); +StringToIntg( Text ); +StringToReal( Text ); +StringTrim( Text, TrimType ); +StringUpper( Text ); +Text( Analog_Tag, Format_Text ); +wwStringFromTime( Time, Format ); + +{Math} +Abs( Number ); +ArcCos( Number ); +ArcSin( Number ); +ArcTan( Number ); +Clip_cursor( left, top, right, bottom, bSetClient ); +ConvertTemp( Value, FromUnits, ToUnits ); +Cos( Degrees ); +Exp( Number ); +GeoArea( Base, Height, Shape ); +GeoEqualSideArea( SideLength, NumOfSides ); +GeoVolume( Base, Height, Width, Shape ); +GetCursorPosition( X_Tag, Y_Tag, bSetClient ); +Hide_cursor( ); +Int( Number ); +Log( Number ); +LogN( Number, Base ); +MetFromStdFluid( StandardValue, StandardUnits, MetricUnits ); +MetFromStdLinear( StandardValue, StandardUnits, MetricUnits ); +MetFromStdWeight( StandardValue, StandardUnits, MetricUnits ); +Pi(); +Restore_clip( ); +Round( Number, Precision ); +SetCursorPosition( X_Position, Y_Position, bSetClient ); +Sgn( Number ); +Show_cursor( ); +Sin( Degrees ); +Sqrt( Number ); +StdFromMetFluid( MetricValue, MetricUnits, StandardUnits ); +StdFromMetLinear( MetricValue, MetricUnits, StandardUnits ); +StdFromMetWeight( MetricValue, MetricUnits, StandardUnits ); +Tan( Degrees ); +Trunc( Number ); + + +{System} +ActivateApp +CreateFilenameFromDate( Format, Prefix, Postfix, DayOffset ); +FileCopy( SourceFile, DestFile, DoneTag ); +FileDelete( Filename ); +FileMove( SourceFile, DestFile, DoneTag ); +FileReadFields( Filename, FileOffset, StartTag, NumberOfFields ); +FileReadMessage( Filename, FileOffset, Message_Tag, CharsToRead ); +FileWriteFields( Filename, FileOffset, StartTag, NumberOfFields ); +FileWriteMessage( Filename, FileOffset, Message_Tag, LineFeed ); +GetDiscOffMsg( Tagname ); +GetDiscOnMsg( Tagname ); +InfoAppActive( AppTitle ); +InfoAppTitle( ProgramEXEName ); +InfoDisk( Drive, InfoType, Trigger ); +InfoDosEnv( EnvironmentVar ); +InfoFile( Filename, InfoType, Trigger ); +InfoInTouchAppDir(); +InfoResources( ResourceType, Trigger ); +INIReadInteger( FileName, Section, Key ); +INIReadString( FileName, Section, Key ); +INIWriteInteger( FileName, Section, Key, Value ); +INIWriteString( FileName, Section, Key, Message ); +IORRGetItemActiveState( ItemPath, Options); +IORRGetSystemInfo( Options ); +IORRWriteState( FilePath, Options, Arguments ); +IsNodeAppRunning( ComputerName, ProgramName ); +ITXCreateDirectory( DirectoryName ); +ITXCreateSubDirectory ( DirectoryName ); +ITXGetProfileInt ( Section, Entry ); +ITXGetProfileString ( Section, Entry ); +ITXPutProfileInt ( Section, Entry, IntegerValue ); +ITXPutProfileString ( Section, Entry, MessageValue ); +ITXRemoveDirectory ( DirectoryName ); +ITXRemoveSubDirectory ( DirectoryName ); +ITXResizeApplication ( AppTitleString, XPos, YPos, Width, Height ); +ITXSetLocalTime ( hour, minute, second ); +ITXSetSystemDate ( year, month, day ); +ITXSetSystemTime ( hour, minute, second ); +ITXStartAppInDirectory ( AppPath, StartupDirectory ); +ITXWindowCtrl ( ApplicationTitleString, Feature, OnOff ); +SetTagEU( Tagname, Message ); +StartApp +SysBeep() ; +SystemIsNT( ); +TagExists( Tagname ); +WWBeep32( Freq_37to14000, Dur_msecs ); +WWCntx32( WindowName, Left, Top, Width, Height, Tagname, Value ); +WWGetServiceExeName( ServiceDisplayName ); +WWGetServiceName( ServiceExeName ); +WWGetServiceStatus( ServiceExeName ); +WWServiceControl( ServiceName, Command ); +WWServiceControlError( ErrorCode ); +WWShutDownWin95( ShutDownFlag ); +WWShutDownWinNT40( ShutDownFlag ); + +{Add-Ons} +RecipeDelete( FileName, RecipeName ); +RecipeGetMessage( Analog_Tag, Message_Tag, Number ); +RecipeLoad( FileName, UnitName, RecipeName ); +RecipeSave( FileName, UnitName, RecipeName ); +RecipeSelectNextRecipe( FileName, RecipeName, Number ); +RecipeSelectPreviousRecipe( FileName, RecipeName, Number ); +RecipeSelectRecipe( FileName, RecipeName, Number ); +RecipeSelectUnit( FileName, UnitName, Number ); +SPCEXSetDataset( DatasetName ); +SPCEXSetEndDate( EndYear, EndMonth, EndDay ); +SPCEXSetEndTime( EndHour, EndMin, EndSec ); +SPCEXSetOutputFile( OutputFileName ); +SPCEXSetProduct( ProductName ); +SPCEXSetStartDate( StartYear, StartMonth, StartDay ); +SPCEXSetStartTime( StartHour, StartMin, StartSec ); +SQLAppendStatement( ConnectionId, SQLStatement ); +SQLClearParam( StatementId, ParameterNumber ); +SQLClearStatement( ConnectionId, StatementId ); +SQLClearTable( ConnectionId, TableName ); +SQLCommit( ConnectionId ); +SQLConnect( ConnectionId, ConnectString ); +SQLCreateTable( ConnectionId, TableName, TemplateName ); +SQLDelete( ConnectionId, TableName, WhereExpr ); +SQLDisconnect( ConnectionId ); +SQLDropTable( ConnectionId, TableName ); +SQLEnd( ConnectionId ); +SQLErrorMsg( ResultCode ); +SQLExecute( ConnectionId, BindList, StatementId ); +SQLFirst( ConnectionId ); +SQLGetRecord( ConnectionId, RecordNumber ); +SQLInsert( ConnectionId, TableName, BindList ); +SQLInsertEnd( ConnectionId, StatementId ); +SQLInsertExecute( ConnectionId, BindList, StatementId ); +SQLInsertPrepare( ConnectionId, TableName, BindList, StatementId ); +SQLLast( ConnectionId ); +SQLLoadStatement( ConnectionId, FileName ); +SQLManageDSN( ConnectionId ); +SQLNext( ConnectionId ); +SQLNumRows( ConnectionId ); +SQLPrepareStatement( ConnectionId, StatementId ); +SQLPrev( ConnectionId ); +SQLRollback( ConnectionId ); +SQLSelect( ConnectionId, TableName, BindList, WhereExpr, OrderByExpr ); +SQLSetParamChar( StatementId, ParameterNumber, Value, Length ); +SQLSetParamDate( StatementId, ParameterNumber, Value ); +SQLSetParamDateTime( StatementId, ParameterNumber, Value, Precision ); +SQLSetParamDecimal( StatementId, ParameterNumber, Value, Precision, Scale ); +SQLSetParamFloat( StatementId, ParameterNumber, Value ); +SQLSetParamInt( StatementId, ParameterNumber, Value ); +SQLSetParamLong( StatementId, ParameterNumber, Value ); +SQLSetParamNull( StatementId, ParameterNumber, Type, Precision, Scale ); +SQLSetParamTime( StatementId, ParameterNumber, Value ); +SQLSetStatement( ConnectionId, SQLStatement ); +SQLTransact( ConnectionId ); +SQLUpdate( ConnectionId, TableName, BindList, WhereExpr ); +SQLUpdateCurrent( ConnectionId ); + +{Misc} + +Ack +AddPermission( Domain, Group, AccessLevel ); +almAckAll( "objectName", Comment ); +almAckDisplay( "objectName", Comment ); +almAckGroup( "objectName", ApplicationName, Group, AckComment ); +almAckPriority( "objectName", ApplicationName, GroupName, FromPri, ToPri, AckComment ); +almAckRecent( "objectName", Comment ); +almAckSelect( "objectName", Comment ); +almAckSelectedGroup( "objectName", Comment ); +almAckSelectedPriority( "objectName", Comment ); +almAckSelectedTag( "objectName", Comment ); +almAckTag( "objectName", ApplicationName, GroupName, AlarmTagName, FromPri, ToPri, AckComment ); +almDefQuery( "objectName" ); +almMoveWindow( "objectName", moveOption, repeatCount ); +almQuery( "objectName", AlarmGroup, FromPri, ToPri, State, DispType ); +almSelectAll( "objectName" ); +almSelectGroup( "objectName", ApplicationName, Group ); +almSelectionCount( "objectName" ); +almSelectItem( "objectName" ); +almSelectPriority( "objectName", ApplicationName, GroupName, FromPri, ToPri ); +almSelectTag( "objectName", ApplicationName, GroupName, AlarmTagName, FromPri, ToPri ); +almSetQueryByName( "objectName", QueryName ); +almShowStats( "objectName" ); +almSuppressAll( "objectName" ); +almSuppressDisplay( "objectName" ); +almSuppressGroup( "objectName", ApplicationName, Group ); +almSuppressPriority( "objectName", ApplicationName, GroupName, FromPri, ToPri ); +almSuppressRetain( "objectName", SuppressionRetainFlag); +almSuppressSelected( "objectName" ); +almSuppressSelectedGroup( "objectName" ); +almSuppressSelectedPriority( "objectName" ); +almSuppressSelectedTag( "objectName" ); +almSuppressTag( "objectName", ApplicationName, GroupName, AlarmTagName, FromPri, ToPri ); +almUnselectAll( "objectName"); +almUnsuppressAll( "objectName"); +AnnotateLayout(); +APUFindAlarmGroupInstance( sGroup, iTagInstance ); +APUFindFileInstance( sFilePath, iTagInstance ); +APUFindPrinterInstance( sPrinter, iTagInstance ); +APUGetAlarmGroupText( iInstance, sTagGroup ); +APUGetConfigurationFilePath( iInstance, sTagFilePath ); +APUGetInstanceCount( iTagCount ); +APUGetPrinterJobCount( iInstance, iTagCount ); +APUGetPrinterName( iInstance, sTagPrinter ); +APUGetPrinterStatus( iInstance, iSelector, iTagStatus ); +APUGetQueryAlarmState( iInstance, iTagState ); +APUGetQueryFromPriority( iInstance, iTagPriority ); +APUGetQueryProcessingState( iInstance, iTagState ); +APUGetQueryToPriority( iInstance, iTagPriority ); +APUIsInstanceUsed( iInstance ); +APUSetAlarmGroupText( iInstance, sGroup ); +APUSetQueryAlarmState( iInstance, iState ); +APUSetQueryFromPriority( iInstance, iPriority ); +APUSetQueryToPriority( iInstance, iPriority ); +APUSetTimeoutValues( iMemory, iShort, iLong ); +APUStartInstance( sFilePath, iTagInstance ); +APUStartQuery( iInstance, iYear, iMonth, iDay, iHour, iMinute ); +APUStopInstance( iInstance ); +APUStopQuery( iInstance ); +APUTranslateErrorCode( iErrorCode, sTagMesage ); +AttemptInvisibleLogon( UserId, Password, Domain ); +ChangePassword( ); +ChangeWindowColor( WindowName,RValue,GValue,BValue ); +CreateFilenameFromDate( Format, Prefix, Postfix, DayOffset ); +DateTimeGMT( ); +DialogStringEntry( MessageTag_Text, UserPrompt_Text ); +DialogValueEntry( ValueTag_Text, LowLimit, HighLimit, UserPrompt_Text ); +EnableDisableKeys(AltKey,EscKey,WinKey); +FilePrint( FileName, InitState ); +FileSelect( Title, DefaultDirectory, DefaultExtension, DefaultFilename ); +GetAccountStatus( Domain, UserID ); +GetDiscOffMsg( Tagname ); +GetDiscOnMsg( Tagname ); +GetNodeName( Tagname, NodeNum ); +GetPropertyD ( "ControlName.Property", Tagname ); +GetPropertyI ( "ControlName.Property", Tagname ); +GetPropertyM ( "ControlName.Property", Tagname ); +GetWindowName(Tagname); +Hide +HideSelf + +HTGetLastError( Hist_Tag, UpdateCount, PenNum ); +HTGetPenName( Hist_Tag, UpdateCount, PenNum ); +HTGetTimeAtScooter( Hist_Tag, UpdateCount, ScootNum, ScootLoc ); +HTGetTimeStringAtScooter( Hist_Tag, UpdateCount, ScootNum, ScootLoc, Format_Text ); +HTGetValue( Hist_Tag, UpdateCount, PenNum, ValType_Text ); +HTGetValueAtScooter( Hist_Tag, UpdateCount, ScootNum, ScootLoc, PenNum, ValType_Text ); +HTGetValueAtZone( Hist_Tag, UpdateCount, Scoot1Loc, Scoot2Loc, PenNum, ValType_Text ); +HTScrollLeft( Hist_Tag, Percent ); +HTScrollRight( Hist_Tag, Percent ); +HTSelectTag( ); +HTSetPenName( Hist_Tag, PenNum, Tagname ); +HTUpdateToCurrentTime( Hist_Tag ); +HTZoomIn( Hist_Tag, LockString ); +HTZoomOut( Hist_Tag, LockString ); +InfoAppStatus( WindowName, DesiredState, ErrorCode, Trigger ); +InfoAppTitleExpand( PartialWindowName ); +InfoWinEnv( EnvironmentVariable ); +InTouchVersion( VersionType ) +InvisibleVerifyCredentials( UserId, Password, Domain ); +IODisableFailover(Accessname,Option); +IOForceFailover( AccessName); +IOGetAccessNameStatus(Accessname,Mode); +IOGetActiveSourceName(Accessname); +IOGetApplication( AccessName ); +IOGetNode( AccessName ); +IOGetTopic( AccessName ); +IOReinitAccessName( AccessName, Default); +IOReinitialize( ); +IOSetAccessName( AccessName, NodeName, AppName, TopicName ); +IOSetItem( Tagname, AccessName, ItemName ); +IOSetRemoteReferences( BaseAccess, NewAccess, MatchString, SubstituteString, Mode ); +IOStartUninitConversations( ); +IsAnyAsyncFunctionBusy +IsAssignedRole( RoleName ); +ITXAppActivate ( ApplicationTitleString, DisplayMode ); +ITXCheckDate ( year, month, day ); +ITXConvertDate ( ITDate, year, month, day ); +ITXConvertDateString ( DateString, year, month, day ); +ITXConvertDateTime ( ITDateTime, year, month, day, hour, minute, second ); +ITXConvertDateTimeString ( DateTimeString, year, month, day, hour, minute, second ); +ITXCreateDate ( year, month, day ); +ITXCreateDateTime ( year, month, day, hour, minute, second ); +ITXCreateDateTimeUTC ( year, month, day, hour, minute, second ); +ITXShowHelpByNumber ( HelpFileName, HelpContextID ); +ITXShowHelpByString ( HelpFileName, HelpKeyword ); +LaunchTagViewer( ); +LogMessage( Message_Tag ); +Logoff(); +LogonCurrentUser(); +MessageBox( Message, Title, Style ); +MoveWindow( WindowName, Left, Top, Width, Height ); +NumberRecipes( RecipieFileName ); +OpenWindowsList( ); +PlaySound( SoundName, Flags ); +PostLogonDialog(); +PrintHT( Trend_Tag ); +PrintScreen( ScreenOption, PrintOption ); +PrintWindow( Window, Left, Top, Width, Height, Options ); +ptGetTrendType(trendObjName); +ptLoadTrendCfg(trendObjName, fileName); +ptPanCurrentPen(trendObjName, majorUnits, minorUnits); +ptPanTime(trendObjName, majorUnits, minorUnits); +ptPauseTrend(trendObjName, paused); +ptRefreshTrend(trendObjName); +ptSaveTrendCfg(trendObjName, fileName); +ptSetCurrentPen(trendObjName, penNum); +ptSetPen(trendObjName, penNum, tagName); +ptSetPenEx(trendObjName, penNum, tagName, minEU, maxEU, minPercent, maxPercent, decimal, EU); +ptSetTimeAxis(trendObjName, startDateTime, endDateTime); +ptSetTimeAxisToCurrent(trendObjName); +ptSetTrend(trendObjName, enableUpdates); +ptSetTrendType(trendObjName, type); +ptZoomCurrentPen(trendObjName, percentage); +ptZoomTime(trendObjName, percentage); +PwdUserAdd(path, username, acclevel, password); +PwdUserDelete(path, username); +PwdUserEdit(path, username, acclevel, password); +PwdUserGetIndex(path, username); +PwdUserRead(path, idx, username, acclevel, password); +QueryGroupMembership( Domain, Group ); +ReloadWindowViewer( ); +RestartWindowViewer( ); +SendKeys +SendMail( Recipient, FileName ); +SendSMTPMail( SMTPServerName, SenderEMail, RecipientEMail, Subject, FileName ); +SendSMTPMailwAttachment( SMTPServerName, SenderEMail, RecipientEMail, Subject, BriefNote, AttachmentPath ); +SetPropertyD ( "ControlName.Property", DiscreteTag ); +SetPropertyI ( "ControlName.Property", Number ); +SetPropertyM ( "ControlName.Property", MessageTag ); +SetTagEU( Tagname, Message ); +SetWindowPrinter( PrinterName ); +Show +ShowAt( Window, Horiz, Vert ); +ShowHome + +ShowTopLeftAt( Window, Horiz, Vert ); +StringCompareEncrypted(sPlaintextString,MessageTag); +SwitchDisplayLanguage(LocaleID); +SysBeep() ; +SystemIsNT( ); +TagExists( Tagname ); + +TseGetClientId( ); +TseGetClientNodeName( ); +TseQueryRunningOnClient( ); +TseQueryRunningOnConsole( ); +UTCDateTime( Format ); +wcAddItem ( "ControlName", MessageTag ); +wcClear ( "ControlName" ); +wcDeleteItem ( "ControlName", ItemIndex ); +wcDeleteSelection ( "ControlName" ); +wcErrorMessage ( ErrorNumber ); +wcFindItem ( "ControlName", MessageTag, DiscreteTag, Tagname ); +wcGetItem ( "ControlName", ItemIndex, Tagname ); +wcGetItemData ( "ControlName", ItemIndex, Tagname ); +wcInsertItem ( "ControlName", ItemIndex, MessageTag ); +wcLoadList ( "ControlName", "Filename" ); +wcLoadText ( "ControlName", "Filename" ); +wcSaveList ( "ControlName", "Filename" ); +wcSaveText ( "ControlName", "Filename" ); +wcSetItemData ( "ControlName", ItemIndex, Tagname ); +WindowState( WindowName ); +WWAlwaysOnTop( WindowName, NewState); +WWBeep32( Freq_37to14000, Dur_msecs ); +WWCntx32( WindowName, Left, Top, Width, Height, Tagname, Value ); +WWContext( WindowName, Left, Top, Width, Height, Tagname, Value) ); +WWControl( AppTitle, ControlType ); +WWControlPanel( AppletName ); +WWDosCommand( DOSCmdLine, InitState ); +WWExecute( App, Topic, Command ); +WWIsDayLightSaving( ); +WWMoveWindow( WindowName, Left,Top,Width,Height ); +WWMultiMonitorNode(); +WWPoke( App, Topic, Item, TextValue ); +WWPrimaryMonitorHeight(); +WWPrimaryMonitorWidth(); +WWRequest( App, Topic, Item, ValueMsg_Tag ); +WWStartApp( WindowsAppName, InitState ); +WWVirtualMonitorHeight(); +WWVirtualMonitorWidth(); + + +{Quickfunctions Hermes} +call GetSplittByIndex( sInputString as Message, sDelimiter as Message, iIndex as Integer); +call HerGATEWAYanzeigeAktualisieren( ); +call HerGATEWAYtriggerFreigabe( freigabe as Discrete); +call HerGATEWAYueberwachen( ); +call SetReferenceBool( Topic as Message, db as Integer, byte as Integer, bit as Integer); +call SetReferenceByte( Topic as Message, DB as Integer, byte as Integer); +call SetReferenceDINT( topic as Message, db as Integer, Adresse as Integer); +call SetReferenceDINTs( Topic as Message, DB as Integer, Adresse as Integer); +call SetReferenceMerkerByte( Topic as Message, MerkerByte as Integer); +call SetReferenceReal( Topic as Message, db as Integer, Adresse as Integer); +call SetReferenceString( topic as Message, DB as Integer, Byte as Integer, Laenge as Integer); +call SetReferenceWord( Topic as Message, db as Integer, byte as Integer); +call SetVarInputBoolsch( varname as Message); +call SetVarToggleBoolsch( varname as Message); + +call BDEDatenLesen( Jahr as Integer, Monat as Integer, Tag as Integer); +call BDEDatenSpeichern( Jahr as Integer, Monat as Integer, Tag as Integer); +call BDEDatenSuchen( Jahr as Integer, Monat as Integer, Tag as Integer); +call BDESchichtSchreiben( Schichtnr as Integer); +call BDESchichtwerteDatenOK( ); +call BDESchichtwerteZuweisen( ); +call BDETageswerteDatenOK( ); +call BDETageswerteSchreiben( ); +call BDETageswerteZuweisen( ); +call BZBetriebsstunden( ); +call BZZaehlerAbfragen( ); +call ExterneModuleUeberwachen( ); +call FUWerte( iErsteMA as Integer, sFUBezeichnung as Message); +call GetSplittByIndex( sInputString as Message, sDelimiter as Message, iIndex as Integer); +call HerBACKUP( ); +call HerProViewStart( ); +call HideAllPLS( ); +call KonfigLesen( ); +call KonfigSpeichern( ); +call QFFilter( sFiltername as Message); +call QFFilterRegler15Schritt( iReglernummer as Integer); +call QFLuftwerte( Uebergabe as Message); +call QFRinne( sParaSetVariable as Message); +call SessionUserInfoAkt( ABMELDEN as Discrete); +call Sollwertaenderung( HerEventLog as Message); +call StatusExtApp( modul as Message); +call StatusleistenInfofelder( ); +call SWReal( ); +call wwalmdbtrigger( newalarmTag as Message); +call xAnlagenConfig( ); +call xBZVZSettings( ); +call xGatawaySettings( ); +call xHerGATEWAYSettings( ); +call xLoggingConfig( ); +call xSetDateiPfade( ); +call xSetSQLConfig( sInstanz as Message, sOptIP as Message, sOptPort as Message); +call xSetTSStation( ); +call xSetUhrzeitserver( ); +call xSTATION1BiosName( ); + + + + + + + + + + + + + + diff --git a/package.json b/package.json index 94a74cd..65ff187 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "intouch-language", "displayName": "VSCode Intouch-Language", "description": "Intouch-Basic language syntax highlighting support and code snippets for VSCode", - "version": "0.1.2", + "version": "0.2.0", "icon": "images/logo.png", "publisher": "vitaly-ruhl", "engines": { diff --git a/syntaxes/intouch.tmLanguage.json b/syntaxes/intouch.tmLanguage.json index 710024d..1d84692 100644 --- a/syntaxes/intouch.tmLanguage.json +++ b/syntaxes/intouch.tmLanguage.json @@ -116,23 +116,18 @@ "comment": "Systemvariablen (Eigene) kennzeichnen" }, - { - "match": "(?i:\\s*\\b(SetReferenceDINTs|SetReferenceDINT|SetReferenceBool|SetReferenceByte|SetReferenceMerkerByte|SetReferenceReal|SetReferenceString|SetReferenceWord)\\b\\s*)", - "name": "support.function.vb.vbi", - "comment": "Eigene Funktionen im Grundprogramm" - }, { - "match": "(?i:\\s*\\b(BDETageswerteZuweisen|BDESchichtwerteZuweisen|xAnlagenConfig|xHerGATEWAYSettings|xBZVZSettings|xSetSQLConfig|xGatawaySettings|xLoggingConfig|xSetTSStation|xSetDateiPfade|xSetUhrzeitserver|KonfigLesen|AppButonsConfig)\\b\\s*)", + "match": "(?i:\\s*\\b(GetSplittByIndex|HerGATEWAYanzeigeAktualisieren|HerGATEWAYtriggerFreigabe|HerGATEWAYueberwachen|SetReferenceBool|SetReferenceByte|SetReferenceDINT|SetReferenceDINTs|SetReferenceMerkerByte|SetReferenceReal|SetReferenceString|SetReferenceWord|SetVarInputBoolsch|SetVarToggleBoolsch|BDEDatenLesen|BDEDatenSpeichern|BDEDatenSuchen|BDESchichtSchreiben|BDESchichtwerteDatenOK|BDESchichtwerteZuweisen|BDETageswerteDatenOK|BDETageswerteSchreiben|BDETageswerteZuweisen|BZBetriebsstunden|BZZaehlerAbfragen|ExterneModuleUeberwachen|FUWerte|GetSplittByIndex|HerBACKUP|HerProViewStart|HideAllPLS|KonfigLesen|KonfigSpeichern|QFFilter|QFFilterRegler15Schritt|QFLuftwerte|QFRinne|SessionUserInfoAkt|Sollwertaenderung|StatusExtApp|StatusleistenInfofelder|SWReal|wwalmdbtrigger|xAnlagenConfig|xBZVZSettings|xGatawaySettings|xHerGATEWAYSettings|xLoggingConfig|xSetDateiPfade|xSetSQLConfig|xSetTSStation|xSetUhrzeitserver)\\b\\s*)", "name": "support.function.vb.vbi", - "comment": "Eigene Funktionen im Grundprogramm 2" + "comment": "Eigene Funktionen im Grundprogramm 1" } , { "match": "(?i:\\s*\\b(xSTATION9BiosName|xSTATION8BiosName|xSTATION7BiosName|xSTATION6BiosName|xSTATION5BiosName|xSTATION4BiosName|xSTATION3BiosName|xSTATION2BiosName|xSTATION1BiosName)\\b\\s*)", "name": "support.function.vb.vbi", - "comment": "Eigene Funktionen im Grundprogramm 3" + "comment": "Eigene Funktionen im Grundprogramm 2" } ] }, @@ -155,19 +150,29 @@ }, { - "match": "(?i:\\b(InfoDosEnv|TseGetClientNodeName|RestartWindowViewer|WWStartApp|Caption|SetColumnWidth|WWGetServiceStatus|INIWriteInteger|INIWriteString|FileDelete|InfoFile|ITXStartAppInDirectory|StartApp|ITXCreateDateTime)\\b)", + "match": "(?i:\\s*\\b(Ack|AddPermission|almAckAll|almAckDisplay|almAckGroup|almAckPriority|almAckRecent|almAckSelect|almAckSelectedGroup|almAckSelectedPriority|almAckSelectedTag|almAckTag|almDefQuery|almMoveWindow|almQuery|almSelectAll|almSelectGroup|almSelectionCount|almSelectItem|almSelectPriority|almSelectTag|almSetQueryByName|almShowStats|almSuppressAll|almSuppressDisplay|almSuppressGroup|almSuppressPriority|almSuppressRetain|almSuppressSelected|almSuppressSelectedGroup|almSuppressSelectedPriority|almSuppressSelectedTag|almSuppressTag|almUnselectAll|almUnsuppressAll|AnnotateLayout|APUFindAlarmGroupInstance|APUFindFileInstance|APUFindPrinterInstance|APUGetAlarmGroupText|APUGetConfigurationFilePath|APUGetInstanceCount|APUGetPrinterJobCount|APUGetPrinterName|APUGetPrinterStatus|APUGetQueryAlarmState|APUGetQueryFromPriority|APUGetQueryProcessingState|APUGetQueryToPriority|APUIsInstanceUsed|APUSetAlarmGroupText|APUSetQueryAlarmState|APUSetQueryFromPriority|APUSetQueryToPriority|APUSetTimeoutValues|APUStartInstance|APUStartQuery|APUStopInstance|APUStopQuery|APUTranslateErrorCode)\\b\\s*)", + "name": "keyword.vbi", + "comment": "IT-Funktionen Misc Teil 1" + }, + { + "match": "(?i:\\s*\\b(AttemptInvisibleLogon|ChangePassword|ChangeWindowColor|CreateFilenameFromDate|DateTimeGMT|DialogStringEntry|DialogValueEntry|EnableDisableKeys|FilePrint|FileSelect|GetAccountStatus|GetDiscOffMsg|GetDiscOnMsg|GetNodeName|GetPropertyD|GetPropertyI|GetPropertyM|GetWindowName|Hide|HideSelf|HTGetLastError|HTGetPenName|HTGetTimeAtScooter|HTGetTimeStringAtScooter|HTGetValue|HTGetValueAtScooter|HTGetValueAtZone|HTScrollLeft|HTScrollRight|HTSelectTag|HTSetPenName|HTUpdateToCurrentTime|HTZoomIn|HTZoomOut|InfoAppStatus|InfoAppTitleExpand|InfoWinEnv|InTouchVersion|InvisibleVerifyCredentials|IODisableFailover|IOForceFailover|IOGetAccessNameStatus|IOGetActiveSourceName|IOGetApplication|IOGetNode|IOGetTopic|IOReinitAccessName|IOReinitialize|IOSetAccessName|IOSetItem|IOSetRemoteReferences|IOStartUninitConversations|IsAnyAsyncFunctionBusy|IsAssignedRole|ITXAppActivate|ITXCheckDate|ITXConvertDate|ITXConvertDateString|ITXConvertDateTime|ITXConvertDateTimeString)\\b\\s*)", + "name": "keyword.vbi", + "comment": "IT-Funktionen Misc Teil 2" + }, + { + "match": "(?i:\\s*\\b(ITXCreateDate|ITXCreateDateTime|ITXCreateDateTimeUTC|ITXShowHelpByNumber|ITXShowHelpByString|LaunchTagViewer|LogMessage|Logoff|LogonCurrentUser|MessageBox|MoveWindow|NumberRecipes|OpenWindowsList|PlaySound|PostLogonDialog|PrintHT|PrintScreen|PrintWindow|ptGetTrendType|ptLoadTrendCfg|ptPanCurrentPen|ptPanTime|ptPauseTrend|ptRefreshTrend|ptSaveTrendCfg|ptSetCurrentPen|ptSetPen|ptSetPenEx|ptSetTimeAxis|ptSetTimeAxisToCurrent|ptSetTrend|ptSetTrendType|ptZoomCurrentPen|ptZoomTime|PwdUserAdd|PwdUserDelete|PwdUserEdit|PwdUserGetIndex|PwdUserRead|QueryGroupMembership|ReloadWindowViewer|RestartWindowViewer|SendKeys|SendMail|SendSMTPMail|SendSMTPMailwAttachment|SetPropertyD|SetPropertyI|SetPropertyM|SetTagEU|SetWindowPrinter|Show|ShowAt|ShowHome|ShowTopLeftAt|StringCompareEncrypted|SwitchDisplayLanguage|SysBeep|SystemIsNT|TagExists|TseGetClientId|TseGetClientNodeName|TseQueryRunningOnClient|TseQueryRunningOnConsole|UTCDateTime|wcAddItem|wcClear|wcDeleteItem|wcDeleteSelection|wcErrorMessage|wcFindItem|wcGetItem|wcGetItemData|wcInsertItem|wcLoadList|wcLoadText|wcSaveList|wcSaveText|wcSetItemData|WindowState|WWAlwaysOnTop|WWBeep32|WWCntx32|WWContext|WWControl|WWControlPanel|WWDosCommand|WWExecute|WWIsDayLightSaving|WWMoveWindow|WWMultiMonitorNode|WWPoke|WWPrimaryMonitorHeight|WWPrimaryMonitorWidth|WWRequest|WWStartApp|WWVirtualMonitorHeight|WWVirtualMonitorWidth)\\b\\s*)", "name": "keyword.vbi", - "comment": "IT-Funktionen" + "comment": "IT-Funktionen Misc Teil 3" }, { - "match": "(?i:\\b(IOGetNode|InfoAppActive|InfoAppTitle|WWDosCommand|WWControl|FileCopy|LogMessage|EnableDisableKeys|GetNodeName|PwdUserGetIndex|PwdUserRead)\\b)", + "match": "(?i:\\s*\\b(Abs|ArcCos|ArcSin|ArcTan|Clip_cursor|ConvertTemp|Cos|Exp|GeoArea|GeoEqualSideArea|GeoVolume|GetCursorPosition|Hide_cursor|Int|Log|LogN|MetFromStdFluid|MetFromStdLinear|MetFromStdWeight|Pi|Restore_clip|Round|SetCursorPosition|Sgn|Show_cursor|Sin|Sqrt|StdFromMetFluid|StdFromMetLinear|StdFromMetWeight|Tan|Trunc)\\b\\s*)", "name": "keyword.vbi", - "comment": "IT-Funktionen-2" + "comment": "IT-Funktionen-Math" }, { - "match": "(?i:\\b(InfoAppTitleExpand|InfoInTouchAppDir|WWContext|ShowTopLeftAt|show|hide|TseQueryRunningOnClient|IOSetAccessName|TseGetClientId)\\b)", + "match": "(?i:\\s*\\b(ActivateApp|CreateFilenameFromDate|FileCopy|FileDelete|FileMove|FileReadFields|FileReadMessage|FileWriteFields|FileWriteMessage|GetDiscOffMsg|GetDiscOnMsg|InfoAppActive|InfoAppTitle|InfoDisk|InfoDosEnv|InfoFile|InfoInTouchAppDir|InfoResources|INIReadInteger|INIReadString|INIWriteInteger|INIWriteString|IORRGetItemActiveState|IORRGetSystemInfo|IORRWriteState|IsNodeAppRunning|ITXCreateDirectory|ITXCreateSubDirectory|ITXGetProfileInt|ITXGetProfileString|ITXPutProfileInt|ITXPutProfileString|ITXRemoveDirectory|ITXRemoveSubDirectory|ITXResizeApplication|ITXSetLocalTime|ITXSetSystemDate|ITXSetSystemTime|ITXStartAppInDirectory|ITXWindowCtrl|SetTagEU|StartApp|SysBeep|SystemIsNT|TagExists|WWBeep32|WWCntx32|WWGetServiceExeName|WWGetServiceName|WWGetServiceStatus|WWServiceControl|WWServiceControlError|WWShutDownWin95|WWShutDownWinNT40)\\b\\s*)", "name": "keyword.vbi", - "comment": "IT-Funktionen-3" + "comment": "IT-Funktionen-System" }, { @@ -176,14 +181,15 @@ }, { - "match": "(?i:\\s*\\b(StringToIntg|StringLen|StringMid|StringLeft|StringRight|StringTrim|INIReadString|Text|StringInString|StringReplace)\\b\\s*)", + "match": "(?i:\\s*\\b(DText|StringASCII|StringChar|StringCompare|StringCompareNoCase|StringFromGMTTimeToLocal|StringFromIntg|StringFromReal|StringFromTime|StringFromTimeLocal|StringInString|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSpace|StringTest|StringToIntg|StringToReal|StringTrim|StringUpper|Text|wwStringFromTime)\\b\\s*)", + "name": "keyword.vbi", "comment": "Intouch String Funktionen" }, { - "match": "(?i:\\s*\\b(SQL|SQLNext|SQLNumRows|SQLInsertPrepare|SQLConnect|SQLGetRecord|SQLClearStatement|SQLInsertEnd|SQLDisconnect|SQLFirst|ConnectionString|Execute|GetRowNumber|GetRowColumnValue|Disconnect|clicknRow|GetItem|SQLString|SQLLoadStatement|SQLAppendStatement|SQLExecute|SQLSetStatement)\\b\\s*)", + "match": "(?i:\\s*\\b(RecipeDelete|RecipeGetMessage|RecipeLoad|RecipeSave|RecipeSelectNextRecipe|RecipeSelectPreviousRecipe|RecipeSelectRecipe|RecipeSelectUnit|SPCEXSetDataset|SPCEXSetEndDate|SPCEXSetEndTime|SPCEXSetOutputFile|SPCEXSetProduct|SPCEXSetStartDate|SPCEXSetStartTime|SQLAppendStatement|SQLClearParam|SQLClearStatement|SQLClearTable|SQLCommit|SQLConnect|SQLCreateTable|SQLDelete|SQLDisconnect|SQLDropTable|SQLEnd|SQLErrorMsg|SQLExecute|SQLFirst|SQLGetRecord|SQLInsert|SQLInsertEnd|SQLInsertExecute|SQLInsertPrepare|SQLLast|SQLLoadStatement|SQLManageDSN|SQLNext|SQLNumRows|SQLPrepareStatement|SQLPrev|SQLRollback|SQLSelect|SQLSetParamChar|SQLSetParamDate|SQLSetParamDateTime|SQLSetParamDecimal|SQLSetParamFloat|SQLSetParamInt|SQLSetParamLong|SQLSetParamNull|SQLSetParamTime|SQLSetStatement|SQLTransact|SQLUpdate|SQLUpdateCurrent)\\b\\s*)", "name": "keyword.vbi.vbi", - "comment": "Intouch SQL Funktionen" + "comment": "Intouch AddOns Funktionen" } ] },