Skip to content

My collection of useful Groovy scripts for 360Works ScriptMaster

Notifications You must be signed in to change notification settings

jpscharf/ScriptMaster-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

##ScriptMaster Scripts

These Groovy scripts were developed in ScriptMaster for use with ScriptMaster and FileMaker Pro.

  • SaveTextToFile( filePath ; theText ; theEncoding ; eolFormat )

Writes a text file. You can change the character encoding parameter to write in ASCII or international character sets.

  • SaveFileDialog ( saveTitle ; defaultDirectory ; defaultFileName )

Ask the user where to save a file.

  • ExecuteSQL ( theQuery ; columnDelimiter ; rowDelimiter )

Run the provided SQL query and return the result with the provided delimiters.

  • OpenFileDialog ( saveTitle ; defaultDirectory )

Asks the user to select a file. Returns the selected files path.

  • CombinePDF ( inputFiles; outputPath; enableCompression )

Combine the list of return delimited files, and create a single PDF. (bookmarks not copied)

Requires: iText http://itextpdf.com/

  • CreateFolder ( pathToCreate )

Creates a folder using the provided path.

  • PathExists ( thePath )

Checks to see if the file/folder exists for the provided file path.

  • DeletePath ( pathToDelete )

Deletes the provided folder/file (recursive)

About

My collection of useful Groovy scripts for 360Works ScriptMaster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages