• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trouble saving as Droplet in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble saving as Droplet in OSX


  • Subject: Trouble saving as Droplet in OSX
  • From: dan jewett <email@hidden>
  • Date: Thu, 10 Jan 2002 18:51:04 -0500

Greetings all,

I'm a first time poster and a beginner at Applescript. I've got a
script which was written by someone else for autoposting with
"Thoth" to Usenet. I re-typed the script (for practice and
familiarity) and it compiles but I can't seem to save it as a
droplet. The original script is functional as a droplet. My
re-typed version follows below. Any help or advice would be
appreciated.

on open fileList
set newsGroup to "alt.binaries.test"
set totalItems to (count of fileList)
display dialog "Auto-posting " & (count of fileList) & "files
to " & newsGroup & "Text for subject line?" default answer ""
set subjectLine to (text returned of result)
set currentCount to 0
repeat with this_item in fileList
tell application "Thoth"
activate
newmessage
set currentCount to currentCount + 1
setmessagepart newsGroup messagePart "Newsgroups"
setmessagepart (subjectLine & "- " &
currentCount & "of" & totalItems) messagePart "Subject"

setmessagepersonality personalityName "bebop"

setmessagepart "something witty" messagePart ""

setmessageattachment newsEncode uuEncode
-- for Macintosh newsgroups, should be:
-- setmessageattachment newsEncode binEncode

--Tell Thoth how big the parts should be. 55K
is about 8000 lines
setmessageattachment newsSize 360

--set file last or it might hang
setmessageattachment attachedFile this_item
sendmessage
end tell
end repeat
end open


  • Prev by Date: Re: Archiving Scanned Content from Books
  • Next by Date: Re: Tell OS X Application...
  • Previous by thread: Outlook Express script debugging
  • Next by thread: Dialing via a modem
  • Index(es):
    • Date
    • Thread