KNOWLEDGEBASE - ARTICLE #1957

Specifying file names and paths when opeining a Prism file via Applescript

When you write an Apple script to open a Prism script, there are two ways to specify the path:

HFS Path

open file "Users:smith:Desktop:s_perl:January:prism_script.pzc"

Note the use of colons, not slashes.

POSIX path

open POSIX file "/Users/smith/Desktop/s_perl/January/prism_script.pzc"

Using the term "POSIX" lets you use slashes, but you must have the opening slash.

Explore the Knowledgebase

Analyze, graph and present your scientific work easily with GraphPad Prism. No coding required.