Friday, October 22, 2021

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

Fredrik71
Member
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.

Applescript:

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

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)