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

trouble with files and folders in Finder


  • Subject: trouble with files and folders in Finder
  • From: WalterStuartBushell via AppleScript-Users <email@hidden>
  • Date: Sat, 16 Nov 2019 20:02:22 -0500

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

  • Follow-Ups:
    • Re: trouble with files and folders in Finder
      • From: Barry Wainwright via AppleScript-Users <email@hidden>
    • Re: trouble with files and folders in Finder
      • From: Yvan KOENIG via AppleScript-Users <email@hidden>
    • Re: trouble with files and folders in Finder
      • From: Deivy Petrescu via AppleScript-Users <email@hidden>
  • Prev by Date: Re: Clicking the mouse?
  • Next by Date: Re: trouble with files and folders in Finder
  • Previous by thread: Re: Clicking the mouse?
  • Next by thread: Re: trouble with files and folders in Finder
  • Index(es):
    • Date
    • Thread