Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Saving new crea...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 1588 of 1611
Post > Topic >>

Saving new created plist file to users library

by Florian <fidel@[EMAIL PROTECTED] > Mar 22, 2008 at 02:24 AM

Hi,

i run a short .plist (at the moment located on my Desktop) check on
launch of my applescript droplet code.
If the plist is existing nothing happens. If it does not exists it
creates a new .plist Basicly that was the idea to create the initial
plist file on the really first start of my application.

While developing phase it was usefull to have the .plist directly on
my Desktop i would like to change the location now too the users
library folder -> preferences.

Wondering what would be the best way to define this location.


At the moment my code looks like this:
------
set theOutputFolder to path to desktop folder as string
set thePListPath to theOutputFolder & "MyAppsName.plist"
------

I guess i would be forced now to know:
* Users HD Name
* User Name

to build the new plistpath location right ?
Or is HDName:Users:Username:Library:Preferences accessable somehow
different too ?


any ideas ?
Best regards
florian




 4 Posts in Topic:
Saving new created plist file to users library
Florian <fidel@[EMAIL   2008-03-22 02:24:22 
Re: Saving new created plist file to users library
Patrick Stadelmann <Pa  2008-03-22 11:15:14 
Re: Saving new created plist file to users library
Florian <fidel@[EMAIL   2008-03-22 03:28:32 
Private Message
   2008-03-22 09:15:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 0:24:25 CDT 2008.