Hi Folks, I've just posted a new build of JavaScript OSA. The big news for this build is that JavaScript OSA is now available as a native OSA component for...
Mark Alldritt
alldritt@...
Oct 11, 2000 7:27 pm
138
Hi all, Just curious, is there a way to work with unit types in JSOSA? I have been playing around with the AEDesc object, creating values like these: ...
Arthur J Knapp
arthur@...
Oct 12, 2000 11:52 pm
139
... In working out how to do this, I found that there's a feature of MacOS.AEDesc that's missing from the documentation: the as(desiredType) function. So, for...
Mark Alldritt
alldritt@...
Oct 13, 2000 1:11 am
140
... That's Fantastic !!! (Fantastic that it exists, not fantastic that it isn't documented ;-) ... This is great, Mark. It's also the kind of thing that I...
Arthur J Knapp
arthur@...
Oct 13, 2000 3:02 pm
141
... The problem there is that MacOS.appSelf() or MacOS.appBySignature() read all the data types from the target's aete. I also hard coded the addition some ...
Mark Alldritt
alldritt@...
Oct 13, 2000 5:24 pm
142
... This brings me back to an issue we were discussing a while ago: how to load supporting code. With this in place, I can begin shipping libraries of ...
Mark Alldritt
alldritt@...
Oct 13, 2000 5:34 pm
143
... Perhaps it is the fact that this would create a new namespace object, rather than bringing the code into the "top" level, ie: like what Script Debugger...
Arthur J Knapp
arthur@...
Oct 13, 2000 7:17 pm
144
Hi Folks, There is a problem with the Declare & Use AS Handlers sample script included with the 1.0b7 release of JavaScript OSA. The text of the script should...
Mark Alldritt
alldritt@...
Oct 15, 2000 5:46 pm
145
I want to use JS as a database. The user may enter the following example after line 9 of the script below: *#frank| fmeas=4.50 finser=4.00 poly=10.0...
MMessieh@...
Oct 17, 2000 1:31 am
146
... I'm sorry, but I'm not sure I understand how this relates to JavaScript OSA. Are you simply looking for comments on your JavaScript code, or are you ...
Mark Alldritt
alldritt@...
Oct 18, 2000 3:52 pm
147
I'm sorry, but I'm not sure I understand how this relates to JavaScript OSA. Are you simply looking for comments on your JavaScript code, or are you looking...
MMessieh@...
Oct 19, 2000 6:39 pm
148
Hi Folks, If you are using JavaScript OSA natively under MacOS X, you may have already discovered that it cannot script "bundled" applications (e.g. Desktop,...
alldritt@...
Oct 24, 2000 3:30 pm
149
OK, the following is my most recent attempt to create a filter for files based on their name. My goals were to search every file in a given folder, perform a ...
Arthur J Knapp
arthur@...
Oct 26, 2000 10:58 pm
150
I just noticed that when AppleScript is used there is a least a rudimentary syntax highlighting. Is the JavaScript version going to have this at some point? ...
Robert L Hicks
bob@...
Nov 4, 2000 10:10 pm
151
Hello - Netscape is not very AppleScript-able. (Perhaps no wonder when Netscape is making their own scripting system ?) My question is: since JavaScript is a...
lhs@...
Nov 6, 2000 1:54 am
152
... This is a common question (I should probably add the answer to the FAQ). JavaScript OSA runs independently from the Netscape/Mozilla web browser. This...
Mark Alldritt
alldritt@...
Nov 6, 2000 2:47 am
153
... You know, I've pondered this from the very beginning of my effort to develop JavaScript OSA. I agree that this is needed, but its been down fairly low on...
Mark Alldritt
alldritt@...
Nov 6, 2000 2:52 am
154
... ..... thank you for answering still :-) Actually, it seems as if you have allready added this to your FAQ. I just did not read the FAQ before asking... ...
Leif Halvard Silli
lhs@...
Nov 6, 2000 3:35 am
155
Low priority...while highlighting is nice...that is all it is...nice. So I would consider it low priority. Bob...
Robert L Hicks
bob@...
Nov 6, 2000 3:05 pm
156
... My 2-cents-assessment of your feature list is as follows: ;-) ... Great. ... Absolutely. If there are any really good writers on this list, JSOSA could use...
Arthur J Knapp
arthur@...
Nov 6, 2000 3:13 pm
157
Does anyone know how to hide all the layers in a page dynamically by calling a function? Do I have to create an array of the DIV id's? thanks for anyhelp Geoff...
geoff@...
Nov 9, 2000 10:47 am
158
Hi, I've just started to use JavaScript OSA, and I absolutely love it so far. I'm really just getting going, so these are probably dumb questions... First, I...
Morgan Jones
morgan@...
Nov 10, 2000 5:30 pm
159
So here is something interesting: In AppleScript, there are a number of coercions that work in very strange and mysterious ways, especially as regards lists. ...
Arthur J Knapp
arthur@...
Nov 10, 2000 5:45 pm
160
... The reason for this is that AppleScript's as operator can do "chained coercions". if you look at the event log when running tell application "Finder" set...
Mark Alldritt
alldritt@...
Nov 10, 2000 6:04 pm
161
... The copy command copies the current selection to the clipboard. Try the duplicate command instead: with (MacOS.finder()) { ...
Mark Alldritt
alldritt@...
Nov 10, 2000 6:18 pm
162
... There is something strange here. As I examine the Finder dictionary, (under System 9.0), the only "copy" command listed refers to the clipboard: copy: Copy...
Arthur J Knapp
arthur@...
Nov 10, 2000 6:24 pm
163
... Whoops. So is there an AppleEvent that retrieves all the available properties of an application object? I guess there must be, since this would appear to...
Arthur J Knapp
arthur@...
Nov 10, 2000 6:37 pm
164
... Well, no. Script Debugger gets each property individually to get around the general lack of support for "properties" properties. In the case of JSOSA, all...
Mark Alldritt
alldritt@...
Nov 10, 2000 6:44 pm
165
... Sorry, but JavaScript OSA does not have access to a Web Browsers object model. I suggest posing this question on a DHTML list. Cheers -Mark ... Mark...
Mark Alldritt
alldritt@...
Nov 10, 2000 6:49 pm
166
... Thanks much - that works great, and was exactly what I wanted to do. Oddly enough, I appears to have been mislead by Apple's PDF documentation on scripting...