Customizing Features for Your Practice > Using PracticeScript > Using Functions
The Special category contains the following functions:
WinHandle
Function |
WinHandle |
Location in PracticeScript |
Functions->Special |
Purpose |
Returns the handle to the main PracticeWorks window. A handle is a number assigned to a window that is used by the operating system to keep track of the attributes of the window. This function is used in special circumstances. |
Format |
WinHandle() |
Evaluates to |
A number. |
Example |
WinHandle() |
PWIID
Function |
PWIID |
Location in PracticeScript |
Functions->Special |
Purpose |
Returns the PracticeWorks Integration ID of a person. This is useful if you need to manually match patients in an integrated database with those in PracticeWorks. |
Format |
PWIID() |
Evaluates to |
A number. |
Example |
PWIID(Patient.PersonID) |