Scripting API

<<StartASImport Main Index StartRecording>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

StartForeignWindow

Script Name: StartForeignWindow
Name: StartForeignWindow
Library: CmdPyScript
Description: This command tells PSP that a dialog or window created by a script is running. In this state PSP will ensure that the dialog remains on top of the PSP window, and PSP will not allow any other scripts to run. The parameter passed is the window handle (available by winfo_id() from within Tk) of the dialog. The state is ended automatically when the window is destroyed, or by calling the command again with a handle of zero.
Status bar text: Notify PSP that a script base dialog is starting
Tool tip text: Start Foreign Window
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Window HandleWindowHandleIntegerThe window handle of the dialog. In Tk this can be obtained by using winfo_id(). In WxPython you can use GetHandle()No0-21474836472147483646
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
NoDocumentNeeded: true
 
Resource Attributes: