• 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
[Fwd: Re: "set name" not working - newbie question -urgent]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: Re: "set name" not working - newbie question -urgent]


  • Subject: [Fwd: Re: "set name" not working - newbie question -urgent]
  • From: "Tracy Vanderwerf" <email@hidden>
  • Date: Fri, 12 Apr 2002 13:41:00 -0400
  • Organization: White Directory Publishers

Thank you to Mr. Tea and Joe Kelly for their help and explanations. My
problem is now solved

TracyV

-------- Original Message --------
Subject: Re: "set name" not working - newbie question -urgent
Date: Fri, 12 Apr 2002 18:26:31 +0100
From: Mr Tea <email@hidden>
To: AS List <email@hidden>

This from Tracy Vanderwerf - dated 12/4/02 02.57 pm:

> try
> select folder fileContainer
> select file COPY_ARTID of folder fileContainer
> set name of selection to ARTID
> on error
> display dialog "error on select "
> end try

Does the folder that you're trying to select a file in have it's window
open? The select command may be giving you problems if that's not the case.

And what is 'ARTID'? Is that a variable containing a string that can be used
as the file name? It will need to be for the renaming to work. If it is,
try...

set myARTID to (file COPY_ARTID of folder fileContainer) as alias
set name of myARTID to ARTID

...instead of the two equivalent lines in your original script.

Mr Tea
--
Brew of the day: African Blend
_______________________________________________
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.
_______________________________________________
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: [Fwd: Re: "set name" not working - newbie question -urgent]
      • From: Mr Tea <email@hidden>
  • Prev by Date: RE: "set name" not working - newbie question -urgent
  • Next by Date: Re: script speed
  • Previous by thread: RE: "set name" not working - newbie question -urgent
  • Next by thread: Re: [Fwd: Re: "set name" not working - newbie question -urgent]
  • Index(es):
    • Date
    • Thread