Re: Javascript for OS X automation

2014-06-26 Thread Gregg Thomason
Different world, now. It is in Apple's best interests to maintain a very 
high performance, featureful and popular Javascript runtime. There's who 
knows how many orders of magnitude more JS devs than the old days, more 
than a few of which work at Apple. I'm pretty confident this go-around will 
be WAY different than the last time.

On Saturday, June 14, 2014 6:34:50 PM UTC-4, San wrote:

 Apple did this once before, years ago... but they gave no support, and 
 then they quickly lost interest. They didn't even provide the JS-OSA 
 library; it came from Late Night Software. There was little documentation 
 and it was a struggle, but I managed to do a few useful things. 

 On your other point, there _is_ internal support for JS automation within 
 BBEdit -- at least it still works in BBEdit 9, where I use a whole bunch of 
 JavaScripted client-side includes for building web pages. (Client-side 
 meaning they run at development time, not on the end-user's machine.) I 
 could never find any documentation for it, just a bare mention in an old 
 BBEdit manual that only showed the process for AppleScript. I was able to 
 figure it out by experimentation. Frankly, though, I wouldn't set up any 
 kind of client-side (devel-time) includes for web pages now; the new ones 
 I'm doing are all PHP on the server instead. I still use the old ones 
 because I already wrote them.

 Let's hope Apple supports JavaScript system automation in a more serious 
 way than they did last time around. Frankly it was pretty half-assed.


 On Sat, Jun 14, 2014 at 12:18 PM, Rick Yentzer ryen...@gmail.com 
 javascript: wrote:

 I was excited to see this as well and hoped to see integration with 
 BBEdit. I don't use applescript enough in BBEdit to remember it's syntax. 
 Javascript, however I'm familiar with and use all the time.

 Thanks,
 Rick


 On Saturday, June 14, 2014 2:04:07 AM UTC-4, Bruce Van Allen wrote:

 Hi All, 

 Check this out: 

 This article describes JavaScript for Automation, a new feature 
 in OS X 10.10. 

 https://developer.apple.com/library/prerelease/mac/releasenotes/
 InterapplicationCommunication/RN-JavaScriptForAutomation/index.html 

 Many possibilities here. 



 Best Regards, 

- Bruce 

 _bruce__van_allen__santa_cruz_ca_ 

  -- 
 This is the BBEdit Talk public discussion group. If you have a 
 feature request or would like to report a problem, please email
 sup...@barebones.com javascript: rather than posting to the group.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

 --- 
 You received this message because you are subscribed to the Google Groups 
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to bbedit+un...@googlegroups.com javascript:.
 To post to this group, send email to bbe...@googlegroups.com 
 javascript:.




-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Javascript for OS X automation

2014-06-14 Thread Bruce Van Allen

Hi All,

Check this out:

This article describes JavaScript for Automation, a new feature 
in OS X 10.10.


https://developer.apple.com/library/prerelease/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html

Many possibilities here.



Best Regards,

  - Bruce

_bruce__van_allen__santa_cruz_ca_

--
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email

supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups BBEdit Talk group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Javascript for OS X automation

2014-06-14 Thread Rick Yentzer
I was excited to see this as well and hoped to see integration with BBEdit. 
I don't use applescript enough in BBEdit to remember it's syntax. 
Javascript, however I'm familiar with and use all the time.

Thanks,
Rick

On Saturday, June 14, 2014 2:04:07 AM UTC-4, Bruce Van Allen wrote:

 Hi All, 

 Check this out: 

 This article describes JavaScript for Automation, a new feature 
 in OS X 10.10. 


 https://developer.apple.com/library/prerelease/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html
  

 Many possibilities here. 



 Best Regards, 

- Bruce 

 _bruce__van_allen__santa_cruz_ca_ 



-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Javascript for OS X automation

2014-06-14 Thread Lawrence San
Apple did this once before, years ago... but they gave no support, and then
they quickly lost interest. They didn't even provide the JS-OSA library; it
came from Late Night Software. There was little documentation and it was a
struggle, but I managed to do a few useful things.

On your other point, there _is_ internal support for JS automation within
BBEdit -- at least it still works in BBEdit 9, where I use a whole bunch of
JavaScripted client-side includes for building web pages. (Client-side
meaning they run at development time, not on the end-user's machine.) I
could never find any documentation for it, just a bare mention in an old
BBEdit manual that only showed the process for AppleScript. I was able to
figure it out by experimentation. Frankly, though, I wouldn't set up any
kind of client-side (devel-time) includes for web pages now; the new ones
I'm doing are all PHP on the server instead. I still use the old ones
because I already wrote them.

Let's hope Apple supports JavaScript system automation in a more serious
way than they did last time around. Frankly it was pretty half-assed.


On Sat, Jun 14, 2014 at 12:18 PM, Rick Yentzer ryent...@gmail.com wrote:

 I was excited to see this as well and hoped to see integration with
 BBEdit. I don't use applescript enough in BBEdit to remember it's syntax.
 Javascript, however I'm familiar with and use all the time.

 Thanks,
 Rick


 On Saturday, June 14, 2014 2:04:07 AM UTC-4, Bruce Van Allen wrote:

 Hi All,

 Check this out:

 This article describes JavaScript for Automation, a new feature
 in OS X 10.10.

 https://developer.apple.com/library/prerelease/mac/releasenotes/
 InterapplicationCommunication/RN-JavaScriptForAutomation/index.html

 Many possibilities here.



 Best Regards,

- Bruce

 _bruce__van_allen__santa_cruz_ca_

  --
 This is the BBEdit Talk public discussion group. If you have a
 feature request or would like to report a problem, please email
 supp...@barebones.com rather than posting to the group.
 Follow @bbedit on Twitter: http://www.twitter.com/bbedit

 ---
 You received this message because you are subscribed to the Google Groups
 BBEdit Talk group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com.


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.