Intouch ***-On Script Functions

NetNathan

Lifetime Supporting Member
Join Date
Nov 2011
Location
Corona, CA
Posts
2,191
Last edited:
Weird...I do not know why title got changed from "Add-On" to "***-On"???

Here is list...be forewarned..some scripts have been adopted as $tags in later Intouch versions..and some no longer work in the newer versions.


CursorFn Script Function Library
CursorFn.wdf & CursorFn.dll

Hide_Cursor
Show_Cursor
SetCursorPosition
GetCursorPosition
Clip_Cursor
Restore_clip
back to top

FactorySuite Script Function Library
WWTech32.wdf & WWTech32.dll

Measurement Units Conversion
StdFromMetLinear
MetFromStdLinear
StdFromMetFluid
MetFromStdFluid
StdFromMetWeight
MetFromStdWeight

Area and Volume Calculations
GeoArea
GeoEqualSideArea
GeoEqualSideArea
GeoVolume

Writing to a .INI File
INIWriteString
INIWriteInteger
INIReadInteger
INIReadString

Writing to the Spcex.ini File
SPCEXSetStartDate
SPCEXSetStartTime
SPCEXSetEndDate
SPCEXSetEndTime
SPCEXSetProduct
SPCEXSetDataset
SPCEXSetOutputFile

Tag Support Functions
TagExists
GetDiscOnMsg
GetDiscOffMsg
SetTagEU
File Name Creation
CreateFilenameFromDate

Miscellaneous Script Functions
WWShutDownWinNT40
WWShutDownWin95
SystemIsNT
WWBeep32
WWCntx32
WWCntx32Cleanup


FileDeleteWC Script Function
WWDelete.wdf & WWDelete.dll (16-bit)
WWDelete.wdf & WWDelete.dll (32-bit)

FileDeleteWC

GetViewVersionInfo Script Function Library
GetViewVersionInfo.wdf & GetViewVersionInfo.dll

WWGetViewInstallPath
WWGetViewComments
WWGetViewCompanyName
WWGetViewFileDescription
WWGetViewFileVersion1
WWGetViewFileVersion2
WWGetViewLegalCopyRight
WWGetViewLegalTradeMarks
WWGetViewOriginalFileName
WWGetViewPrivateBuild
WWGetViewProductName
WWGetViewProductVersion
WWGetViewSpecialBuild
WWGetITFileDescription
WWGetITFileVersion1

GetWindowPosition Script Function
WndUtils.wdf & WndUtils.dll


ITAlmFn Script Function Library
ITAlmFn.wdf & ITAlmFn.dll

WWGetAlmGroup

ITExtras Script Function Library
ITExtras.wdf & ITExtras.dll


WIN.INI File Access Functions
ITXGetProfileString
ITXGetProfileInt
ITXPutProfileString
ITXPutProfileInt

Date/Time Functions
ITXCreateDateTime
ITXCreateDateTimeUTC
ITXCreateDate
ITXConvertDateTime
ITXConvertDate
ITXConvertDateTimeString
ITXConvertDateString
ITXCheckDate
TXSetSystemTime
ITXSetSystemDate
ITXSetLocalTime

Help File Access Functions
ITXShowHelpByNumber
ITXShowHelpByString
Window Manipulation Functions
ITXWindowCtrl
ITXAppActivate
ITXResizeApplication
ITXStartAppInDirectory

Directory Manipulation Functions
ITXCreateSubDirectory
ITXRemoveSubDirectory
ITXCreateDirectory
ITXRemoveDirectory
back to top

InBatch/InTouch Script Function Library
IBMATFNC.wdf & IBMATFNC.dll

InBatch Material Functions
ibMatAddCLB
ibMatAddDefChar
ibMatAddMat
ibMatAddUnit
ibMatChangeChar
ibMatChangeCLB
ibMatDeleteUnit
ibMatGetCharInfo
ibMatGetCLBInfo
ibMatGetDefCharInfo
ibMatGetMatInfo
ibMatGetUnitInfo
ibMatReadChars
ibMatReadCLBs
ibMatReadDefChars
ibMatReadMaterials
ibMatReadUnits
ibMatScaleCLBs
ibMatTotalMatQty
ibMatTotalUnitQty

InBatch Recipe Functions
ibRecReadRecipes
ibRecFilterRecipes
ibRecReadComments
ibRecReadInputs
ibRecReadOutputs
ibRecReadPhases
ibRecReadParams
ibRecReadVersions
ibRecReadInsts
ibRecChangeTarget
InBatch History Functions

ibHistReadInputs
ibHistReadInputs2
ibHistReadOutputs
ibHistReadOutputs2


InTouch Application Info Script Function Library
ITAppInf.wdf & ITAppInf.dll

GetResolutionStr
GetResolutionInt
GetAppVersion
GetOSVer
GetLastSaveDate
back to top

InTouch Statistical Script Functions
StatFunc.wdf & StatFunc.dll

