• 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: trouble with files and folders in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble with files and folders in Finder


  • Subject: Re: trouble with files and folders in Finder
  • From: Barry Wainwright via AppleScript-Users <email@hidden>
  • Date: Sun, 17 Nov 2019 10:59:36 +0000

Is the destination folder called “UG”, or “UG 2”?
At one point you are setting a variable UG  to the text “UG 2” then later are
using “UG” as part of the destination string.

Best Regards,
Barry Wainwright

> On 17 Nov 2019, at 01:02, WalterStuartBushell via AppleScript-Users
> <email@hidden> wrote:
>
> 
> I am trying to change some file names however everything I try fails.
> I checked and the folder is there
>
>
> tell application "Finder"
>       log (path to music folder) as text
>       set UG to "Ug 2:"
>       set path2Folder to ((path to music folder)) & UG
>       --set W to files of x
>       set Y to “After Ewe:Users:walterbushell:Music:UG:” as folder — or as
> alias etcetera
>       --set Y to files of folder path2Folder --as alias
>       log Y
> end tell
>
>
>
>
> =========================
>
> error “Can’t make \"After Ewe:Users:walterbushell:Music:UG:\" into type
> folder." number -1700 from "After Ewe:Users:walterbushell:Music:UG:" to
> «class cfol»
> ============================================
> tell application "Finder"
>       log (path to music folder) as text
>       set UG to "Ug 2:"
>       set path2Folder to ((path to music folder)) & UG
>       --set W to files of x
>       set Y to “After Ewe:Users:walterbushell:Music:UG:” as alias — or as
> alias etcetera
>       --set Y to files of folder path2Folder --as alias
>       log Y
> end tell
> =======================================
> error "File After Ewe:Users:walterbushell:Music:UG: wasn’t found." number -43
> from "After Ewe:Users:walterbushell:Music:UG:"
>
> —
> Sig intentionally left blank.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >trouble with files and folders in Finder (From: WalterStuartBushell via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: trouble with files and folders in Finder
  • Next by Date: Re: trouble with files and folders in Finder
  • Previous by thread: Re: trouble with files and folders in Finder
  • Next by thread: [ANN]Library update. Now sdef with Movies and images!!
  • Index(es):
    • Date
    • Thread