I want to input the path of the file from the interface and return the hook link. I would like to generate hook links for a batch of files via python, applescript, etc.
Thank you for contacting us!
Have you tried Hook’s AppleScript Dictionary? Here is some sample code:
tell application "Finder" set filePath to (path to desktop) & "project.mproject" as text set fileURL to URL of file filePath end tell tell application "Hook" set myBookmark to make bookmark with data fileURL address of myBookmark end tell
Thank you very much!