
Troi File Plug-in > Functions reference > TrFile_ExchangeFiles
![]() |
TrFile_ExchangeFiles |
Exchanges two files on disk
Syntax
TrFile_ExchangeFiles ( switches ; filePath1 ; filePath2 )

Troi File Plug-in > Functions reference > TrFile_CreateFileWithContents
![]() |
TrFile_CreateFileWithContents |
Creates a new (data) file and fills it with (text) contents in one step.
Syntax
TrFile_CreateFileWithContents ( switches ; filePath ; contents)

Troi File Plug-in > Script steps reference > Create File with Contents
![]() |
Create File with Contents |
Creates a new (data) file and fills it with (text) contents in one step.
Syntax
Create File with Contents [ Select ; Result (error) ; FilePath ; Contents ;
Create Folders ]

Continue Reading

Troi Dialog Plug-in > Functions reference > Dial_CenterPointOfRect
![]() |
Dial_CenterPointOfRect |
The function returns the center point of the input rectangle.
Syntax
Dial_CenterPointOfRect( switches ; rectangle | left ; top ; width ;
height )

Troi Dialog Plug-in > Functions reference > Dial_GetGlobalScreenPosition
![]() |
Dial_GetGlobalScreenPosition |
The function returns screen (position) information of the front FileMaker window or of a specific screen.
Syntax
Dial_GetGlobalScreenPosition ( switches )

Troi Dialog Plug-in > Functions reference > Dial_GetScreenInfo
![]() |
Dial_GetScreenInfo |
The function returns (position) information of all the screens (displays) that are currently attached to this computer.
Syntax
Dial_GetScreenInfo ( switches { ; screenNumber } )

Troi Dialog Plug-in > Script steps reference > Schedule Notification
![]() |
Schedule Notification |
Schedules the display of a notification dialog on screen (and in the notification center).
Syntax
Schedule Notification[ Select ; Result ; NotificationID ; Delay ; Title ;
Message body ; Action button ; File name ;
Script name ; Script parameter; Switches ]