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 | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Tarale
I'm not under the alfluence of incohol like some thinkle peop I am. It's just the drunker I sit here the longer I get.

Level: 73

Posts: 2243/2720
EXP: 3458036
For next: 27832

Since: 03-18-04
From: Adelaide, Australia

Since last post: 4 hours
Last activity: 2 hours
Posted on 07-11-05 06:19 PM Link | Quote
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.


(edited by Tarale on 07-11-05 09:34 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.