I’ve run into an issue with Script Debugger’s Search Clippings. Typing two or more letters into the search bar dwindles down the Clippings list to nothing. I’m at a complete loss as to the cause of the behavior and more importantly how to restore the search functionality. Can anyone please offer a suggestion? Thanks.
FYI, here’s a version of a script (written with help here) that sends version info to the clipboard that you can paste into your posts:
use scripting additions
use framework "Foundation"
set saveTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"Version ", "Build "}
set sysVer to (current application's NSProcessInfo's processInfo()'s operatingSystemVersionString())
set sysVer to text items 2 thru 3 of (sysVer as text)
set AppleScript's text item delimiters to {""}
set sysVer to {"--> Mac OS Version: " & sysVer as text}
set allAppBundleIds to {¬
("com.latenightsw.ScriptDebugger8"), ¬
("com.red-sweater.fastscripts3") ¬
}
-- You can include bundle identifier of app, as found in System events
-- ("com.apple.ScriptEditor2"), ¬
set appVersions to {}
repeat with thisAppBundleId in allAppBundleIds
set the end of appVersions to GetAppInfo(thisAppBundleId)
end repeat
set versionStrings to {sysVer}
repeat with thisAppInfo in appVersions
set {fullAppName, appVer, appBundleVer} to thisAppInfo
set the end of versionStrings to "--> " & fullAppName & space & appVer & " (" & appBundleVer & ")"
end repeat
set AppleScript's text item delimiters to {return}
set versionStrings to versionStrings as text
set AppleScript's text item delimiters to saveTID
set the clipboard to versionStrings
return the clipboard
--> Script Debugger 8.0.5 (8A61)
--> Script Editor 2.11 (225)
--> FastScripts 3.2.2 (1723)
--> Mac OS Version: 11.6.8 (Build 20G730)
on GetAppInfo(AppBundleId)
set appNSURL to current application's NSWorkspace's sharedWorkspace()'s URLForApplicationWithBundleIdentifier:AppBundleId
set appBundle to current application's NSBundle's bundleWithURL:appNSURL
set fullAppName to (appBundle's infoDictionary()'s objectForKey:"CFBundleName") as text
set appVer to (appBundle's infoDictionary()'s objectForKey:"CFBundleShortVersionString") as text
set appBundleVer to (appBundle's infoDictionary()'s objectForKey:"CFBundleVersion") as text
return {fullAppName, appVer, appBundleVer}
end GetAppInfo
Thanks so much for your suggestions. I was able to fix it this morning with a simple reinstall. Must have been a corrupt preference file or something. I appreciate your help!