How do I display "Hello world" from JavaScript OSA? I'm guessing it's something like this... ... var a = "Hello world" System.stdout.writeln(a) ... Run by...
John Love-Jensen
eljay@...
Jun 5, 2003 4:07 pm
419
Hi Can anybody help me out. I got a problem that I developed a webbased application in Windows OS and Java and normal javascript . The same application is not...
... Java is not Javascript. The JS OSA is for writing scripts on the machine that interact with the Finder and other applications. Without more specific...
Gavin Kistner
gavin@...
Aug 28, 2003 12:51 pm
421
... Like Gavin pointed out, you're at the wrong place, and JavaScript OSA is not involved in what you're doing. I suggest you post your question on the...
Steve Roy
sroy@...
Aug 28, 2003 1:25 pm
422
I'm trying to shove all the songs in my iTunes library into an array so that I can sort them and then remove a ton of duplicates. However, using the following...
... arguments[0].constructor==Array)?arguments[0]:arguments; ... I don't get an Out of Memory message. I don't have any iTune thingies, so I just tested with...
... Hrm. This was with Script Editor...are you using Script Debugger or something else? After I wrote this message, I ran into various other areas where ...
... thingies, ... I tried it in both, it worked fine. I don't think the issue is with your SortBy() function, but rather with the .sort() method that follows. ...
Hi all. Today I tried for several hours to get going with JavaScript OSA in Apple's Mail environment. I installed the OSA component properly. I've been able...
... Hi, David. I've never scripted Mail with either AppleScript or JavaScript, but I gave it a shot today. There is an AppleScript called "Sample Rule Action...
... I've not had a chance to look at the FMP7 scripting interface, but it looks like the name of something may have changed. I seem to recall the notion of ...
Hello from a JS newbie, I've successfully installed the Javascript component in OS X 10.3, and I can modify and recompile the sample scripts. However, I can't...
... Hmm... I found a popup menu under SE's preferences that allows you to switch to JavaScript OSA "as the default," but this isn't much help if one wants to...
... You need to show the Navigation Bar (using the View menu). From there, there is a popup menu that lets you choose the language to use. Cheers -Mark ... ...
I ran across a new error today, (because I was doing something stupid), so I thought I'd share: 'InternalError: too much recursion' I wanted to discover how...
And here's a funny sort of error: BBEDIT = MacOS.appBySignature('R*ch'); BBEDIT.activate(); //--> 'uncaught exception: the application is no longer running' ...
I was really far into debt. Like Most I was in Financial dispair. I could not seem to get ahead no matter how hard I tried. Untill I found this place. ...
funny what gems you find looking through your spambox, this site has very cheap meds, all kinds, check it out http://pillrxheyn.u4l.com If you dont want to be...
i used these guys to make my bills alot more manageable, it was free so what the hell, why not? http://xgwwdosujc.b3.nu If you dont want to be part of this...
MacOS.appSelf().current_date(); // -> ldt value MacOS.finder().item[1].modification_date; // -> ldt value AEDesc dates don't seem to convert to JavaScript...
... The version of JavaScript used in JSOSA does not have a native date data type. I'm experimenting with current Mozilla JS engine and I'll add support for...
... Thank you, Mark. :) So I was trying to work this out with some hack-ish stuff, but I'm not getting very far: d = MacOS.appSelf().current_date(); s =...
... I have also thought of using the '.as' method of AEDesc objects, so that I could get a date string, but that doesn't seem to get me anywhere either: ME =...
Ok, I may have figured this out. The difference between the correct day and time, and the converted day and time, is 19 hours, which sounds like a timezone...
Whoops... please disregard the previous message. I am obviously way off: OS = MacOS.finder(); // mod-date of choosen file: "Feb 12, 2004 8:32 AM" // f =...