• 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: recordable finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recordable finder


  • Subject: Re: recordable finder
  • From: John Stewart <email@hidden>
  • Date: Tue, 28 Oct 2003 21:22:01 -0500

On 10/28/03 at -0600 Thomas Taylor said this

>I am trying to find the easiest way to open up an appleworks
>spreadsheet, for data extraction.
>
> I came across a thread, that panther's finder is recordable, so I bit.
> I also was able to create a recordable finder script:
>
>tell application "Finder"
> activate
> set target of Finder window 1 to folder "Documents" of folder "tommyt"
>of folder "Users" of startup disk
>
>thats it. It stops here, so how do I open the file that I so
>desperately want to open?


the following is all on one line -

tell application "Finder" to open alias ((path to "docs" as string) &
"nameofyourfileorfoldergoeshere")


This will open a file (or folder) inside your Documents folder. If you choose
to open a folder, make sure you put a colon after the name. If you want to open
the file with a specific application then add the "using" parameter.

You will find the "open" and "path to" commands in the Standard Additions osax.

John
_______________________________________________
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.

References: 
 >recordable finder (From: Thomas Taylor <email@hidden>)

  • Prev by Date: Re: Assign keyboard shortcut to scripts menu item
  • Next by Date: Re: Re(4): Step by step debugging
  • Previous by thread: recordable finder
  • Next by thread: Re: recordable finder
  • Index(es):
    • Date
    • Thread