Mount afp volume so it's hidden from Desktop and Sidebar

Hello,

i’m looking to emulate with a script the outcome achieved when using workgroup manager to mount a network share as a loginitem.

the option i’m interested in is hiding the volume when it’s mounted. This way the actual volume only shows up in /Volumes folder. I know I can just drag the mounted share out of the sidebar, and I know I can set the finder to not show mounted items on the desktop, but it’s just certain network shares that I don’t want to show up on the desktop and the sidebar.

Is there any applescript command I can use that would either precede or follow a “mount volume” command that would do that for me?

I know there is a {hidden:true} applescript command you can set for loginitems, but i’m not really looking to make a login-item, but a script I can run whenever i need to.

thanks for any help!
-nathan