There is a script sample in the "Introducing JavaScript OSA.pdf" document which shows how to compile, execute, and capture the returned result of a JS OSA...
... It works pretty well with version 6.1.2 under system 9.1 as well. ... One of my favorite meaningless activities in the whole world is to format JavaScript...
... well alright then,there are some laundry issues here you might enjoy tackling for me as well. -:) I was curious to see if executing a jsosa script _not_...
... Right, but this is an "editing/debugging" lag. A compiled JS applet runs just as quickly, if not faster, than it would in Apple's Script Editor window. ......
I've discovered that an object's value is persisting across multiple script runs when executing in Script Debugger, but NOT persisting when I execute the code...
... Right, so lastIndex gets pushed after every execution. ... And multiple runs, without recompiling, don't seem to re-initialize the "var regexPattern =...
... [snip] ... The difference is that you are keeping the document open between runs in Script Debugger. If, in Script Debugger, you close and re-open your...
The difference is that you are keeping the document open between runs in Script Debugger. -- Yup, I failed to see the obvious (again). When BBEdit executes a...
Hello. I just spend most of an afternoon trying to figure out why I couldn't get the Finder to do almost anything at all, until I finally set the _strict...
Hi :) There are a great many values returned from AppleEvents that get *mapped* to native JavaScript data types. I was wondering if there was some way to...
... I'm wondering if this is a special case which we could handle in an even more usable way, or are there other cases like this? A perfect solution would be...
... Given that I've defined the behavior of _strict, I'm afraid to change it in case it breaks some ones script. ... I think the best way to deal with this is...
... After a quick look at the AppleScript Language Guide, I didn't see anything else that would require special attention. (BTW: What is the purpose of the...
... Yeah, the only problem is with long scripts that involve lots of subroutines that call each other. To exit out at some given nested point requires a lot of...
... Can't you just put this try-catch block in your top-level code, and it will catch any throw false from deep within a nested subroutine call? Cheers -Mark ...
... "Yes, yes I can", he said sheepishly... ;-) I guess I was thinking in terms of the way that I've been structuring my scripts recently, but you're right, a...
I've had no succes in trying to execute js osa code using the AppleScript "run script 'myscript.js' in 'JavaScript'' command with either a compiled script or a...
... Yes, I think its a MacOS X thing. The following works on 9.0.4, but returns no result on 10.0.2: run script "100 * 100" in "JavaScript" Interestingly, run...
... actually, that works fine here. so do: run script "100 * 100" in AppleScript set x to scripting components run script "100 * 100" in item 4 of x run script...
... If you are an ADC member, file a bug with Apple. I've filed one, but another one filed from your perspective might help get things moving. AppleScript...
... can't do that as only a freebie ADC member, it appears, but I've posted it to the 'applescript-users' list knowing that Apple folks pay attention to that. ...
Hi Folks, We have released JavaScript OSA 1.0.2. This is a maintenance release which addresses a number of problems that have come to light since the release...
... No, you are doing the right thing. The problem was at my end. Somehow the store code was removed from the final 1.0.2 build. I've corrected the problem...
Hello, I have some javascript that works the way I want it to on Windows computers, but doesn't fully function on Mac. this is the code: <img...
Amit Savyon
amit@...
Mar 19, 2002 5:51 am
350
... Amit, the JavaScript OSA mailing list is not really an appropriate place for this type of browser-based discussion. JavaScript for OSA is a general...
Arthur, thanks for the reply. I didn't realize you would find my post inappropriate. Since I signed up for this list, I hadn't received any postings at all,...
Amit Savyon
amit@...
Mar 19, 2002 4:38 pm
352
Hi Folks, F.Y.I. If you intend use JavaScript OSA with the osascript Unix shell command, you must invoke osascript using a full path: /usr/bin/osascript -l...
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,...