AppleScript 读写plist文件
来源:互联网 发布:php上传图片缩略图 编辑:程序博客网 时间:2024/05/29 04:32
--构建完整路径
set filePath to ("" & (path to library folder from user domain) & "Preferences" & ":com.eusoft.eudic.plist")
--转为unix路径
set plistPath to POSIX path of filePath
tell application "System Events"
--方法一
(*
tell property list file plistPath
set value of property list item "MAIN_TimesLeft" to "820711"
end tell
*)
--方法二
set plist to property list file plistPath
set value of property list item "MAIN_TimesLeft"of plist to "820711"
end tell
- AppleScript 读写plist文件
- iphone读写plist文件
- NSDictionary 读写 plist 文件
- plist文件读写操作
- plist文件的读写
- plist文件读写
- plist文件的读写
- plist文件的读写
- plist文件读写
- Python_python读写plist文件
- plist文件读写
- plist文件的读写
- IOS 读写plist文件
- 读写plist文件
- plist文件读写
- ios plist文件读写
- plist文件读写
- 读写plist文件
- 页面出错样例收集
- 简说XML的解析方式(DOM,SAX,StAX)
- 打开被独占的文件方法(三) -- 使用直接硬盘访问读取文件
- hibernate3中出现 could not initialize proxy - no Session 错误的解决办法以及lazy load的介绍
- Bitmap调用recycle()回收内存
- AppleScript 读写plist文件
- 苹果如何独大智能手机和平板市场
- 成为项目经理_你可以?
- Android类参考---Toast
- jquery 动态table
- OPENJUDGE 1273 DRAINAGE DITCHES
- Unity3D-FileBrowser
- iPhone wifi使用socket连接Internet
- Android分辨率转像素