These PascalScript Hooks are missing documentation

General Discussion in English
Post Reply
IMTheNachoMan
Posts: 86
Joined: Sun Nov 20, 2022 5:11 am

These PascalScript Hooks are missing documentation

Post by IMTheNachoMan »

These PascalScript Hooks are missing documentation on https://www.syncovery.com/pascalscript/:
  • OnGetProfilePathBeforeCopying
  • OnHttpPost
  • OnMoveFileToDeletedFolder
  • OnSendEmail
Additionally, can I get clarification on a few things:
  • Do any scripts run after a file has been determined if it is to be included/excluded? Like if I wanted to do something special with all excluded files, is that possible?
  • If I want to do something special with files that were acted on, like uploaded, deleted, etc... is OnActionComplete the best hook to use?
  • For OnActionComplete, if a profile is setup to keep older copies in a specifc folder, or move deleted files to a specific folder, will this hook tell you the source folder and destination older/trash folder? Say files on the right go /trash and /path/to/file.txt on the right is deleted it, then do any of the variables have /path/to/file.txt and /trash/path/to/file.txt?

Post Reply