Re: Newbie Scripter
Re: Newbie Scripter
- Subject: Re: Newbie Scripter
- From: Doug McNutt <email@hidden>
- Date: Thu, 5 Apr 2001 17:43:44 -0600
>
What I need to script is to be able to locate files in a particular
>
folder on our server, and then put them onto an FTP site via the Fetch
>
program.
I too am a newbie scripter but hardly a newbie programmer.
Getting honest information about the Applescript language is like pulling teeth. Somebody up high thinks "natural language" is all you need. I think that concept also applies to searching on the Apple web site. Nothing works the way a programmer expects. You're always guessing. Get used to it.
You need:
"AppleScript Guide"
which is a help file downloadable from somewhere on www.apple.com. But it doesn't show up when you choose help while in the AppleScript editor. You hove to tweak to the finder and ask for help from the menu there.
There are also a batch of modules which can be added to it.
Names like:
"Guidebook Module LNK0100"
which come about as you search www.apple.com. You download them and run the installer that comes with the download. Then you hunt for the results in help under the Script Editor. But it's not there. You have to open help from the finder to see what you have installed. A simple text file with the information in it? Naah. It'll never happen. This list has the best. You can search its archives on apple.com but I've never had any luck at all. The search tools stink.
There is also:
"AppleScriptLanguageGuide.pdf"
which I found somewhere on www.apple.com but I can't remember where. You need it. At least it's readable without messing with the help system.
With regard to ftp, there is "URL Access" which was first distributed with MacOS 8.5 or so. There is a companion application "URL Access Scripting" which supports normal ftp. It's probably a better choice than fetch.
It's buried in the system folder where it's hard to find. Get the Script editor running and "open dictionary" to get all the information you will ever find. That's not all you will want. It's just all you will get.
Gee. I hope someone from Apple reads this. I am really frustrated.
--
-> From the U S of A, the only socialist country that refuses to admit it. <-