Sunday, April 21, 2019

#1 2019-02-03 04:17:48 pm

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

AsObjC UI elements

AsObjC is a great help .
I try to update my old way to script, so 2 questions:

A) it's possible to invoke a drag n drop UI through AsObjC?  

Of course, I could drag n drop items on my stay-open Applescript application. Or, create a labeled path control with Shane's Dialog toolkit, but... Invoking a nice, big drag n drop field inside As would be... Great smile

B) The other question is whether it is possible to create a menulet (those little service icons on the right side of our main screen to bar), so related to AsObjC.

Offline

 

#2 2019-02-03 04:32:10 pm

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

Re: AsObjC UI elements

Joy wrote:

A) it's possible to invoke a drag n drop UI through ASObjC?



If I understand you correctly, the Enhanced Applet option in Script Debugger could be what you are looking for.

B) The other question is whether it is possible to create a menulet (those little service icons on the right side of our main screen to bar), so related to AsObjC.



I'm fairly sure code for such a thing has been posted on this forum (they're called NSStatusItem, if that helps your search).


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

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)