Re: Panther/Terminal/System events
Re: Panther/Terminal/System events
- Subject: Re: Panther/Terminal/System events
- From: kai <email@hidden>
- Date: Wed, 29 Oct 2003 23:55:31 +0000
on Wed, 29 Oct 2003 20:40:00 +0000, 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
Your keystroke statement should normally compile as <keystroke "n" with
command down>, David. The fact that it displays as raw code suggests that
the relevant terms are not accessible.
One thing you might try is to make sure the "Enable access for assistive
devices" option is checked in the Universal Access pane of System
Preferences.
---
kai
_______________________________________________
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.