Le 15/01/2013 à 14:50, Luther Fuller < email@hidden> a écrit : On Jan 14, 2013, at 9:20 PM, Shane Stanley wrote: On 15/01/2013, at 8:13 AM, Luther Fuller < email@hidden> wrote: This is becoming a mess.
FWIW, it looks to me that you're using separate apps for two reasons: a way of getting the menu items in a dock tile, and a way of displaying a dialog while processing continues. If so, you can solve both those problems fairly easily by reworking your app in AppleScriptObjC.
What I currently have is a large script that I edit in Smile and compile in ASE using Script Bundle Tool. Moving to AppleScriptObjC may be advantageous, but I'm always busy maintaining the original code. The progress display is crap, but in AppleScriptObjC, could I …. You'd need to make a window in your Xcode project, turn off Visible at Launch, and add a progress spinner. In your code, you'd add properties for the dock menu, window, and spinner:
???
My problem, at this moment, is to quickly get this application working in Mt Lion. I am seriously considering that my next problem should be to move it to AppleScriptObjC.
I prepared a mail telling you that maybe passing the parameters thru a text file may be a workaround.
Alas, I had some health problems here and don't remember if I really posted it.
Yvan KOENIG (VALLAURIS, France) mardi 15 janvier 2013 15:02:38
|