File paths in AppleScript

10/22/2020

 

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”.

 

Example:

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

RagTime.de Development GmbH

Steinriede 3
30827 Garbsen
Germany

 

Tel.: +49 5131 70 93 6-0

 

Contact us by e-mail

Support
Sales
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

Deutsch
English