Re: Font cache id number
Re: Font cache id number
- Subject: Re: Font cache id number
- From: Björn Lundin <email@hidden>
- Date: Mon, 15 May 2006 19:00:52 +0200
15 maj 2006 kl. 18.36 skrev Michael Curtis: Hi,
I would like to write a script that deletes the font cache for the logged on user. The cache is held in Library/caches/com.apple.ATS/ and then a folder 501, 502 etc. How can I find out which number the logged on user is?
On my machine the environment-variable UID is set.Question is, how do one access environment variables from applescript? A quick look in 'The definitive guide' did not reveal anything obvius to me.
set The_UID to do shell script "echo $UID"
would perhaps work
/Björn
Björn Lundin bnl at spray dot se |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden