Post not yet marked as solved
Post marked as unsolved with 3 replies, 164 views
Hello,
In my company, we want to connect home user folder automatically in one click, without need to go in Finder/Go/Connect to, etc.
For that we want to push on Mac an Applescript in the form of an application with VMWare WorkSpace One.
In this script is filled in the path of network shared folder. The name of the shared folder is identical to the Mac user session (AD identifier), and therefore specific to each user. The command in the script is this: mount volume "SMB://server/data/users/~[username]"
The variable ~[username] is not recognized.
This script works with a fixed network path.
Which variable could I use?
Or maybe my script is to simple and I need to set the user variable before.
As I am a newbie in Apple Script, I need an help.
I hope to be clear enough.
Thank for your help.
Br,