How do I paste into a different app?

Bill Vlahos bvlahos at
Wed Dec 30 17:55:03 EST 2009

It looks like on the Mac you can get AppleScript to send keystrokes by telling the application "System Events".

tell application "System Events"
	keystroke "x"
end tell

How can I tell Rev to execute this AppleScript code?

Bill Vlahos
InfoWallet ( helps me remember the important details of my life.

On Dec 20, 2009, at 1:32 PM, Bill Vlahos wrote:

> Is there a way to paste text from my stack to the text insertion point of a different program?
> I can create a floating window (system window) which floats above all other windows. The idea is that the user would click on a field in the target window (say a password field in a web browser) and then click a button on the floating window that will paste the password into it.
> I've tried the "type" and "paste" commands but they don't do anything outside of the stack. Is there a way to remotely issue a paste command or simulate typing?
> Thanks,
> Bill Vlahos
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list