![]() |
![]() |
CorelScriptTools.GetAppHandle
Function GetAppHandle() As Long
Member of CorelScriptTools
The GetAppHandle method returns the Application Instance Handle for the Corel application that is running a script. For example, if you are running the script from the Corel Script Editor, GetAppHandle returns the Application Instance Handle for the Editor; if you run a script from Corel VENTURA, GetApphandle the Application Instance Handle for VENTURA. This function is used in conjunction with DLL calls that require the applications handle.
The return value specifies a numeric variable that is passed the Application Instance Handle.
Here is a code example:
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.