Monday, July 23, 2018

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

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

[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/
latenightsw.com

Offline

 

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

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

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

Thank you, Shane!


Regards, Alex

Offline

 

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

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

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/
latenightsw.com

Offline

 

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

Joy
Member
From:: South Tirol
Registered: 2008-07-04
Posts: 557
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.

Offline

 

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

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

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/
latenightsw.com

Offline

 

#6 2017-12-19 10:37:58 am

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

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

It's possible to build in some mini arrows (up and down) to adjust numeric digits?
Like for calendar values:

Hours,(mini arrows -up-down) minutes, (mini arrows -up-down) seconds, (mini arrows -up-down), day (mini arrows -up-down) ect...

Offline

 

#7 2017-12-19 04:56:56 pm

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

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

It's theoretically possible, but extremely unlikely to happen. Beyond a certain level of complexity, creating an interface in code alone using ASObjC is not really practical.


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

Offline

 

#8 2017-12-20 08:47:04 am

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

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

OK I see the point.
By the other hand the manipulation of numbers is a recurring and constant need... Adding something like calendar ui elements would be even harder/cumbersome to code, if there's no underlying framework shipped with our Os. Hadn't had enough time to read your book very well, need to plan a day for that.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)