StatReset
StatResetAll
StatSample
StatSampleAll
StatGetAverage
StatGetMax
StatGetMin
StatGetStdDev
StatGetSampleCount
StatGetSumXSquared


InTouchEntryDialogs Script Function Library
InTouchEntryDialogs.wdf & InTouchEntryDialogs.dll

InTouchLogon
ValueEntry
ProtectedValueEntry
ChangeWindowsPassword
OnScreenKeyboardOpen
OnScreenKeyboardClose

InTouchTagInfo Script Function
InTouchTagInfo.wdf & InTouchTagInfo.dll

ITTagType


InTouch Battery Status Script Functions
WW2kscriptfuncs.wdf & WW2kscriptfuncs.dll

WWSFGetLinePowerStatus
WWSFGetBatteryChargeStatus
WWSFGetBatteryLifePercent
WWSFGetBatteryLifetime
WWSFGetBatteryFullLifetime


Tech Support Script Function Library
WWTechSp.wdf & WWTechSp.dll

FilePrint
FileSelect
InfoAppStatus
InfoAppTitleExpand
InfoDosEnv
InfoWinEnv
MessageBox
MoveWindow
SendMail
SendSMTPConfig
SendSMTPClearConfig
SendSMTPMail
SendSMTPMailwAttachment
WWAlwaysOnTop
WWContext
WWControlPanel
WWDosCommand
WWFreeHandles
WWStartApp
WWMultiMonitorNode
WWPrimaryMonitorNode
WWPrimaryMonitorHeight


IntFromString() Script Function
WWHex.wdf & WWHex.dll

IntFromString


IsNodeAppRunning Function
WW2kscriptfuncs.wdf & WW2kscriptfuncs.dll

IsNodeAppRunning


Keytrap Script Functions
Keytrap.wdf & Keytrap.dll

KeyTrapSet
KeyTrapStatus


Multi-Language Script Functions for TrueType Fonts
WWmlent.wdf & WWmlent.dll

MLDialogValueEntry
MLDialogValueEntryEx
MLNoKeyDialogValueEntry
MLNoKeyDialogValueEntryEx
MLNoKeyDialogStringEntry
MLNoKeyDialogStringEntryEx


NumberRecipes Script Function
Numrecip.wdf & Numrecip.dll

NumberRecipes


RandInt InTouch Script Function
RandInt.wdf & RandInt.dll

RandInt

ServiceControl Script Function Library
ServiceControl.wdf & ServiceControl.dll

WWServiceControl
WWGetServiceName
WWGetServiceExeName
WWGetServiceStatus
WWServiceControlError


WWField Script Function Library
WWField.wdf & WWField.dll (16 Bit)

WWField.wdf & WWField.dll (32 Bit-1000)

WWField.wdf & WWField.dll (32 Bit-2000)

SetCommentField
SetDiscOnMsg
SetDiscOffMsg
GetEUDesc


SetCursorPosition() Script Function
Setcursr.wdf & Setcursr.dll

SetCursorPosition


SysBeep InTouch Script Function
SysBeep.wdf & SysBeep.dll for IT6.0

SysBeep


SysInfo Script Function Library
SysInfo.wdf & SysInfo.dll

wwGetUserName
wwGetComputerName


SystemInformation Script Library
SystemInformation.wdf & SystemInformation.dll

SICPULoadPercent
SINumberOfCPUs
SIIsProcessRunning


TimeFunctions Script Function Library
TimeFunctions.wdf & TimeFunctions.dll

WWDaylightSavingsTime
WWCurrentLocalTime
WWCurrentUTCTime
WWOffsetFromUTC
WWLocalTimeZone


WWGetString Function
WWGetStr.wdf & WWGetStr.dll

WWGetString


WWHtmlHelp Functions
WWHtmlHelpFuncs.wdf & WWHtmlHelpFuncs.dll

WWSFShowHtmlHelpByNumber
WWSFShowHtmlHelpByTopic


WWMoveViewWindow Script Function
WWMoveViewWindow.wdf & WWMoveViewWindow.dll

WWMoveViewWindow
 
Last edited:
Resently I posted how to shut down the PC from inside Intouch using "WWShutDownWinNT40" from the "WWTech32" Add-On Script Function library.
These Script functions are downloaded from Intouch support.
Located here: https://softwaresupportsp.schneider-electric.com/Pages/OKMArticleResult.aspx?docId=TN124
Here is a file that describes all of them. A lot of them are very useful..

You know, I've always loved the fact that WW offered this enhanced scripting functionality, but I've always hated the fact that it is required of the person tasked with installing the WW software to manually install the DLL files for the extended functionality of the enhanced WW scripting library.

It makes it more difficult for an integrator to provide service for a prior programmer's HMI application.
 
Yes....

If you can download them, then I wonder why Intouch doesn't install them into Intouch scripting??

