Re: Home Folder Name Change
Re: Home Folder Name Change
- Subject: Re: Home Folder Name Change
- From: Jenni via AppleScript-Users <email@hidden>
- Date: Tue, 12 May 2020 17:32:57 -0700
Gil,
> On May 12, 2020, at 5:02 PM, Gil Dawson via AppleScript-Users
> <email@hidden> wrote:
>
> It's not an awful chore for me to change all my source code files,
If you can’t easily change your username, you wouldn’t need to have it
hard-coded in your scripts. You could so something like this:
Set username to
set username to system attribute "USER"
POSIX file "/Users/“ & username & "/Gil'sStuff/Projects/..."
I know it’s not what you asked for, but...
Frank
_______________________________________________
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