• 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: Finder window help...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder window help...


  • Subject: Re: Finder window help...
  • From: "Domains4Days.com" <email@hidden>
  • Date: Sun, 05 Jan 2003 20:19:14 -0800

Thanks very much - I am definitely getting there!

I'm still bit stumped on a few things.

My goal is to supply some AppleScript with an application that would be
stored in a sub folder of the application folder. Since someone might
install the main folder anywhere they please... The first time the
AppleScripts are run, they won't know where the files are.

so if I preset the script to say something generic ...


set thefile to alias "thisdrive:goodstuff:test1.fp5"

... On my computer - for me - it says this script will not compile - and
only save as text. I guess this is because it's looking for something
active and real right now.

- So how you " preprogram " Files/folder items paths for scripts in
advanced?

... like this??? But...

tell application "Finder"
activate
try

set thefile to alias "thisdrive:goodstuff:test1.fp5"
open file tester

on error
set tester to alias choose file with prompt "Please choose the
appropriate file"
open file tester
end try
end tell


BTW: once the new file is found I wrote:

set tester to alias choose file with prompt "Please choose the appropriate
file"


... Is that the correct syntax : set tester to alias choose file ...?

--
RevDave
email@hidden
[db-lists]

Check out some great Domain Names at:
http://www.domains4days.com
_______________________________________________
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: 
 >Re: Finder window help... (From: "Domains4Days.com" <email@hidden>)

  • Prev by Date: Re: saving a file in GraphicConverter
  • Next by Date: Re: saving a file in GraphicConverter
  • Previous by thread: Re: Finder window help...
  • Next by thread: Re: Finder window help...
  • Index(es):
    • Date
    • Thread