![]() Set allAppAndAppletURLs to (allURLs's filteredArrayUsingPredicate:(current application's NSPredicate's predicateWithFormat:("self.path ENDSWITH " & quoted form of ". 26MARHow to Count Data in Selected Cells With Excel s COUNTIF Function. Set allURLs to (theFileManager's enumeratorAtURL:theFolderURL includingPropertiesForKeys: options:((current application's NSDirectoryEnumerationSkipsPackageDescendants) + ((current application's NSDirectoryEnumerationSkipsHiddenFiles) as integer)) errorHandler:(missing value))'s allObjects() With a DPS of 16.53, Smack Down and Stone Edge are Shadow Tyranitars best. ![]() Set theFileManager to current application's NSFileManager's defaultManager() Set isPackageKey to current application's NSURLIsPackageKey Set theFolderURL to current application's |NSURL|'s fileURLWithPath:"/Applications/" Seems you can determine whether it’s an applet by checking its ist's CFBundleExecutable. (Some of our daily scripts are applets that get duplicated every day).įor now I’m thinking about making it a droplet that and storing previous apps. On my Mac that would be hundreds, if not thousands. Trying to get all apps would return all applets too. Contents of the application folders is a little quicker, but misses any apps not in those folders. Getting application processes from System Events takes forever, and only returns running apps. I’m trying to figure out the best way to generate a list of which apps the user may want the versions for. (So now it should work for SD 9 and SD 10 and SD11…) ![]() I figured out how to get around that (easily) but looking at Chris’ code I realized I could make this work with any other application. This stopped working when I moved to SD8 because SD7 had been hard coded into the script. It generates the version and build number of SD and Mac OS and puts them on the clipboard like this: I have a script I’ve been using for a few years based on one Christoper Stone posted here back in the day.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |