Re: Panther/Terminal/System events
Re: Panther/Terminal/System events
- Subject: Re: Panther/Terminal/System events
- From: "David A. Cox" <email@hidden>
- Date: Wed, 29 Oct 2003 16:24:48 -0800 (PST)
I think this may work a little better:
tell application "Terminal"
activate
end tell
tell application "System Events"
tell process "Terminal"
keystroke "n" using command down
delay 5
set the clipboard to "ncftp zn put /Volumes/1-Peerless20gb/scrapper.sit AS_Terminal"
keystroke "v" using command down
end tell
end tell
DAC
On Wed, 29 Oct 2003, Sovereign Diamonds wrote:
>
The following script running in Terminal made a new screen & then pasted a
>
few lines of code. It worked OK with 10.2.8 but has failed with Panther:
>
>
tell application "Terminal"
>
activate
>
end tell
>
tell application "System Events"
>
tell process "Terminal"
>
keystroke "n" given +class with;:command down
>
delay 5
>
set the clipboard to "ncftp zn
>
put /Volumes/1-Peerless20gb/scrapper.sit
>
AS_Terminal"
>
keystroke "v" given +class with;:command down
>
end tell
>
end tell
>
>
Any help would be greatly appreciated?
>
>
>
Regards
>
David McMillan
>
http://www.sovereigndiamonds.com
>
United Kingdom
>
_______________________________________________
>
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.