Remove Folder Trigger (script step reference)

By April 1, 2020May 26th, 2020Online Help, Troi Activator Plug-in
Activator Plug-in > Script steps reference > Remove Folder Trigger
Activator Plug-in for FileMaker Pro

Remove Folder Trigger

Removes a previously added folder trigger

SyntaxScript step badge

Remove Folder Trigger [ Select ; Result (error) ; Folder path ]

Options

Select entire contents replaces the entire contents of a field with the result. If not checked the result replaces the currently selected portion of the field
Result (error) an error code
Folder path the path of the folder of which you want to remove the monitoring

Returned Result

Data type returned

Error code

Result

The returned result is an error code. An error always starts with 2 dollars, followed by the error code. You should always check for errors. Returned error codes can be:

0 no error
$$-50 paramErr there was an error with a parameter
$$-120 dirNFErr the monitor folder could not be found

Other errors may be returned.

Originated in

Activator Plug-in 6.0

Compatibility

FileMaker Pro 16 to 19

Considerations

When you leave the folderPath parameter empty all folder triggers will be removed.

Example

Remove Folder Trigger [ Select ; Result: $ErrorCode ; Folder path: "/C:/incomingData/" ]

This will remove the folder trigger of the folder “/C:/incomingData/”.

Remove Folder Trigger [ $ErrorCode ;  Folder path: "" ]

This will remove all the folder triggers.

Related script stepScript step badge

Add Folder Trigger

Related functionFunction badge

Actr_RemoveFolderTrigger

Related topics

Activator Plug-in online help (overview)


Online Help Page for Activator Plug-in for 15 to 19 –> Remove Folder Trigger (actrp7627) 2020-0526 20:18:07