hi everyone.
hi everyone.
- Subject: hi everyone.
- From: mathew <email@hidden>
- Date: Fri, 3 Oct 2003 15:20:17 -0400
i'm attempting to learn applescript these days and have found out that
the terminal
is scriptable. because of this, i'm trying to write a script that
allows me me access
a web directory (my own) via the terminal's ftp command.
i'd like the script to put in the username and password itself and just
connect
automatically.
can applescript do this?
my code (so far..)
tell application "System Events"
if (get name of every process) does not contain "Terminal" then
tell application "Terminal"
activate
end tell
end if
tell application "Terminal"
do script "ftp " & " open
http://url.url.com"
end tell
end tell
ideas? thanks in advance.
-mathew
On Friday, October 3, 2003, at 01:47 PM, LaBree, John wrote:
>
I am trying to write a droplet script that will direct Distiller 5 to
>
convert postscript files dropped on it to PDFs with specific security
>
settings. As far as I can tell I have it right except for one minor
>
detail.
>
It converts the ps to pdf and sets the security to "Acrobat Standard
>
Security" and even sets the proper password, but regardless of the
>
settings
>
I specify, the pdf produced has all of the options allowed.
>
>
Can any of you give me a clue what I am doing wrong? The line breaks
>
may
>
display wrong in the email.
>
>
Script beginning -
>
>
on open y
>
set x to 1
>
set OptionPath to "Macintosh HD:Applications (Mac OS 9):Adobe Acrobat
>
5.0:Distiller:Settings:DistllForQuad.joboptions"
>
repeat number of items in y times
>
tell application "Acrobat Distiller 5.0"
>
open (item x of y as alias) joboptions alias OptionPath
>
changepassword "abc456" with wait without printing, changing,
>
selecting and
>
notechanging
>
end tell
>
>
end repeat
>
end open
>
>
end of Script-
>
>
Thanks in advance for your help,
>
>
>
John E LaBree
>
Imaging Center Manager
>
GNeil Corporation
>
(954)846-8899 xt:5451
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
>
>
mathew
b: buddhist, vegetarian, and beta-geek
--
currently listening to Pyramid Song by Radiohead from the album Amnesiac
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.