• 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: Sat, 04 Jan 2003 09:10:25 -0800

All Right - that works great - now we're cookin'!!!

Thanks Folks.

I like your idea Mr Tea - and will start doing it...

>When an item is referred to several times in a script, it usually makes
>sense to store it in a variable, which saves typing and makes subsequent
>editing easier if, for example, you wish to use a similar script with a
>different folder.

while I'm at it: I have two more quick questions...

1 - is there a way to set - whatever the topmost window happens to be (
Rather than a specific one) - like:

set theFolder to [[[ the fontmost? / topmost? window ]]]


2 - I have several AppleScripts that are able to open particular files on
the drive. (I will start with your VAR idea... )

OLD
open file "main:goodstuff:test1.fp5"

Or new?

set theFolder to "main:goodstuff:test1.fp5"
open file theFolder


* My problem is: when folders and files are moved around - the script
fails.

Question: is there some "try" routine - that if it doesn't find the file or
folder - that a dialog window can have the user to find the location and
have that permanently stored back in the AppleScript? If so, what would
that look like? ( I'm not very good AppleScript as you can see - So any
actual code would help greatly.)

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

  • Follow-Ups:
    • Re: Finder window help...
      • From: webguide <email@hidden>
    • Re: Finder window help...
      • From: Mr Tea <email@hidden>
References: 
 >Re: Finder window help... (From: Mr Tea <email@hidden>)

  • Prev by Date: Parsing HTML
  • Next by Date: Re: Finder window help...
  • Previous by thread: Re: Finder window help...
  • Next by thread: Re: Finder window help...
  • Index(es):
    • Date
    • Thread