Sunday, December 17, 2017

#1 2017-09-27 10:16:45 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5200

[ANN] Dialog Toolkit update and Dialog toolkit Plus

I've released a new version of Dialog Toolkit.lib to deal with some issues, including some related to High Sierra (macOS 10.13). I've also released an enhanced version, Dialog Toolkit Plus.lib, which requires macOS 10.10 or later.

You can download them both here:

https://www.macosxautomation.com/apples … logToolkit


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#2 2017-09-28 05:03:47 am

ilexxey
Member
From:: Moscow
Registered: 2012-08-02
Posts: 94
Website

Re: [ANN] Dialog Toolkit update and Dialog toolkit Plus

Thank you, Shane!


Regards, Alex

Offline

 

#3 2017-10-11 11:04:42 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5200

Re: [ANN] Dialog Toolkit update and Dialog toolkit Plus

I've just released a Dialog Toolkit Plus 1.0.1, which fixes a bug when setting the initially selected item in a matrix. You can get it here:

https://www.macosxautomation.com/apples … logToolkit


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#4 2017-11-09 08:00:22 am

Joy
Member
From:: South Tirol
Registered: 2008-07-04
Posts: 542
Website

Re: [ANN] Dialog Toolkit update and Dialog toolkit Plus

Great library!
I missed better ui controls for a decade...

There is still something to improve: currently the create labeled path control doesn't support with multiple selections allowed

Also a nice,  non - selectable delimiter, not an alt+- string (as I'm used to add) like "-----------" inside the pop-up menus would be nice

And some rules for your labels in general. If one label is selected (e.g. a pop-up menu), it should include-exclude other labels (not just of the same kind of label) as well

Sometimes the grey header bar of your menus is completely missing.. I don't know if this is a bug or by design.

Online

 

#5 2017-11-09 05:48:22 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5200

Re: [ANN] Dialog Toolkit update and Dialog toolkit Plus

Joy wrote:

Great library!



Thank you.

There is still something to improve



Of course -- but the question is where to draw the line, in terms of both time and the size of the library. The idea is to meet common requests, and because all the code is in AppleScript, scripters can modify it for their own requirements.

For example, you could add separators to menus by adding items something like this:

Applescript:

repeat with anEntry in entryList
   if anEntry begins with "----" then
       (thePopup's addItem:(current application's NSMenu's separatorItem()))
   else
       (thePopup's addItemWithTitle:anEntry action:(missing value) keyEquivalent:"")
   end if
end repeat

Sometimes the grey header bar of your menus is completely missing.. I don't know if this is a bug or by design.



Do you mean when they're the top item? If so, you need to add an extra point as padding for the acc view height.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)