Here is basically what I want to accomplish and I am pretty sure it is possible, I will just list them in order of how the end user would execute the app in question.
1) End user opens up application from apps folder 2) Instead of it opening the app first, it launches an apple script 3) AppleScript maps a network drive and waits for authenticaiton 4) Once authenticated and mapped, runs do shell script command and chflags to hide the network volume from the finder 5) launches application which needs to connect to the mapped drive (database) 6) when app exits, applescript unmounts network share
is this possible? I think it most likely is