当前位置: 首页 > 学习 > 电脑学习 > 操作系统 > MacOSX > 基础教程 > 正文

Mac OS X 10.2 的反安装

http://www.zk168.com.cn  招考学习网 2006-2-28 21:26:14
-----------------------------------------------------------[交流]-[打印]-[发送]-[收藏]--
想要反安装 Mac OS X 吗?有人提供这一个Apple Script!不过在使用之前一定要备份好重要文件
tell application "Finder"
activate
try
set this_version to the version as string
if this_version does not start with "9" or
this_version is not greater than or equal to "9.1" then
error "This script requires a Mac OS 9.x system greater than 9.0.4."
display dialog "This script will move Mac OS X items from the startup disk to the trash." with icon 2
display dialog "Should this script delete the Users folder?" buttons {"Cancel", "Yes", "No"} default button 3
set the users_flag to the button returned of the result
repeat with i from 1 to the count of the root_items
set this_item to item i of the root_items
if this_item is not "Users" or
the users_flag is "Yes" then
if exists (item this_item of the startup disk) then
delete item this_item of the startup disk
end if
end if
end repeat
repeat with i from 1 to the count of the systemfolder_items
set this_item to item i of the systemfolder_items
if exists (item this_item of the system folder) then
delete item this_item of the system folder
end if
end repeat
beep
display dialog "The Mac OS X items have been placed in the Trash."
on error error_message number error_number
if the error_number is not -128 then
beep
display dialog error_message buttons {"Cancel"} default button 1
end if
end try
end tell
-----------------------------------------------------------[交流]-[打印]-[发送]-[收藏]--
最新入库:
 
·国外生活必备的英文词汇
·实用生活英语句子 174句
·唬老外的常用赞誉之辞语
·日常生活中商店译名参考
·在美生存常用习语
·实用生活英语二十六句
·年轻人常用口头禅
·去银行会用到的十句话
·中国文化的艺术精神_语言教育
·论苏拭的现实主义词风_语言教育
相关内容:
 
·大众传媒·大众文化·文化危机——丹
·知美·好美·乐美—谈美育的三个境界
·English Language: American or British?_语言教育
·How to improve the ability of listening, speaking,
·AN ANALYSIS OF LANGUAG_语言教育
·Published by the Corco_语言教育
·Language and Culture_语言教育
·教育与education探源_语言教育
·开口ABC 之 挑选礼物_语言教育
·闻言察意说CET听力_语言教育
网友点评:
 
会员名称:
密码:匿名 ·注册·忘记密码?
评论内容:
(最多300个字符)
  查看评论
友情提醒:
 1.库中的资料大都来自互联网、网友上传、各类书籍,在录入的过程中难免会出现错误,恳请网
 友来信指正!
 2.如果网友在本库中未能找到所需要的材料,请登陆到我们的论坛《招考学习网》版块!
 3.考友想加入招考学习网的编辑部,请发信到XueXiWang#Gmail.com(#改为@)附带个人简历
 4.如需转载请注明出处及作者,谢谢合作!
 5.如果您有更好的建议或意见请EMAIL:XueXiWang#Gmail.com (#改为@)
 6.凡标题中有注有“[NO]”字样均不含答案且答案整理中.
 7.如本库中转载文章涉及版权等问题,请相关网站或作者在两周内发邮件通知(EMAIL:  XueXiWang#Gmail.com (#改为@))我们,我们接到通知后立即删除该文章及链接!
你问我答 更多>>