File paths in AppleScript



As of RagTime 6.6.6 old file paths are no longer supported in the colon syntax, UNIX paths must be used instead.


If you need to convert paths in scripts, you can use the commands POSIX file and POSIX path from the “Standard Additions”.



set oldPath to (path to desktop folder) as string
-- > "Macintosh HD:Users:tom:Desktop:"

set newPath to POSIX path of oldPath
-- > "/Users/tom/Desktop/"

set againOld to POSIX file newPath as string
-- > "Macintosh HD:Users:tom:Desktop:"


Back to the overview



Tips & Tricks

Sales News

Contact Development GmbH

Steinriede 3
30827 Garbsen


Tel.: +49 5131 70 93 6-0


Contact us by e-mail

General Inquiries

Legal Notice  |  GTC  |  Sitemap  |  Privacy

Simply productive

RagTime 7


Inventory and Foyer

Individual content, formats, fonts, and colors are listed well arranged in the Inventory. Frequently used documents and form can be accessed easily from within the Foyer.

New Features
Try before you buy
General Sales Information