obtaining application paths

Mark Wieder mwieder at ahsoftware.net
Tue Mar 31 16:18:16 EDT 2009


Jim-

Tuesday, March 31, 2009, 10:27:47 AM, you wrote:

> What is the best way, on a Mac, to get the path to the various files
> included in a Rev distribution. So assuming there is Rev 2.8.1, 2.9, 3.0
> etc. installed on a Mac, and without necessarily running the version of Rev,
> how would you find say the revdb.so for a particular version of Rev?

Don't know about "best", but how about:

put "3.0.0" into tVersion
put shell("locate revdb.so") into tFiles
filter tFiles with "*/" & tVersion & "*"

as long as the locate file database has been updated recently.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list