kimakabane
asked on
Script to mount hundred of DVD iso image on Windows Share at OSX startup
(OSX 10.6.3 / Mac Mini Mid 2010)
(Windows Server 2008 64bit))
Hello,
I want to write script to mount hundred of iso image on windows share at startup.
At the beginning, I use login config through "system preference > accounts > login items",
however this didn't work well.
ISO mount fails because of timeout error. I have around 100 iso images but in most cases
mount fails at 60-70, but sometimes 90 ok.
I have old intel MacMini 10.5.8 and had been had no problem at all.
Now I gave up to resolve mount failure and try to write mount script at startup.
Script requirements are
- Run at startup
- Can adjust startup timing ( by using such as sleep command which windows has)
Thank you so much for your help.
If you have idea other than above scripting, please let me know.
(Windows Server 2008 64bit))
Hello,
I want to write script to mount hundred of iso image on windows share at startup.
At the beginning, I use login config through "system preference > accounts > login items",
however this didn't work well.
ISO mount fails because of timeout error. I have around 100 iso images but in most cases
mount fails at 60-70, but sometimes 90 ok.
I have old intel MacMini 10.5.8 and had been had no problem at all.
Now I gave up to resolve mount failure and try to write mount script at startup.
Script requirements are
- Run at startup
- Can adjust startup timing ( by using such as sleep command which windows has)
Thank you so much for your help.
If you have idea other than above scripting, please let me know.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To use the script,
1. make a new folder named "staggeredlaunchitems" in your preference folder (the one in the library in your home directory)
2. put aliases of the files you want to open/applications you want to launch into the staggeredlaunchitems folder
3. launch applescript editor and paste the attached code snippet into a new applescript
4. customize the delays, if desired, in the two "set" commands at the top of the script
5. save the script as an application, and make it a login item (in accounts under system prefs)
6. any login items that are now being launched by the script should be removed from the login items pane (in accounts under system prefs).
The files in your staggeredlaunchitems folder will launch in accordance with the set delays. They will launch in alphabetical order according to the names of the aliases. Change the names of the aliases to change the launch order.
Open in new window