Presumably you have already chosen
Perspectives > All Items
and made sure that the Inbox and Library trees were selected in the sidebar before running a search ?
(If you are using OF 1.8, which has now been released, you can run a simple search string script (below), or run the search:
tasks where <txt> is in name
in
Where in OF, which will prompt you for the value of <txt>, and then warn you if any filter settings are hiding what you are looking for)
Simple search string script for OF 1.8:
Code:
tell application "OmniFocus"
tell front document
set strText to text returned of (display dialog "enter a search string" default answer "" buttons {"OK"} default button "OK")
if strText is "" then return
set lstTasks to name of (flattened tasks where name contains strText)
if length of lstTasks > 0 then
choose from list lstTasks
else
display dialog "Tasks containing " & strText & " not found" buttons {"OK"} default button "OK"
end if
end tell
end tell