Hi Geoff,
While this looks very nifty, it definitely isn't easier to program.
LiveCode is much easier (IMHO). We should never be able to do this with
LiveCode, simply because this isn't how xTalk languages function.
One important difference is that AppleScript uses typed variables and
even typed data and objects, while in an xTalk language everything is a
string (except for arrays perhaps, which are constructs of strings). I
consider this an advantage of xTalks.
If you really like this way of programming, you can create
Cocoa-AppleScript applications with XCode, which I actually consider a
very interesting way of programming, but I'm happy that I can use
LiveCode next to AppleScript.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker for LiveCode:
http://qery.us/468
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 2/22/2015 17:01, Geoff Canyon wrote:
Just came across this in AppleScript:
tell application "System Events"
set {procesList, pidList} to the {name, unix id} of (every
process whose name contains "Myapp_action_download")
end tell
There are multiple niceties here: in-line list filtration, multiple
simultaneous property retrievals and assignments, and of course directed
messaging. I look forward to when we can do similar things in LC.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode