![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I am trying to find a way to have my application look for a file on the program
cd before it launches the main program. I have tried the Find Cd KO and the read extfile function. These are being used in conjunction with the jumpout and/or Quit functions, but in the case of the jumpout function, a window displays with the question: Where is the ** file?. When you click on cancel, the program proceeds to launch. If quit is used, the users is not given any message to insert the cd. What I would like to do is to have a small window appear with some text asking that the orginal cd be inserted. If it is inserted then the program will proceed with launch. If no file is detected on the Cd, the user is returned to the desktop. Is there any one out there with some code that can accomplish thiat? Much thanks. |
| Sponsored Links |
|
|||
|
> What I would like to do is to have a small window appear with some text > asking > that the orginal cd be inserted. If it is inserted then the program will > proceed with launch. If no file is detected on the Cd, the user is > returned to > the desktop. Is there any one out there with some code that can accomplish > thiat? Much thanks. > Use FileType. If FileType returns zero, the file is not there, so presumably the CD isn't either - thus you can look for the file, then prompt for the CD if FileType = 0 HTH Steve -- http://twitter.com/Stevehoward999 Adobe Community Expert: eLearning, Mobile and Devices European eLearning Summit - EeLS Adobe-sponsored eLearning conference. http://www.elearningsummit.eu |
|
|||
|
"Steve Howard **Community Expert** - eLearning + Mobile and Devices" <steve@NOSPAMmagnoliamultimedia.com> wrote in message news:gcellr$3he$1@forums.macromedia.com... > >> What I would like to do is to have a small window appear with some text >> asking >> that the orginal cd be inserted. If it is inserted then the program will >> proceed with launch. If no file is detected on the Cd, the user is >> returned to >> the desktop. Is there any one out there with some code that can >> accomplish >> thiat? Much thanks. >> > > Use FileType. If FileType returns zero, the file is not there, so > presumably the CD isn't either - thus you can look for the file, then > prompt for the CD if FileType = 0 If you don't actually know where the CD ROM drive is, Buddy API has functions to let you look for a file. HTH; Amy |
|
|||
|
>> Use FileType. If FileType returns zero, the file is not there, so >> presumably the CD isn't either - thus you can look for the file, then >> prompt for the CD if FileType = 0 > > If you don't actually know where the CD ROM drive is, Buddy API has > functions to let you look for a file. > One of AW's default KOs that will do this - and there's simple code in the help files to do the same. :-) Steve -- http://twitter.com/Stevehoward999 Adobe Community Expert: eLearning, Mobile and Devices European eLearning Summit - EeLS Adobe-sponsored eLearning conference. http://www.elearningsummit.eu |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise