MACSCRPT Archives

February 2012

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 9 Feb 2012 12:54:42 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (1 lines)
This might set you in the right direction.  Save it as a stay open app. 



property afile : ""

on idle

	if afile ≠ "" then

		display dialog afile

		quit

	end if

	beep

	return 10

end idle



on open infile

	set afile to infile

end open



-mark



On Feb 9, 2012, at 4:53 AM, Nobumi Iyanaga wrote:



> Hello,

> 

> My question is: is it possible to open two files from two different folders with an AppleScript droplet? This means that the two files are dropped on the droplet not at once, but successively.

> 

> Is it possible to write such a droplet with AppleScript? And if so, could you please show me an example?

> 

> Thank you very much in advance.

> 

> Best regard,

> 

> Nobumi Iyanaga

> Tokyo,

> Japan




ATOM RSS1 RSS2