I'm probably missing something obvious, but I can't for the life of me figure this out. I'm using the URL Scripting Addition in a project. I have a line in JS...
dshafer@...
Apr 18, 2001 12:55 am
274
... The syntax is this: download: Downloads a specified URL to a specified file Syntax: var result = download(param, to, replacing, unpacking, progress, ...
Mark Alldritt
alldritt@...
Apr 18, 2001 1:33 am
275
hi, i want to create a menu where the menu item contents are passed as a parameter from a function. In detail i want to provide a hyperlink say displaying a...
tanuja_chawda@...
Apr 25, 2001 10:28 am
276
Hi Folks, I've just posted JavaScript 1.0b10. This version addresses several bugs and makes JavaScript OSA compatible with MacOS X 10.0. For full details,...
Mark Alldritt
alldritt@...
Apr 26, 2001 6:24 pm
277
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...
Corvus
corvus@...
May 2, 2001 6:43 pm
278
... When dealing with collections, you need to given an 1-based index for the item you are interested in: var finder = MacOS.finder(); ...
Mark Alldritt
alldritt@...
May 2, 2001 10:26 pm
279
... 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...
Corvus
corvus@...
May 3, 2001 4:52 am
280
... 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...
Corvus
corvus@...
May 3, 2001 5:10 am
281
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()...
Arthur J Knapp
arthur@...
May 10, 2001 10:47 pm
282
Hi folks, I am building CodeWarrior projects with the following script. var cwIde = MacOS.appBySignature("CWIE", true, false); //set the timeout so we can...
Abhijit Gupta
abhijit.gupta@...
Aug 2, 2001 4:28 am
283
... 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...
Mark Alldritt
alldritt@...
Aug 2, 2001 4:22 pm
284
... I am unfamiliar with CodeWarrior scripting, however... ... You have an extranious "end" in the above source. Arthur J. Knapp http://www.stellarvisions.com ...
Arthur J Knapp
arthur@...
Aug 2, 2001 8:25 pm
285
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...
Abhijit Gupta
abhijit.gupta@...
Aug 5, 2001 12:46 pm
286
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...
Abhijit Gupta
abhijit.gupta@...
Aug 5, 2001 1:30 pm
287
... Under MacOS X, scripting addition commands can only be executed from the current process (MacOS.appSelf()). ... Shameless Plug: In Script Debugger's...
Mark Alldritt
alldritt@...
Aug 5, 2001 4:04 pm
288
Hi, I am using Apple Script Editor and XML Tools from Late Night Software . Following code is working fine. property theXMLSource : "<start abc1=\"value1\" ...
Abhijit Gupta
abhijit.gupta@...
Aug 6, 2001 12:52 pm
289
... 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...
Mark Alldritt
alldritt@...
Aug 6, 2001 6:00 pm
290
... Mark, I was surprised that you didn't mention Core.XML.parse: var theXMLSource = ' \ <start> \ <tag attribute1="value1"...
Arthur J Knapp
arthur@...
Aug 7, 2001 10:54 pm
291
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...
Morgan Jones
morgan@...
Aug 7, 2001 10:59 pm
292
... 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...
Mark Alldritt
alldritt@...
Aug 7, 2001 11:14 pm
293
... [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....
Arthur J Knapp
arthur@...
Aug 7, 2001 11:27 pm
294
... 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...
Arthur J Knapp
arthur@...
Aug 7, 2001 11:50 pm
295
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...
BricoleYvon@...
Aug 19, 2001 12:30 pm
296
... Somewhere along the way, the new file command in the Standard Additions scripting addition (part of AppleScript) was renamed 'choose file name'. So, rename...
Mark Alldritt
alldritt@...
Aug 19, 2001 4:51 pm
297
Dans un courrier daté du 19/08/01 18:51:45, alldritt@... a écrit : <<> var outFile = MacOS.appSelf().new_file("Save Desktop State:"); ... So,...
BricoleYvon@...
Aug 20, 2001 6:37 am
298
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...
BricoleYvon@...
Aug 20, 2001 1:39 pm
299
... 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,...
Mark Alldritt
alldritt@...
Aug 20, 2001 3:37 pm
300
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 ...
BricoleYvon@...
Aug 20, 2001 4:57 pm
301
Hi Folks, I just ran across this article on the O'Reilly Network wed site about JavaScript OSA: ...
Mark Alldritt
alldritt@...
Sep 9, 2001 1:07 am
302
... This is fantastic!!! I noticed that the article's author, Richard Hough, is a Canadian. Coincidence, Mark? ;-) Arthur J. Knapp ...