Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2002
    Posts
    4

    Brose CD Contents..cripes

    Havent used this program since 3.0. I use it simply to make menus for document CD. On autostart screen there is the typical "CLOSE" and "BROWSE CD" buttons.

    I cant get it to set to browse the CD root folder, always goes to my computers My Documents. Have tried _SourceFolder etc. also used Dialog.Folder and File Open.

    Missing something basic here that was easier in 3.0 ;^)

    thanks

    Would prefer a direct email to: todd.roat@uc.edu if psosible.

  2. #2
    Join Date
    Oct 2003
    Posts
    908
    1. To add "Close" functionality, either use the Add Action Wizard to add an "Application.Exit" action to your button's "On Click" event or simply type in the following script:
    Code:
    Application.Exit();
    2. To add "BROWSE CD" functionality, either use the Add Action Wizard to add a "File.ExploreFolder" action to your button's "On Click" event or simply type in the following script:
    Code:
    File.ExploreFolder(_SourceFolder, SW_SHOWNORMAL);
    That will open up the folder that the "autorun.exe" is being executed from. You have full control over which folder to browse though, by simply changing the Path argument.

    Check out the command reference for more examples and further details.

    http://www.indigorose.com/webhelp/am...loreFolder.htm

  3. #3
    Join Date
    Oct 2002
    Posts
    4

    Sturggling.

    Thanks for the reply Ted. Still having issues. Using that code keeps opening to My Documents, not where my defined AutoPlay folder is. I got it to work using Src.Dir, a statment I must have had notes on from version 3.0. I must be doing something obviously wrong and will try again when I have time to attempt carefully tomorrow. I will keep you posted.

  4. #4
    Join Date
    Oct 2003
    Posts
    908
    My guess is that you're running the .exe from your "My Documents" folder, which is why the _SourceFolder variable is showing that location. Have you tried publishing to a CD?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts