Hello all, Quite excited about this JavaScript OSA business! Unfortunately, I can't seem to find documentation on the DOM! (Right now I don't even know how to...
... JavaScript OSA's object model is very simplistic. The documentation is available at <http://www.latenightsw.com/freeware/JavaScriptOSA/>. Additionally,...
I'm trying to determine if an app is currently running(OS X 10.1.3/ AS 1.8.2b3). The js osa documentation included with the SD install says: Warning: creating...
1) I tried this from a script in OS X 10.1.3/ JS OSA 1.0.3: var itunes = MacOS.appBySignature("hook"); where both an OSX and OS9 version of the app exist,...
... I'll look into this. ... Yes, JSOSA currently uses MacOS APIs that don't support long file names. At some point I'll revise JSOSA to use the newer APIs. ...
... note that on OS X 10.1.3, this only works when the application is currently running. if not running, and where no classic app with that signature exists,...
... I've looked into this a little and the source of the problem that on MacOS X, the Finder does not respond to AppleEvents involving the process and ...
... Yes, thanks, this works as advertised. But it doesn't help much with the need for this workaround, which would be: var app = MacOS.appBySignature("sevs"); ...
... It recently occurred to me that there was at least one situation where multiple "mappings" to one JSOSA datatype could be "parsed out" to an AEDesc...
... Based on this idea, I experimented with a slight variation. Whenever a value comes in from the outside (via an AppleEvent response), leave it in the...
... Right, this would give immediate access to the complete set of built-in AppleEvent coercions. I hadn't even thought about that. ... It would certainly...
I had some problems today working with the clipboard, (OS 9), and I wanted to share the functions I threw together for "slamming". This is Jon Pugh's "slam the...
Greeting, I have a program written in php and javascript. This program runs correctly under Internet explorer. But when it runs under Netscape, something...
hey, i realize this seems dumb, but its been a while since i've used script debugger ( 1.0.5 ). i'm using 3.0.3 on 10.1.5 and using Javascript. i can't seem to...
From the Terminal prompt I type: osascript -l JavaScript -e '2+2' and get the response: osascript: can't open JavaScript scripting component. JavaScript runs...
James Thiele
jet@...
Aug 4, 2002 7:50 pm
369
... Yes, this is a known bug with the osascript command. I believe Apple fixed this in Jaguar. Cheers -Mark ... Mark Alldritt Late...
Hello Folks, I've posted a *BETA* build of JavaScript OSA 1.0.4 for testing. This build addresses the following issues: - JSOSA now can display its results in...
Hi, To anyone out there who might have knowledge about making a Javascript print function work. I've found two pieces of code that works great in windows: ...
Hi, To anyone out there who might have knowledge about making a Javascript print function work. I am not a Mac Programmer, my experience has only been in the...
Your samples should work fine on the Mac, too, if embedded in a browser page, but not as stand-alone OSA scripts. I'm new to JSOSA, but I think I can say why...
I just want to thank you for taking the time to analize and respond to my question. I'll have to think about all that you said and determine a best course of...
I'm trying to learn OSA scripting, but I'm having a problem. If I run these (or any) scripts from within BBEdit 6.5.3 on a G3 with OS9 using the Run JS-OSA...
... run these ... type ... dialog ... say OK ... I copied your "sieve" script from the list and ran it from a BBEdit doc with the run jsosa script that you...
I've searched the archives and read everything I can find on display_dialog().... but I can NOT get this to work under OS X 10.2..... I have tried all the...
kd
kd@...
Oct 28, 2002 3:51 am
378
... The following works for me... var theFinder; theFinder = MacOS.finder(); theFinder.activate(); //theFinder._strict = false; // someone...
Thanks for the reply! I'm beginning to suspect that the problem may be peculiar to my installation. Anyway, the details are OS 9.1.1 (with Carbonlib 1.5) on a...
... I wouldn't count on the sample scripts in the JSOSA documentation to work reliably. Stuff has changed and they are not current. But the 'BBEdit 6 - reverse...
Apparently, the exxample I received is not the same as the one ... the example script you're quoting here is the 'BBEdit 5 - reverse words' sample script. if...