Search the web
Sign In
New User? Sign Up
jsosa · JavaScript OSA-Talk
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 325 - 354 of 529   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
325
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...
xbhoff
Offline Send Email
Feb 5, 2002
10:44 pm
326
... 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...
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 5, 2002
11:20 pm
327
... 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_...
xbhoff
Offline Send Email
Feb 6, 2002
3:46 am
328
... 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. ......
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 6, 2002
3:01 pm
329
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...
xbhoff
Offline Send Email
Feb 7, 2002
9:11 am
330
... Right, so lastIndex gets pushed after every execution. ... And multiple runs, without recompiling, don't seem to re-initialize the "var regexPattern =...
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 7, 2002
2:44 pm
331
... [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...
Mark Alldritt
malldritt2000
Offline Send Email
Feb 7, 2002
3:32 pm
332
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...
xbhoff
Offline Send Email
Feb 7, 2002
4:31 pm
333
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...
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 12, 2002
2:38 pm
334
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...
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 16, 2002
12:26 am
335
... 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...
Mark Alldritt
malldritt2000
Offline Send Email
Feb 16, 2002
1:16 am
336
... 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...
Mark Alldritt
malldritt2000
Offline Send Email
Feb 16, 2002
1:51 am
337
... 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...
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 16, 2002
2:11 am
338
... 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...
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 16, 2002
2:41 am
339
... 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 ...
Mark Alldritt
malldritt2000
Offline Send Email
Feb 16, 2002
3:01 am
340
... "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...
Arthur J Knapp
admiralnovia
Offline Send Email
Feb 16, 2002
3:36 am
341
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...
xbhoff
Offline Send Email
Feb 18, 2002
5:54 am
342
... 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...
Mark Alldritt
malldritt2000
Offline Send Email
Feb 18, 2002
5:03 pm
343
... 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...
xbhoff
Offline Send Email
Feb 18, 2002
6:40 pm
344
... 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...
Mark Alldritt
malldritt2000
Offline Send Email
Feb 19, 2002
1:09 am
345
... 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. ...
xbhoff
Offline Send Email
Feb 19, 2002
4:35 am
346
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...
Mark Alldritt
malldritt2000
Offline Send Email
Mar 11, 2002
6:17 pm
347
... Mark, I can't get the new MacOS.OSA.store() to work, I keep getting the error "uncaught exception: an invalid script ID was given". var o = new...
Arthur J Knapp
admiralnovia
Offline Send Email
Mar 11, 2002
8:14 pm
348
... 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...
Mark Alldritt
malldritt2000
Offline Send Email
Mar 11, 2002
10:22 pm
349
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@...
Send Email
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 J Knapp
admiralnovia
Offline Send Email
Mar 19, 2002
3:50 pm
351
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@...
Send Email
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...
Mark Alldritt
malldritt2000
Offline Send Email
Mar 29, 2002
11:18 pm
353
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...
rawsweets
Offline Send Email
Apr 4, 2002
12:39 am
354
... JavaScript OSA's object model is very simplistic. The documentation is available at <http://www.latenightsw.com/freeware/JavaScriptOSA/>. Additionally,...
Mark Alldritt
malldritt2000
Offline Send Email
Apr 5, 2002
2:37 am
Messages 325 - 354 of 529   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help