Search the web
Sign In
New User? Sign Up
jsosa · JavaScript OSA-Talk
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 492 - 523 of 529   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
492
I'm a Javascript programmer, doing much of my coding at work in a Windows Script Host environment, writing scripts to accomplish various repetitive tasks. I...
Spade Aceman
spadeaceman
Online Now Send Email
Dec 30, 2005
6:24 am
493
... Not built-in, but you can read in a source file and eval() it, which gives you the same thing, ie: the source file is evaluated in the same context as the...
arthur@...
admiralnovia
Offline Send Email
Jan 2, 2006
3:00 am
494
Hi, Mark. When the .toString() or .toSource() method is used on an AEDesc value, the string data returned is truncated with an ellipsis, as in: ...
Arthur Knapp
admiralnovia
Offline Send Email
Feb 16, 2006
5:16 pm
495
Hi, ... The problem here is that I'm using the system's AEPrint calls, and somewhere along the way Apple decided to truncate long hex strings (happens with ...
Mark Alldritt
malldritt2000
Offline Send Email
Feb 23, 2006
5:50 pm
496
... Thanks, Mark. I've been reading into this. It looks like when Apple "took over" the "AEGizmo" code stuff that they never intended for their version to...
Arthur Knapp
admiralnovia
Offline Send Email
Feb 23, 2006
8:15 pm
497
I've figured something out, and wanted to share: SD has a preference setting for "path to me", causing that AppleScript command to refer to the document file...
Arthur Knapp
admiralnovia
Offline Send Email
Feb 28, 2006
3:49 am
498
I've been using a text file containing every jsosa object, method, and property that I am aware of; as an "aid to memory". It doesn't explain what things do,...
Arthur Knapp
admiralnovia
Offline Send Email
Feb 28, 2006
9:33 pm
499
I've made an archive of a clippings folder, and put it into my public iDisk thingy: http://homepage.mac.com/admiralnovia/FileSharing1.html It is a work in...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 5, 2006
3:55 pm
500
// Proposed changes and additions to the JavaScript Library file // embedded in the JavaScript OSA component. // I have yet to create a non-trivial jsosa...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 10, 2006
7:03 pm
501
Whoops. ... [snip] ... Replace the above with: if ( c == "." ) { while ( path.slice( 0, 3 ) == "../" ) { me = me.container; path = path.slice( 3 ); } return...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 10, 2006
7:56 pm
502
... I've also placed a copy of the corrected script here: http://homepage.mac.com/admiralnovia/FileSharing1.html -- Arthur...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 10, 2006
8:02 pm
503
I'm working on some example files of using JavaScript OSA in combination with the Pashua GUI system. They're not finished yet, but should be soon: ...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 13, 2006
8:55 pm
504
A quick thought: How hard would it be to create special notation for accessing the ._types and ._constants objects? I was thinking of a double underscore...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 15, 2006
6:25 pm
505
Hi, ... Okay, I'll look into something like this. Thanks also for the proposed code. I've filed it all in my bug tracking system that that I can integrate it...
Mark Alldritt
malldritt2000
Offline Send Email
Mar 16, 2006
6:34 pm
506
... Thanks Mark. I know (assume) that your freeware projects are not at the top of your priorities, which is perfectly OK. The 2.0 version of JSOSA is so...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 17, 2006
3:35 pm
507
So there's this cool unix-shell thingy called "defaults" that I've just become aware of. I've thrown together the following object-wrapper as an example of...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 18, 2006
5:17 am
508
I've thrown together a JSOSA port of an old AppleScript I wrote for using the Unix "openssl" encryption and encoding command: ...
Arthur Knapp
admiralnovia
Offline Send Email
Mar 26, 2006
6:32 pm
511
Hi Folks, I got a email recently from a user asking if there is an Intel version of javaScript OSA. This made me realize that I had not released the final ...
Mark Alldritt
malldritt2000
Offline Send Email
Sep 21, 2006
11:20 pm
512
Hi Folks, I've posted JavaScript 2.0.1 to the JavaScript OSA web site. This version has been available as part of Script Debugger 4 for some time. You can...
Mark Alldritt
malldritt2000
Offline Send Email
Nov 15, 2006
10:22 pm
513
I'm running a script via terminal using: osascript -lJavaScript filename.js but I can't seem to be able to output any text to the terminal. Core.message is...
smakofsky
Offline Send Email
Jan 4, 2007
3:08 pm
514
Hi, ... The problem here is the osascript tool. There is a 'log' AppleEvent for this purpose, but osascript does not seem to respond to it. Testing from...
Mark Alldritt
malldritt2000
Offline Send Email
Jan 4, 2007
4:39 pm
515
Ah, ok..: var Test = "Hello World"; MacOS.appSelf().do_shell_script("echo " + Test); Seemed to do the trick. Would be nice to just have Core.Write() or ...
smakofsky
Offline Send Email
Jan 4, 2007
4:52 pm
516
Hi Steve, Instead of JSOSA, you may want to consider using a Java based JavaScript engine: For example... ...
John Love-Jensen
eljay@...
Send Email
Jan 4, 2007
6:54 pm
517
I initally tried rhino before I found JSOSA - but it didnt appear to be able to interact with apple events. Do you know if it can? ... JavaScript ... ...
smakofsky
Offline Send Email
Jan 5, 2007
2:43 pm
518
... I do not know. I presume it does not, given that it is Java based and runs in a JVM. (Not that running in a JVM makes it impossible to interact with AE....
John (Eljay) Love-Jen...
eljay@...
Send Email
Jan 5, 2007
3:25 pm
519
Hi, ... JavaScript OSA's ability to generate AppleEvents is its unique feature. JavaScript OSA uses the Spider Monkey (Mozilla's C JavaScript implementation)...
Mark Alldritt
malldritt2000
Offline Send Email
Jan 5, 2007
3:59 pm
520
Which is the *exact* reason I'd rather use JSOSA. Having apple event support is killer. Being new to the mac world, I'm surprised that OSA (specifically ...
smakofsky
Offline Send Email
Jan 5, 2007
5:14 pm
521
Hi, ... That's probably a subject for an entire book. The OSA (Open Scripting Architecture) predates Windows Scripting Host and was a very good idea, though...
Mark Alldritt
malldritt2000
Offline Send Email
Jan 5, 2007
6:32 pm
522
Hi Folks, I'm cross posting this message to all the LNS Mailing lists, so I apologize if you see it more than once. I've begun a blog to document my LNS...
Mark Alldritt
malldritt2000
Offline Send Email
Jan 7, 2007
3:06 am
523
Hi Folks, Here's a tech note explaining how to get the 10.4 Script Editor to open JavaScript OSA scripts: http://www.latenightsw.com/blog/?p=10 Cheers -Mark ...
Mark Alldritt
malldritt2000
Offline Send Email
Jan 7, 2007
4:05 am
Messages 492 - 523 of 529   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help