Help button in Alerts


(Jonas Whale) #1

Shane, can we make a feature request?

Could it be possible to have a round help button at the bottom-left of the dialog?
This button won’t dismiss the alert and shows a message contained in a variable of the script or in a file.
Or just expands the dialog at the bottom and let us see the help text in a scroll view?
Or any other combination…

`


(Shane Stanley) #2

It’s an interesting idea. The problem is that it doesn’t fit as part of a library very well, because the button would have to call back to a handler. I’ll keep it in mind, though.


(Jonas Whale) #3

As I know nothing in AppleScriptObjC, I thought that an if statement should suffice.

:neutral_face:


(Shane Stanley) #4

Adding a help button is easy – but you need to add a handler that gets called when the button is pressed. That’s the bit that doesn’t fit so well with the idea of a library.