MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v746.2)
Content-Type:
text/plain; charset=US-ASCII; delsp=yes; format=flowed
Date:
Fri, 20 Jan 2006 16:35:48 -0500
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Mark Lively <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
7bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (30 lines)
On Jan 20, 2006, at 3:50 PM, Chuck Pelto wrote:

> set thisMachine to "eppc://MyName:[log in to unmask]"
>
> tell application "Make DMGs" of machine thisMachine to open file  
> "Make DMGs" of folder "Applications" of startup disk

Got that result too.

It doesn't like the machine being a variable like that.

What I got to work is.


set machineList to {application "Finder" of machine "eppc:// 
lively:[log in to unmask]"}
repeat with thisMachine in machineList
	using terms from application "Finder"
		tell thisMachine
			open file "iTunes.app" of folder "Applications" of startup disk
		end tell
	end using terms from
end repeat

Add more machines to the list as needed.  Also note that I am telling  
Finder to open the application.

-Mark
I don't work.  The computers work.  I just tell them how to do it.

ATOM RSS1 RSS2