BlitzBuddy v1.0

Miscellaneous Forums/MacOS X Discussion/BlitzBuddy v1.0

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Here is a script I forgot to include. It finds the word at the insertion point in BBEdit and passes it to BlitzBuddy, which then looks up every command starting with that word and shows them all in its help viewer index list:

tell application "BBEdit"
	tell window 1
		set sel_offset to characterOffset of selection
		set cur_line to startDisplayLine of selection
		try
			select (last word of display_line cur_line whose characterOffset ? sel_offset)
		on error
			select display_line cur_line
		end try
		set s to selection as string
	end tell
end tell

tell application "BlitzBuddy"
	showhint s
end tell