trouble with files and folders in Finder
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