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...
Morgan Jones
morgan@...
Nov 10, 2000 8:13 pm
167
Maybe the answer to this question is "learn more about OSA," but is there a way to execute JSOSA scripts from within a standalone application? Maybe a call...
Morgan Jones
morgan@...
Nov 10, 2000 9:11 pm
168
... If you want to execute JSOSA scripts from an application, you need to learn about the OSA interfaces. The Interfaces & Libraries folder contains ...
Mark Alldritt
alldritt@...
Nov 10, 2000 9:19 pm
169
I was playing around in ResEdit, and I found "JavaScript Library.js", (which is very cool, by the way). Is this code actually functional, (ie: are MacOS and...
Arthur J Knapp
arthur@...
Nov 16, 2000 10:41 pm
170
... Yep, this script is loaded and executed each time the JavaScript OSA components loads, and all scripts share these common definitions. I had all kinds of...
Mark Alldritt
alldritt@...
Nov 16, 2000 11:04 pm
171
Hi Folks, I've just uploaded a new JavaScript OSA build. This release addresses some crashing problems under MacOS X Public Beta and introduces support for...
Mark Alldritt
alldritt@...
Nov 20, 2000 9:29 pm
172
Mark, Just wanted to say thanks for adding the for (i in x) stuff - I tried out the new release and it works for me! For others that may want it, I'm using...
Morgan Jones
morgan@...
Nov 21, 2000 6:20 pm
173
All, I'm working on scripting codewarrior to automate some build processes. I've got some applescript like this that works: tell application "CodeWarrior IDE...
Morgan Jones
morgan@...
Nov 21, 2000 6:26 pm
174
Greetings, Has anyone got experience embedding js in OneClick? Embedded AppleScript looks like this: AppleScript tell application "BBEdit" to activate End...
Christopher C. Stone
ccstone@...
Nov 21, 2000 6:57 pm
175
hi mark and rehi to everyone else on this list, for more than 3 months i enjoy coding with javascript inside of Userland Frontier. Evrything works very well...
Tom Fuerstner
tfuerstner@...
Nov 21, 2000 7:07 pm
176
Greetings, Can someone tell me how to close the front window in MSIE? Best Regards, Chris ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Christopher C. Stone StoneWorks...
Christopher C. Stone
ccstone@...
Nov 21, 2000 8:30 pm
177
... You did the translation correctly, but JavaScript OSA is paying too much attention to the CodeWarrior dictionary. The CW dictionary indicates that the...
Mark Alldritt
alldritt@...
Nov 21, 2000 9:02 pm
178
... I threw this together using MSIE 5.0 dictionary: MsIE = new MacOS.appBySignature( "MSIE" ); isClosed = MsIE.CloseWindow(); // no parameters: front window ...
Arthur J Knapp
arthur@...
Nov 21, 2000 9:09 pm
179
... with (MacOS.apBySignature("MSIE") { CloseWindow(ListWindows()[0]) } If you know the name of the window you want to close, then it cal be done like this: ...