ah_bear23 wrote:
問一個很基本的問題
嘗試在設定年月日,不過輸入相關指令後(例:date +%B)即出現8月,試問要如何設定才可以弄出August?
8月是中文的顯示方式,欲顯示August,請參考下面這段文:
在Properties 最底下有一Set Locale environment 之勾選,欲將週期以系統語言之第一順位顯示者請勾選;欲以英文顯示者擇將此選項勾選取消。
by Cat
set the_artwork_file to ((path to home folder) as string) & "Documents:GeekTools:CurrentArtwork.png" tell application "System Events" if ("iTunes" is in name of processes) then tell application "iTunes" if (player state is not stopped) and (player state is not paused) and (artworks of current track exists) then set theArt to front artwork of current track set pic to (raw data of theArt) try set RefNum to (open for access the_artwork_file with write permission) write (pic) to RefNum close access RefNum return end try end if end tell end if end tell do shell script "rm -f " & (POSIX path of the_artwork_file) |