Recent

Author Topic: Code to open a dvd/cd/bd-drive on a mac and linux  (Read 3015 times)

Fred556

  • New Member
  • *
  • Posts: 26
    • Copy Protection Software
Code to open a dvd/cd/bd-drive on a mac and linux
« on: November 13, 2010, 12:18:47 pm »
Hello,

I need a code to open a dvd/cd/bd-drive on a mac and linux, please.
Programmer Software and other copy protection tools.

mirce.vladimirov

  • Full Member
  • ***
  • Posts: 221
Re: Code to open a dvd/cd/bd-drive on a mac and linux
« Reply #1 on: November 13, 2010, 12:24:29 pm »
First of all, you should be familiar with linux/unix prompt. See the man page of "eject": at the linux prompt type "man eject" and then press enter.
Second: Use TProcess so you can enable the application to execute a bash command "eject" to open the tray and "eject -t" to close the tray.  See lazarus documentation of TProcess.

 

TinyPortal © 2005-2018