Good Good Study, Day Day Up!

Happy Life, Happy Money!

Applescript--实现桌面的隐藏

IWRose posted @ 2011年4月01日 09:18 in 未分类 , 1891 阅读

 

tell application "Finder"
 -- insert actions
 set desktop_folder to folder "Desktop" of home

 set item_count to count item in desktop_folder
 if item_count is greater than 0 then

 do shell script "chflags hidden ~/Desktop/*"
 else
 
 do shell script "chflags nohidden ~/Desktop/*"
 end if
end tell
很简单的代码,但是applescript不熟悉,结果很是花了点时间。
  • 无匹配
  • 无匹配
deep cleaning dubai 说:
Sep 11, 2019 07:19:54 PM

You need a cleaning system that works to meet your needs, your itinerary, and a space – without regard to how unconventional. Your cleaners is going to be reliable not to mention consistent and produces a healthy habitat, happy workers', and floored clients. Accept to Great Touch Vacuuming Services, whereby we explore your complete needs, develop a vacuuming service who meets these products, and give good results tirelessly to perfect it – Among them surprise see checks.

house cleaning servi 说:
Mar 28, 2022 04:18:01 PM

Now that you have got located an important cleaner product of history backed as a result of several work references of convinced customers, determine their capability of providing modified work propose to meet exact needs depending on your quality. A well known and well-accepted cleaner product will first purchase your idea in cleaning your private home before offer and do a recce in order that the finished job of your residence would end up exactly what you deserve.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter