For example, typing:
If so, how?
Here is some Objective-C that I have used in the past.
An example calling the method
Thanks so much!
Could you help me with one more thing, though?
I’m a bit confused (and altogether awful) at converting that ObjC code to AppleScript calls.
Would someone be kind enough to show me this?
I wrote an article on this subject that you can find here