Re: AppleScriptObjC & Cocoa
Re: AppleScriptObjC & Cocoa
- Subject: Re: AppleScriptObjC & Cocoa
- From: Jim Underwood via AppleScript-Users <email@hidden>
- Date: Mon, 22 Jun 2020 09:58:33 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=apoemail.us; dmarc=pass action=none header.from=apoemail.us; dkim=pass header.d=apoemail.us; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FmDEQBrgex8oy/V22YVbITbIsLX0v8QDmErZWGkUwfs=; b=YlyOvC8W3YEYUmAd7sVJghBNWhEmzBqlVoXEPjmzWQlZiruYCFppKa21e16iDoYuJntsF+LaGU5ezSNMVuSGYNu7ih9U5x1ReDseoFTAh1WzMG/sflO2bLVlyirfGU1gmL4BbbDRYSzsxzKckF4JudoLPan+CQC/K2fB504aTJBCMKO1B7gQGNBUYGguqWLSH0wk7xBfOTPxbA8IMBHGuzAKZplbhBbBhkDKXhbtsYAd/n7VLMQHjB85ANVeR6YRSyzIk5Pm9E4iZXIYgKHoRj55tgkKDFN93kNQCv7kfpDS/ucxNJXweoCHyxpuTxqzCS6YoIJ7t/SLHZa99WLOsA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WMTuqp7XdIMW1Dgul8N+5DGrMPO68LRHRpann63VniijbK8FSVF+JiAmgnB2hs4gEdYjggugF8fdoffvUUa5ksatWQ1eXC1gHSLaIMcq6exon8UYGI4ocOUmy0ozb+XTW/FvMYgYIb0TrhUv93sjoQAjr+gjVN3kwH2LWOSBQF7/p0CZs5CW3TxAxg5bvx5HdMV1TU1qmxj8KYpsuAmHuUrHWTaMV2OKVlCao/ACHpZ+gcYKURcuZpDwWgiQWCG70ZhLUVWlTCYC6M4htVgrZA/Q4wJkjxl2CF7b5QLEKoFSuXO+y5PDpRIXWpi0wofdvaDaLkY2n3MCOdsXgyCNQg==
- Thread-topic: AppleScriptObjC & Cocoa
Kell,
So can you create AppleScript apps with GUI?
I had the same question, and the same quest, several years ago.
Short Answer: There is no good way to create AppleScript GUI Apps
I came to that conclusion after a lot of inquiries and testing. I gave using
Xcode a shot, but it is just too hard to learn for the benefit.
However, recently I discovered (re-discovered actually) what may be a good
alternative: Xojo<https://www.xojo.com/>
Xojo does NOT use AppleScript as its native language, but it can run
AppleScripts<https://docs.xojo.com/UserGuide:AppleScripts> and get the results.
Xojo has an excellent GUI IDE for quickly creating a very nice, Cocoa-based,
GUI App. It is basically a GUI designer using drag/drop from a wide selection
of controls onto a window. Of course you can subclass and create your own
classes and controls. Here's a quick video to introduce you to Xojo: Xojo
Desktop Tutorial - Make a Task Manager App
<https://www.youtube.com/watch?v=nhX4omEzcik&feature=youtu.be>
I have embarked on a journey to learn Xojo, and use it for my more
GUI-demanding AppleScript automations.
The Xojo development app is free to download and fully use. You would only
need to pay a modest license fee<https://www.xojo.com/store/> if you decide you
want to create distributable apps.
I have not yet purchased a license. I am waiting until I have developed a
complex app using AppleScript that serves as my proof-of-concept. Having said
that, I really like everything I have seen so far. If you have ever programed
in a real OOP (Object Oriented Programming) language, then you will like Xojo.
It is the easiest to learn OOP language I have ever used.
Xojo has an active and fairly friendly Forum/Community. There are many video
tutorials and other training materials available.
If you decide to investigate or try Xojo, I would love to have another
AppleScripter to work with. Please let me know if you are interested in Xojo.
Full Disclaimer:
I realized after typing all this that it might sound like and ad for Xojo.
Nothing could be further from the truth.
I have no relationship with Xojo other than being a user, and potential
customer.
Best Regards,
Jim Underwood
aka JMichaelTX
From: "ASUL (AppleScript)" <email@hidden>
Reply-To: Kellen Ruyle <email@hidden>
Date: Sunday, June 21, 2020 at 8:38 PM
To: "ASUL (AppleScript)" <email@hidden>
Subject: AppleScriptObjC & Cocoa
Hello!
being fairly new to AppleScripting, some of the books I’ve been going through
discuss AppleScript Studio and being able to create an AppleScript application
in Xcode. Of course, AppleScript Studio is not a thing. But seems like pretty
cool concept making your scripts with a user interface. Is there a way to do
this currently? I found that it has largely been replaced by AppleScriptObjC
and the Cocoa framework. So can you create AppleScript apps with GUI? And is it
beneficial to learn the Cocoa framework, Objective-C, and thus AppleScriptObjC
if I ever want to write more advanced scripts, especially with GUI’s? If so,
are there any resources out there? Sorry for the lengthy email!
Kind regards,
Kell
_______________________________________________
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