Hi Folks, One of the final items I'm adding to JavaScript OSA for the 1.0 release is a series of preferences settings. Currently, I only have two: font and...
Mark Alldritt
alldritt@...
Sep 8, 2000 12:51 am
127
This list doesn't seem to get much traffic, so I thought I would waste everyone's time by posting this rambling commentary on the state of my JSOSA activities....
Arthur J Knapp
arthur@...
Sep 13, 2000 9:49 pm
128
I can't seem to help myself. In just about any language written in the last 20 years, it is possible to write clear, well-commented code, and yet I keep...
Arthur J Knapp
arthur@...
Sep 15, 2000 8:05 pm
129
... This is so cool. I had been working on a tool that generated HTML pages detailing the JavaScript OSA version of an application's dictionary. I've also...
Mark Alldritt
alldritt@...
Sep 15, 2000 8:35 pm
130
... Mmmm, now that has given me some ideas. Mark, is there some way to have SD2 extract textual information from an open dictionary window? I tried a few...
Arthur J Knapp
arthur@...
Sep 15, 2000 10:22 pm
131
This OSAInit will set a global MyPath to a FileSpec for your document file. OSAInit() is a special built-in function that runs before any received AppleEvents...
Arthur J Knapp
arthur@...
Sep 18, 2000 1:43 pm
132
... Thanks for reminding me. I was in contact with them a while ago, but the component loading problem distracted me for quite a while and I forget to follow...
Mark Alldritt
alldritt@...
Sep 20, 2000 5:56 pm
133
So I have been trying to find effiecent ways to coerce file and folder references back and forth between path-string, MacOS.FileSpecs, and Finder AEDescs. If...
Arthur J Knapp
arthur@...
Sep 29, 2000 1:00 pm
134
... Its actually much simpler: with (MacOS.finder()) { a_file = files["Mac HD:MyFolder:MyFile"]; } However, for the next build, I'm making it possible to...
Mark Alldritt
alldritt@...
Sep 29, 2000 4:40 pm
135
... I *knew* I was missing something, thank you :-) I had actually tried something similar to this before, but I must have misinterpreted the result. ... If...
Arthur J Knapp
arthur@...
Sep 29, 2000 6:26 pm
136
Hi Folks, I received a query about how to write CGI scripts in JavaScript OSA. Here's a sample CGI server script (note this requires MacOS 8.6 orlater to...
alldritt@...
Sep 29, 2000 9:35 pm
137
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...