Re: A question on System prefs
Re: A question on System prefs
- Subject: Re: A question on System prefs
- From: kai <email@hidden>
- Date: Fri, 25 Feb 2005 02:50:03 +0000
On Fri, 25 Feb 2005 00:50:39 +0000, I wrote:
It seems to me that there are some inconsistencies here. For some
panes, "preference" works, for others you need "preferences".
This works here - and appears to confirm the above:
-----------
set l to {}
set d to "com.apple.preference"
set t to read file ((path to "cach" from user domain as Unicode text)
& d & "panes.cache")
set text item delimiters to d
set t to t's text items
set text item delimiters to ASCII character 134
repeat with i in t's rest
set l's end to d & i's text item 1
end repeat
set text item delimiters to {""}
set l to choose from list l with prompt "Please choose a preference
pane:" OK button name "Copy"
if l is not false then tell application (path to frontmost application
as Unicode text) to set the clipboard to l's item 1
-----------
---
kai
_______________________________________________
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