• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Panther/Terminal/System events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Panther: AppleScript 1.9.2 Release Notes
  • Next by Date: Re: trying to use keystroke
  • Previous by thread: Re: Panther/Terminal/System events
  • Next by thread: trying to use keystroke
  • Index(es):
    • Date
    • Thread