• 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
Require help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Require help


  • Subject: Require help
  • From: "BADRINATH, NANDINI" <email@hidden>
  • Date: Mon, 6 Dec 2004 17:44:36 +0530
  • Thread-topic: Require help

Hi,
  I have the following piece of code:-
 
set searchpath to "OS X.1:Users:imac:input:"
tell application "Finder"
    set thefiles to (name of every file in folder searchpath)
        repeat with thefile in thefiles
            ----
        end repeat
end tell
           
'thefile' contains the name of the file(for e.g: test). I have to select this file 'test' in one of the dialogs. How do I specify it as keystrokes?
For e.g: I have to specify as follows for this scenario:-
                keystroke 't'
                keystroke 'e'
                keystroke 's'
                keystroke 't'
 
In short, how do I access the name of the file in 'thefile' as separate keystrokes?
 
Regards,
Nandini
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Save Terminal output as file or variable
      • From: Markus Zielonka <email@hidden>
    • Re: Require help
      • From: Matthew Smith <email@hidden>
  • Prev by Date: Trapping errors on mount volume
  • Next by Date: Re: Require help
  • Previous by thread: Trapping errors on mount volume
  • Next by thread: Re: Require help
  • Index(es):
    • Date
    • Thread