Re: Programmaticly creating buttons
Re: Programmaticly creating buttons
- Subject: Re: Programmaticly creating buttons
- From: Shane Stanley <email@hidden>
- Date: Thu, 04 Aug 2011 09:41:23 +1000
- Thread-topic: Programmaticly creating buttons
AppleScriptObjC pre-10.7 only supports Objective-C calls, not C functions or
macros like NSMakeRect(). Use a record:
set frame to {origin:{x:10, y:10}, |size|:{|width|:200, height:100}}
As of 10.7, you can use NSMakeRect -- but without any underscore.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden