Pfadangabe in AppleScript

Sehr nützlich, da man ohne den Finder auskommt:

tell current application 
    path to "aexƒ" 
    -- alias "FESTPLATTE:Applications:Extras:" 
    path to "apps" 
    -- alias "FESTPLATTE:Users:USERNAME:Applications:" 
    path to "asup" 
    -- alias "FESTPLATTE:Library:Application Support:" 
    path to "flnt" 
    -- alias "FESTPLATTE:private:tmp:501:Cleanup At Startup:" 
    path to "prof" 
    -- alias "FESTPLATTE:System:Library:ColorSync:Profiles:" 
    path to "cmnu" 
    -- alias "FESTPLATTE:Library:Contextual Menu Items:" 
    path to "cusr" 
    -- alias "FESTPLATTE:Users:USERNAME:" 
    path to "desk" 
    -- alias "FESTPLATTE:Users:USERNAME:Desktop:" 
    path to "dtpƒ" 
    -- alias "FESTPLATTE:Library:Desktop Pictures:" 
    path to "docs" 
    -- alias "FESTPLATTE:Users:USERNAME:Documents:" 
    path to "favs" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Favorites:" 
    path to "fnds" 
    -- alias "FESTPLATTE:System:Library:Find:" 
    path to "fasf" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Scripts:Folder Action Scripts:" 
    path to "font" 
    -- alias "FESTPLATTE:System:Library:Fonts:" 
    path to "ƒhlp" 
    -- alias "FESTPLATTE:Library:Documentation:Help:" 
    path to "ilgf" 
    -- alias "FESTPLATTE:Library:Receipts:" 
    path to "issf" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Internet Search Sites:" 
    path to "kchn" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Keychains:" 
    path to "ƒmod" 
    -- alias "FESTPLATTE:System:Library:Modem Scripts:" 
    path to "pref" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Preferences:" 
    path to "ppdf" 
    -- alias "FESTPLATTE:System:Library:Printers:PPDs:" 
    path to "qtex" 
    -- alias "FESTPLATTE:System:Library:QuickTime:" 
    path to "rapp" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Recent Applications:" 
    path to "rdoc" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Recent Documents:" 
    path to "rsvr" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Recent Servers:" 
    path to "rotf" 
    -- alias "FESTPLATTE:System:" 
    path to "ƒscr" 
    -- alias "FESTPLATTE:System:Library:ScriptingAdditions:" 
    path to "scrƒ" 
    -- alias "FESTPLATTE:Users:USERNAME:Library:Scripts:" 
    path to "ƒlib" 
    -- alias "FESTPLATTE:System:Library:CFMSupport:" 
    path to "sdat" 
    -- alias "FESTPLATTE:Users:Shared:" 
    path to "sdsk" 
    -- alias "FESTPLATTE:Users:USERNAME:Desktop Folder:" 
    path to "macs" 
    -- alias "FESTPLATTE:System:" 
    path to "sprf" 
    -- alias "FESTPLATTE:System:Library:PreferencePanes:" 
    path to "temp" 
    -- alias "FESTPLATTE:private:tmp:501:Temporary Items:" 
    path to "trsh" 
    -- alias "FESTPLATTE:Users:USERNAME:.Trash:" 
    path to "usrs" 
    -- alias "FESTPLATTE:Users:" 
    path to "utiƒ" 
    -- alias "FESTPLATTE:Applications:Utilities:" 
    path to "fvoc" 
    -- alias "FESTPLATTE:System:Library:Speech:Voices:" 
    path to "root" 
    -- alias "FESTPLATTE:System:" 
    path to "empt" 
    -- alias "FESTPLATTE:Users:USERNAME:.Trash:" 
end tell 
									

Leave a Reply