Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Applescript
  
User name:
Password:
Reply:
 

UserPost
Tarale
Posts: 2243/2720
I don't know if anybody knows the answer to this, I've been looking on the internet but I'm stuck so far, I haven't found anything.

I'm trying to write a script to have my Mac mount network volumes on start up.

The script I wrote works for that, but I want to have it automatically run. At the moment, when I open the application, it comes up with a dialog asking if I want to run it or not. I just want it to run without the dialog..

Here's what I have so far, I'm guessing I need to add something to it somewhere to make it run automatically.

mount volume "smb://Taryn:password@FILESERVER/Video"
mount volume "smb://Taryn:password@FILESERVER/Music"
mount volume "smb://Taryn:password@FILESERVER/Software"
mount volume "smb://Taryn:password@FILESERVER/Games"


It opens on startup, but it still comes up with that dialog. Does anybody know?




EDIT: Nevermind -- I worked it out. There's a "startup screen" checkbox when saving the file. Stupid....

Damn I wish AppleScript's documentation was a little less weird.
Acmlm's Board - I2 Archive - Programming - Applescript


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.004 seconds.