Friday, October 22, 2021

#1 2021-07-23 02:05:37 am

Registered: 2019-10-23
Posts: 901

Search for a string of words in NSHelpBookName

Simple example uing ASObjC to search for a string of words in NSHelpBookName.


use framework "AppKit"

its findString:"Functions that accept" inBook:"Numbers"
on findString:searchString inBook:theBook
   set helpManager to current application's NSHelpManager's sharedHelpManager()
   helpManager's findString:searchString inBook:theBook
end findString:inBook:

if you are the expert, who will you call if its not your imagination.

Filed under: NSHelpManager



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)