I'd like a hotkey that brings up the find window with specified options (the 
find options are sticky but when I hit this key I want them to be reset to my 
specs). I've got the following applescript, but it doesn't populate the search 
field or fill-out the options.

(I don't know much about applescript)

tell application "BBEdit"
try
open find window
find "hello" searching in text of front text window options {search mode:grep, 
starting at top:false, wrap around:true, backwards:false, case sensitive:false, 
match words:false, extend selection:false} with selecting match
end try
end tell

Also, when I hit "return" the window goes away, but when I hit the hotkey for 
"previous" (shift-command-G) the window stays open, is there a way to "find 
previous" and dismiss the window with one keystroke?

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to