Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Is there a way to Autolaunch a CD in X?

Is there a way to Autolaunch a CD in X?
Thread Tools
Senior User
Join Date: Feb 2001
Location: Ny,Ny,USA
Status: Offline
Reply With Quote
Sep 27, 2002, 10:57 AM
 
Im doing a project and I want the CD to launch the flash movie when the CD is inserted. Is there an Apple Script that can do this?
i hate project managers.
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Sep 29, 2002, 09:56 AM
 
I think Apple removed AutoStart capability for CD-ROM discs in OSX, after the AutoStart worm proved that the security issues involved were more trouble than the feature was worth.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Junior Member
Join Date: Sep 2000
Location: Flagstaff, Arizona
Status: Offline
Reply With Quote
Sep 30, 2002, 09:32 PM
 
It's easy in windows just copy an autostart script but in OSX I don't know. I need to find out for sure so when I do I'll let you know and me the same.
Giulio
     
Fresh-Faced Recruit
Join Date: Nov 2001
Location: London,England
Status: Offline
Reply With Quote
Oct 1, 2002, 04:50 AM
 
There does not seem to be an equivalent to autostart for Mac OSX.

In Jaguar there is a 'CD&DVD' tool in the System Configuration Launcher, which lets you configure what happens when a CD or DVD is inserted. There is no 'Run' option, only 'Run a Script', and 'Run with an Application'.

Many of the new Mac games do not autolaunch the splash installer program until you navigate to the CD and click on them. e.g Warcraft III.

Another example would be an Enhanced CD singles or magazine cover disks which have autostart applications, yet they do not autostart under OSX.

I'm sure you could hook in to the 'Run a Script' feature (For CD's and DVD's) in OSX, but it would seem to be a system wide thing. e.g. execute this script when any CD is inserted. Which is not what is wanted.

From a UNIX standpoint I would say that autolaunch is probably a bad thing anyway. Instead you could make a cool icon for your demo or application, requiring the user to click on it. I understand that this lacks impact but there does not seem to be a simple answer.
     
Mac Elite
Join Date: May 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Oct 1, 2002, 09:52 PM
 
Yeah, AFAIk it used to be available as part of Quicktime but isnt' anymore. For my clients, I simply create a small window, with no toolbar, a fancy background and a colourful 128x128 icon that says "Double Click to Start". Seems to work equally well.

Jeremy
     
Junior Member
Join Date: Sep 2000
Location: Flagstaff, Arizona
Status: Offline
Reply With Quote
Oct 2, 2002, 12:23 AM
 
thePurpleGiant,

I checked out your website. Was that an Amiga in the background of your room? Very cool.

I can tell from your index page you really love yourself.

Fun!
Giulio
     
Mac Elite
Join Date: May 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Oct 3, 2002, 09:01 PM
 
Originally posted by gsciorio:
thePurpleGiant,

I checked out your website. Was that an Amiga in the background of your room? Very cool.

I can tell from your index page you really love yourself.

Fun!
Actually it's just the monitor from an Amiga. A friend wanted to throw out the computer, I took it off his hands Great fun! i have now thrown out the computer, but the monitor has standard RCA inputs, so I have both by N64 and PowerBook plugged into it...bloody ripper!

Well my homepage wasn't so much a matter of vanity, but more that photography is my area more than creating graphics from scratch. So to create pictures for that many categories would be tedious, whereas that way was just fun!

Jeremy
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:50 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2