property accountName : "your account name" -- unique text of sidebar line (e.g., "Banking", "Chase Bank Account")
property windowName : "name of your main Quicken window" -- as shown when clicking red Q in upper right corner of main window, which is the same as your file name
use framework "Foundation"
use scripting additions
tell application "System Events"
tell process "Quicken"
try
set targetWindow to window windowName
set theOutline to outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of targetWindow
set theRows to rows of theOutline
set numRows to count of theRows
repeat with aRow in theRows
try
set theText to value of static text 1 of UI element 1 of aRowif theText contains accountName then
select aRow
exit repeat
end if
end try
end repeat
tell button "Clear Filters" of group 1 of splitter group 1 of window "Quicken JNT" to click -- remove this line if you don't want the green Clear Filters button clicked
end try
end tell
end tell