I'm trying to add a web clip to the dock that holds the address of an smb share. I'd like to do folder rather than a web clip but the icon doesn't change from a question mark to a folder, even when the share gets mounted. The share I want to mount is in the following format:
smb://files/labarea/'$site'/Labarea
My thought was to create a web clip and use a script parameter to enter the school site designation like this:
smb://files/labarea/$4/Labarea
For some reason when using dockutil to add a web clip with this address, the $4 parameter doesn't get accepted. If I put HH as the parameter in Casper Remote, the dock.plist just shows the url as it sits in the script, with the $4 rather than HH. If I use dockutil to create a folder pointing to the share like this:
//files/labarea/$4/Labarea
The parameter works fine (but the icon stays as a question mark rather than a folder icon). If I drag my dock item out and manually put it in from the mounted share, the format looks like this in the dock.plist
file://localhost/Volumes/labarea/HH/Labarea
Suggestions?