Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,161 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,906 people online right now. Registration is fast and FREE... Join Now!




Want to auto open cd rom on mac- please help

 
Reply to this topicStart new topic

Want to auto open cd rom on mac- please help

bainouche
11 Dec, 2007 - 03:17 AM
Post #1

New D.I.C Head
*

Joined: 11 Dec, 2007
Posts: 2


My Contributions
Can someone please help me. I am primarily a graphic/web designer who has dabbled a little in programming. I have created a cd rom in flash, mounted the files in toast as a custom hybrid for cross platform functionality. I just want the cd rom to open automatically when it is put into the computer. I included an autorun.inf file which is making it open automatically on a pc ok, but am having problems with macs. I understand that Mac operating software doesn't allow cd roms to open automatically any more to prevent viruses etc. I heard that a way of compensating for this is to have a finder window automatically pop up with the icon for the cd rom in it. The only problem is I don't know which code to use to make it do this, and where to put the code.
Can anyone help a novice like me solve this problem?
I'd really appreciate it.
Thanks.
B.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Want To Auto Open Cd Rom On Mac- Please Help
11 Dec, 2007 - 05:05 AM
Post #2

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,446



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(bainouche @ 11 Dec, 2007 - 04:17 AM) *

Can someone please help me. I am primarily a graphic/web designer who has dabbled a little in programming. I have created a cd rom in flash, mounted the files in toast as a custom hybrid for cross platform functionality. I just want the cd rom to open automatically when it is put into the computer. I included an autorun.inf file which is making it open automatically on a pc ok, but am having problems with macs. I understand that Mac operating software doesn't allow cd roms to open automatically any more to prevent viruses etc. I heard that a way of compensating for this is to have a finder window automatically pop up with the icon for the cd rom in it. The only problem is I don't know which code to use to make it do this, and where to put the code.
Can anyone help a novice like me solve this problem?
I'd really appreciate it.
Thanks.
B.

http://www.dreamincode.net/code/snippet1410.htm
User is online!Profile CardPM
+Quote Post

ajwsurfer
RE: Want To Auto Open Cd Rom On Mac- Please Help
12 Dec, 2007 - 11:47 AM
Post #3

D.I.C Regular
Group Icon

Joined: 24 Oct, 2006
Posts: 292



Thanked: 2 times
Dream Kudos: 50
My Contributions
Here is an article on the subject, with some CD writing software.

http://www.macdisk.com/cdstarten.php3

User is offlineProfile CardPM
+Quote Post

bainouche
RE: Want To Auto Open Cd Rom On Mac- Please Help
13 Dec, 2007 - 02:37 AM
Post #4

New D.I.C Head
*

Joined: 11 Dec, 2007
Posts: 2


My Contributions
QUOTE(ajwsurfer @ 12 Dec, 2007 - 12:47 PM) *

Here is an article on the subject, with some CD writing software.

http://www.macdisk.com/cdstarten.php3



Thanks for that. However I am creating the cd rom on a mac, so this software won't do my job. Any other ideas?
B
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Want To Auto Open Cd Rom On Mac- Please Help
13 Dec, 2007 - 04:56 AM
Post #5

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,446



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(bainouche @ 13 Dec, 2007 - 03:37 AM) *

QUOTE(ajwsurfer @ 12 Dec, 2007 - 12:47 PM) *

Here is an article on the subject, with some CD writing software.

http://www.macdisk.com/cdstarten.php3



Thanks for that. However I am creating the cd rom on a mac, so this software won't do my job. Any other ideas?
B

Macs run OSX, which is a port of BSD. So it should be running the bash shell. Did you try my script?
User is online!Profile CardPM
+Quote Post

calvinthedestroyer
RE: Want To Auto Open Cd Rom On Mac- Please Help
14 Feb, 2008 - 10:14 AM
Post #6

D.I.C Head
**

Joined: 13 Oct, 2007
Posts: 99



Thanked: 1 times
Expert In: QBasic, Legos

My Contributions
QUOTE(no2pencil @ 13 Dec, 2007 - 05:56 AM) *

QUOTE(bainouche @ 13 Dec, 2007 - 03:37 AM) *

QUOTE(ajwsurfer @ 12 Dec, 2007 - 12:47 PM) *

Here is an article on the subject, with some CD writing software.

http://www.macdisk.com/cdstarten.php3



Thanks for that. However I am creating the cd rom on a mac, so this software won't do my job. Any other ideas?
B

Macs run OSX, which is a port of BSD. So it should be running the bash shell. Did you try my script?

Is that the "Give me CD gobble gobble" script?
haha that was funny.
all that with just the eject command.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Want To Auto Open Cd Rom On Mac- Please Help
14 Feb, 2008 - 10:16 AM
Post #7

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,446



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(calvinthedestroyer @ 14 Feb, 2008 - 11:14 AM) *

QUOTE(no2pencil @ 13 Dec, 2007 - 05:56 AM) *

QUOTE(bainouche @ 13 Dec, 2007 - 03:37 AM) *

QUOTE(ajwsurfer @ 12 Dec, 2007 - 12:47 PM) *

Here is an article on the subject, with some CD writing software.

http://www.macdisk.com/cdstarten.php3



Thanks for that. However I am creating the cd rom on a mac, so this software won't do my job. Any other ideas?
B

Macs run OSX, which is a port of BSD. So it should be running the bash shell. Did you try my script?

Is that the "Give me CD gobble gobble" script?
haha that was funny.
all that with just the eject command.

LOL! That was forever ago, but yeah, same thing. Except it takes a half hearted effort to find the cdrom location in dmesg & use that.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 11:48PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month