• 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: Thomas Taylor <email@hidden>
  • Date: Wed, 29 Oct 2003 10:06:44 -0600

1) I guess I'm alittle surprised why one would go through the efforts of making finder recordable and stop it's capabilities at just finding the file. That's pretty sad when you say finder is recordable, but only generates one line of code.

Finder opens files for you through normal interaction. The object 'file' 'target' (whatever you want to call it) should have a method 'open', that takes the files properties, and perform that method AUTOMAGICALLY using that application property defined in the file. This very simple operations should be getting easier?

2) Using that generated line of code, I tried a number of combinations to open the file, still no luck.

3) Looked in the improved dictionary, there's alot more confusing terms, nothing highlighting any recordable capabilities. Are the recorded capabilities documented anywhere (please don't respond back with: press the record button, and if you get code, it's recordable)? I'm looking for the missing link between where the recorder stops and the dictionary starts, and if the two actually meet.

On Oct 28, 2003, at 8:22 PM, John Stewart wrote:

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.


Thanks,
Thomas Taylor
17106 76th Ave
Maple Grove, MN 55311
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: recordable finder
      • From: John Stewart <email@hidden>
References: 
 >Re: recordable finder (From: John Stewart <email@hidden>)

  • Prev by Date: AppleScript to delete Eudora message with attachment
  • Next by Date: Re: 24U Appearance OSAX problem with Panther
  • Previous by thread: Re: recordable finder
  • Next by thread: Re: recordable finder
  • Index(es):
    • Date
    • Thread