Re: scripting Xcode to import images
Re: scripting Xcode to import images
- Subject: Re: scripting Xcode to import images
- From: Shane Stanley <email@hidden>
- Date: Thu, 09 Apr 2015 09:09:41 +1000
On 9 Apr 2015, at 2:53 am, 2551 <email@hidden> wrote:
Also, I couldn't figure out how to call these handlers with this syntax
Look up Handlers with Interleaved Parameters in the AppleScript Language Guide. In part:
Also, the call must be explicitly sent to an object, even if the target object is the default, it . For example: its foo:5 bar:105 --this works | tell it to foo:5 bar:105 --as does this | foo:5 bar:105 --syntax error. |
So you can call this:
on convertASToJSON:someASThing saveTo:posixPath
like this:
its convertASToJSON:someASThing saveTo:posixPath
or this:
convertASToJSON_saveTo_(someASThing, posixPath)
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden