I'm a longtime Mac user and recent scripter and just found out about the JavaScript OSA. Great tool; I started playing around with it and am having trouble...
278
Mark Alldritt
alldritt@...
May 2, 2001 10:26 pm
... When dealing with collections, you need to given an 1-based index for the item you are interested in: var finder = MacOS.finder(); ...
279
Corvus
corvus@...
May 3, 2001 4:52 am
... Thanks, that worked great. I thought I had to use sharable_container to get the shared property? I also can't get the properties of a items selected on the...
280
Corvus
corvus@...
May 3, 2001 5:10 am
... D'oh! That *is* the name of the first selected file on my desktop; I was too busy looking at the disks. The problem is the startup disk; I can't seem to...
281
Arthur J Knapp
arthur@...
May 10, 2001 10:47 pm
I've just placed a JSOSA script up at: <http://homepage.mac.com/arthurknapp> It is just a loadable object-wrapper for working with the MacOS.findFolder()...
282
Abhijit Gupta
abhijit.gupta@...
Aug 2, 2001 4:28 am
Hi folks, I am building CodeWarrior projects with the following script. var cwIde = MacOS.appBySignature("CWIE", true, false); //set the timeout so we can...
283
Mark Alldritt
alldritt@...
Aug 2, 2001 4:22 pm
... I suspect a Desktop database problem. Try rebuilding it and see if that makes a difference. I tried the following simplified script here and it works: Var...
284
Arthur J Knapp
arthur@...
Aug 2, 2001 8:25 pm
... I am unfamiliar with CodeWarrior scripting, however... ... You have an extranious "end" in the above source. Arthur J. Knapp http://www.stellarvisions.com ...
285
Abhijit Gupta
abhijit.gupta@...
Aug 5, 2001 12:46 pm
Hi , Thanks Mark & Arthur for your suggestion. After rebuilding the desktop problem is still there. On Mac 9,I solved problem embedding apple script. var...
286
Abhijit Gupta
abhijit.gupta@...
Aug 5, 2001 1:30 pm
Hi , This mail is in continuation of my previous mail. On Mac OS 9 MacOS.finder().display_dialog is working but it is not working on Mac OS X. Is it a bug or...
287
Mark Alldritt
alldritt@...
Aug 5, 2001 4:04 pm
... Under MacOS X, scripting addition commands can only be executed from the current process (MacOS.appSelf()). ... Shameless Plug: In Script Debugger's...
288
Abhijit Gupta
abhijit.gupta@...
Aug 6, 2001 12:52 pm
Hi, I am using Apple Script Editor and XML Tools from Late Night Software . Following code is working fine. property theXMLSource : "<start abc1=\"value1\" ...
289
Mark Alldritt
alldritt@...
Aug 6, 2001 6:00 pm
... A question like this probably best directed at one of the AppleScript mailing lists. Anyway, to understand how to access these attributes, you need to...
290
Arthur J Knapp
arthur@...
Aug 7, 2001 10:54 pm
... Mark, I was surprised that you didn't mention Core.XML.parse: var theXMLSource = ' \ <start> \ <tag attribute1="value1"...
291
Morgan Jones
morgan@...
Aug 7, 2001 10:59 pm
If you look back in the list for some posts from myself and answers by Mark, there are some bugs in the Core.XML.parse - I don't remember the details off the...
292
Mark Alldritt
alldritt@...
Aug 7, 2001 11:14 pm
... I'm not promoting this XML parser because it has not been revved to support any of the new functionality of the XML Tools 2.x osax. There are a number of...
293
Arthur J Knapp
arthur@...
Aug 7, 2001 11:27 pm
... [snip] ... Right you are: Morgan's <http://groups.yahoo.com/group/jsosa/message/269> Mark's <http://groups.yahoo.com/group/jsosa/message/270> P.S....
294
Arthur J Knapp
arthur@...
Aug 7, 2001 11:50 pm
... Good stuff. :) ... No complaints from me. :) P.S. I'm not a programmer, but I have seen that Apple's new "CoreFoundation" includes what it calls XML...
295
BricoleYvon@...
Aug 19, 2001 12:30 pm
i've tried out the js version of "Save & Restore Desktop" however i get this error message : TypeError: MacOS.appSelf().new_file is not a fonction. aroses at...
296
Mark Alldritt
alldritt@...
Aug 19, 2001 4:51 pm
... Somewhere along the way, the new file command in the Standard Additions scripting addition (part of AppleScript) was renamed 'choose file name'. So, rename...
297
BricoleYvon@...
Aug 20, 2001 6:37 am
Dans un courrier daté du 19/08/01 18:51:45, alldritt@... a écrit : <<> var outFile = MacOS.appSelf().new_file("Save Desktop State:"); ... So,...
298
BricoleYvon@...
Aug 20, 2001 1:39 pm
i got it with Save Desktop.js the change to make was : var outFile = MacOS.appSelf().choose_file_name("Save Desktop State:"); now the problème arrose with...
299
Mark Alldritt
alldritt@...
Aug 20, 2001 3:37 pm
... Now, it just means that the XML data contains invalid characters. In this case, its the TM character in item 2. XML data can only contain 7-bit ascii,...
300
BricoleYvon@...
Aug 20, 2001 4:57 pm
Dans un courrier daté du 20/08/01 17:46:22, alldritt@... a écrit : <<Now, it just means that the XML data contains invalid characters. In this ...
301
Mark Alldritt
alldritt@...
Sep 9, 2001 1:07 am
Hi Folks, I just ran across this article on the O'Reilly Network wed site about JavaScript OSA: ...
302
Arthur J Knapp
arthur@...
Sep 9, 2001 2:50 pm
... This is fantastic!!! I noticed that the article's author, Richard Hough, is a Canadian. Coincidence, Mark? ;-) Arthur J. Knapp ...
303
Jeff
jeff@...
Sep 25, 2001 1:07 pm
304
Mark Alldritt
alldritt@...
Sep 27, 2001 6:58 pm
Hi Folks, F.Y.I. The just released Script Debugger 3.0 offers improved support for JavaScript OSA. Most importantly, Script Debugger can now display ...
305
Mark Alldritt
alldritt@...
Sep 27, 2001 7:06 pm
Oh, I forgot to mention an important item: a great new JavaScript OSA document written by Matt Neuburg is also included with JavaScript OSA 1.0 (see the...
306
Michael Myers
myersm@...
Sep 27, 2001 7:46 pm
Any advance info on this new Apple project "AppleScript Studio"? mpm...