Adding a search field to a toolbar

Is there any way to add a search field to an Applescript-created toolbar? If it is, how would I go about doing so? Any and all help greatly appreciated.

I have been looking for this as well for a while.

My only answer is that is seems not to be possible with the current implementation. Only “toolbar items” (icons, really) with actions assigned to them are possible for the toolbar of an applescript application in xcode.

Sadly so.

Hi all!

So… I’ve a problem related to this one…

I’ve dragged and text field to my toolbar but now… How can I pick up the text from there to a variable?

I’ve already tryed:

set var1 to contents of text field "var1f" of toolbar of window 1 set var2 to contents of text field "var2f" of toolbar of window 1
but it doesn’t work at all, I end up with this error:
“Can’t get «class texF» “var1f” of «class tbar» of window 1. (-1728)”

Help please…!