I keep a zip file named "Copy to Intouch Folder.zip" that is listed as part of our installs, because I use a few of them for:
WWShutDownWinNT40 (To "gracefully" shut down Intouch and PC from a button in Intouch)
File Select
File Copy
File Print
Number of Recipes
Current version of Intouch App
Sys Info tags

and a few others...

They also work if you install in Intouch app directory..
 
Last edited:
Hi NetNathan,

sorry to hijack an old thread, but I am new to this issue.

I need to add FileSelect to a running 2014R2 Application (why is it not there anyway?), so how would I do it?

Have been trawling Schneider/Aveva help pages to no avail, going round in circles, and have found 3 possibles (wwfld16.zip, wwfld32_1000.zip, wwfld32_2000.zip) but no explanation as to the differences...maybe not even suitable for my modern application and PC hardware...
 
Hi NetNathan,

sorry to hijack an old thread, but I am new to this issue.

I need to add FileSelect to a running 2014R2 Application (why is it not there anyway?), so how would I do it?

Have been trawling Schneider/Aveva help pages to no avail, going round in circles, and have found 3 possibles (wwfld16.zip, wwfld32_1000.zip, wwfld32_2000.zip) but no explanation as to the differences...maybe not even suitable for my modern application and PC hardware...

You do not see "FileSelect" as a tag, it is a function.
when you enter the "FileSelect" script, if it asks you to add FileSelect as a tag, then the add-on is not seen.
The Dll needs to be either in your InTouch application directory or the Intouch folder in the ProgramFiles (x86) folder.

Here is my button script to select file...
"V2-RunFileRead-PathDB= FileSelect ("", V2-PathRuns, "*.CSV", "V2-XXXXXX-RD.CSV");"

I have been using this function since before Intouch 7.1, and now using it on Intouch 2017.
 
Hi NetNathan,

Thanks for the info.

Aye, I know it is a function and the script is there from the 3rd party supplier which is similar to yours. When I tried to change the path to make it work, it asked me to define FileSelect.

Just I was not sure, as there were 3 zip files I found, each of which have a dll file in them
I do not want to overwrite any functionality by adding/replacing the dll file, as not sure on the different versions.

The 3rd party supplier says it is what it is, it does open a notepad window, just does not point the user to the directory where, in this case, the alarm log files reside.

I may try creating an offline copy first and try it. cheers
 
Hi NetNathan,

Thanks for the info.

Aye, I know it is a function and the script is there from the 3rd party supplier which is similar to yours. When I tried to change the path to make it work, it asked me to define FileSelect.

Just I was not sure, as there were 3 zip files I found, each of which have a dll file in them
I do not want to overwrite any functionality by adding/replacing the dll file, as not sure on the different versions.

The 3rd party supplier says it is what it is, it does open a notepad window, just does not point the user to the directory where, in this case, the alarm log files reside.

I may try creating an offline copy first and try it. cheers

To get the FileSelect Add-On function,
To get it..... you will need the "WWTechSp" Add-On Function Script library. You can download from Intouch support site.
https://softwaresupportsp.schneider-electric.com/#/

It will be a zip file with WWTechSp.wdf & WWTechSp.dll inside. These files either go in your Intouch folder or your intouch application folder.
 
Last edited:
Hi all,
I have a problem that is related to this case.

I have a few similar PC’s and on 1 PC is InTouch WindowMaker, the rest has only Viewer.

Alarm limits are done:
[BUTTON script] MLDialogValueEntryEx( FacePI1.Name+".LoLimit", FacePI1.MinEU….) and this works, SMC says “loading script wwmlent.dll”.

Problem is that the values are not going to the other PC’s anymore. (Used to go before updating XP->Win10 (InTouch10.1) )
This InTouch project set up is using NAD.
All relating files to wwmlent.xx can be found from Maker PC:
…ProgramFiles (x86)\woderware\InTouch and from...User\InTouch\”Actual application”.
Viewer PC:
…ProgramFiles (x86)\woderware\InTouch and from...User\InTouch\NAD\”Actual application”.

Not entirely sure how Win.ini file should look like, both Maker and Vierwer PC’s…?

PS. Trends had a similar issue, but copying Cursorfn.dll to the right folder, those started to work.

Any advice for this matter?

Thanks. BR, Loordi100n
 

Similar Topics

Hi All, I'm keep getting double quotes in between selections rather than the beginning and the end. Here's the script and please help to find...
Replies
7
Views
773
Could anyone please provide script to show popup on active screen ..? I have written windows script to show on current screen in " While showing...
Replies
0
Views
859
Can someone give a clear explanation of the IOSetAccessName for an Intouch Application Script? - Thanking everyone in advance. The setup is 1 No...
Replies
0
Views
1,134
Fairly new to using this software. Working on making some changes with a trend client for better UI. I'm currently working on a setup where I have...
Replies
7
Views
4,583
Hello all, I have programmed a script in InTouch which will increment a value (lets say "tag1") from 0 to 10000 within a given interval. This...
Replies
18
Views
5,873
Back
Top Bottom