MACSCRPT Archives

May 2009

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:
Fri, 22 May 2009 00:49:45 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
To run a script continuously the idle handler is the way to go.


on idle
	set the clipboard to "http://www.accuweather.com/"  --from standard  
additions	
	return 5 --wait 5 seconds before running again
end



On May 22, 2009, at 12:04 AM, Marc Bossiere wrote:

> Does anyone have an elegant, simple idea for a script which could  
> run in the background and
> check the contents of the system clipboard continuously?
>
> I'm trying to find a way to open a web page from inside mini vMac (a  
> simple Mac Plus
> emulator) where I have several Hypercard stacks running. This  
> emulator does not allow any
> interacton with the host OS (X) machine, except for two little apps  
> which get and put
> clipboard contents from and to the host machine. So I hope to send a  
> flag and a URL to the
> host machine from vMac (via the clipboards) and have Applescript on  
> the host machine
> notice it (more or less immediately), extract the URL, and load it  
> to a modern browser. And
> something vice-versa, which I can write a HyperTalk idle script to  
> notice.
>
> Any ideas?
>
> mbossiere
>

ATOM RSS1 RSS2