On May 23, 2012, at 02:56, Shane Stanley wrote: Odd. It works for me, but then I don't use project documents, so maybe it's because of my test case. The dictionary says they should return aliases.
______________________________________________________________________
Hey Shane,
If I go back to BBEdit 9.6.3 (2890) which does return aliases, then I can filter on alias. But this does not work with 10.x.
-- Take Care, Chris
______________________________________________________________________
tell application "BBEdit" set fL to file of every document set filteredFiles to files of fL set filteredAliases to aliases of fL end tell {fL, filteredFiles, filteredAliases}
{ { alias "~:test_directory:sedScript.txt", alias "~:.curl_config", alias "~:Documents:BBEdit Projects:Default File Set.bbprojectd:", alias "~:Documents:Cleanup:2012-05-19-201749 (Gathered):Desktop_Cleaned 20120427031355:Saved Safari URLs 2012-04-25 » 15.36.51.html", missing value, missing value, missing value, missing value }, {}, { alias "~:test_directory:sedScript.txt", alias "~:.curl_config", alias "~:Documents:BBEdit Projects:Default File Set.bbprojectd:", alias "~:Documents:Cleanup:2012-05-19-201749 (Gathered):Desktop_Cleaned 20120427031355:Saved Safari URLs 2012-04-25 » 15.36.51.html" } } |