• 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
Re: HELP, shell script & mail results 2 home
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HELP, shell script & mail results 2 home


  • Subject: Re: HELP, shell script & mail results 2 home
  • From: Andrew Oliver <email@hidden>
  • Date: Sun, 25 Jul 2004 13:01:48 -0700

Do you mean your script targets a remote machine using something like:

tell application "App Name" of machine "eppc://ip.of.remote/"

If so, you don't need mail running on that machine. AppleScript will pass
the result back to your script where you can do whatever you like with it:

on run
tell application "Finder" of machine "eppc://ip.of.remote/
set diskName to name of startup disk
end tell

display dialog diskName
end run

In this case, because the 'display dialog' is outside the remote tell block
the dialog displays on your machine. You could just as easily email it from
your machine, write it to a database on your machine, etc., etc.

Andrew
:)

On 7/25/04 12:20 PM, "Sam Hargis" <email@hidden> wrote:

> I have a script that gets info off a machine to a
> text variable.
>
> Next, I need to send that text to me via email.
> I was looking at using sendmail but looks like
> that has to be turned on at the remote mac?
> The remote mac is usually a new machine without
> mail even setup.
>
> I can't seem make sendmail do what I need. This
> is always OS X machines but are barely on the net
> with no mail stuff setup yet. How can I have my
> script send the text variable back to me. I need
> options and help. I may be on right track with bad
> implementation? TIA.
> _______________________________________________
> 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.
_______________________________________________
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.


  • Prev by Date: Re: existence and addressing of smb mounted volume
  • Next by Date: RE: HELP, shell script & mail results 2 home
  • Previous by thread: Re: HELP, shell script & mail results 2 home
  • Next by thread: RE: HELP, shell script & mail results 2 home
  • Index(es):
    • Date
    • Thread