This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" | |
set theFile to selection as alias | |
tell application "System Events" to tell disk item (theFile as text) to set {theName, theExtension} to {name, name extension} | |
if theExtension is not "" then set theName to text 1 thru -((count theExtension) + 2) of theName -- the name part | |
set comment of theFile to theName | |
end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>font-name-aliases</key> | |
<dict> | |
<!-- N.B. 'system-font' is also available as an alias; it will be mapped to the actual system font at runtime. --> | |
<key>light</key> | |
<string>.SFNSText-Light</string> | |
<key>light-italic</key> |
OlderNewer