Hi, everyone, long time lurker here but very few posts…
So, I have this task of deploying an application to many many end users (over 6,000) and while my skills on that are fine, it is the method of how the app works which has kind of stumped me. So I have come here to plea for expert AppleScripting advice from you experts. 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.
- End user opens up application from apps folder
- Instead of it opening the app first, it launches an apple script
- AppleScript maps a network drive and waits for authenticaiton
- Once authenticated and mapped, runs do shell script command and chflags to hide the network volume from the finder
- launches application which needs to connect to the mapped drive (database)
- when app exits, applescript unmounts network share
I know this has to be possible, but I can’t seem to put the pieces together. Going to crack the books this weekend to try and learn more advance Apple Scripting.
All clients are running OS X 10.5.5
Thanks in advance for anyone who can help me out.
-Tom