Indigo Rose Software
  #1  
Old 10-03-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin KB: Creating CD-ROM Browsing Windows

AutoPlay Media Studio 5.0 Knowledge Base

Creating CD-ROM Browsing Windows

Document ID: IR10076
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to create CD-ROM browsing windows.

DISCUSSION

In AutoPlay Media Studio 5.0, it is possible to open a folder on a user's machine, either within your project, or in an external window (the same as double-clicking on a folder on your desktop). It is also possible to open a folder in explore view (the same as using windows explorer).

  • Opening a folder within your project: (Pro Edition Only):

    1. Create a web object, and name it Web1.

    2. Call the action Web.LoadURL:
      Web.LoadURL("Web1", "C:\\");
      If the user does not have Internet Explorer 4.0 or later as their default browser, the folder view will be html, not windows based.

  • Opening a folder in an external window:

    1. Call the action File.Open:
      File.Open("C:\\", "", SW_SHOWNORMAL);

  • Opening a folder in an explorer window:

    1. Call the action File.ExploreFolder:
      File.ExploreFolder("C:\\", SW_SHOWNORMAL);
      To browse the CD-Rom from your autoplay application, use _SourceFolder as the path to browse/open.

MORE INFORMATION

For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

  • Program Reference | Actions | File | File.Open
  • Program Reference | Actions | File | File.ExploreFolder
  • Program Reference | Actions | Web | Web.LoadURL

KEYWORDS: AutoPlay Media Studio 5.0, CD Rom, Browse, Window


Last reviewed: October 3, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
  #2  
Old 10-12-2004
The Phantom The Phantom is offline
Forum Member
 
Join Date: Oct 2004
Posts: 14
Creating CD-ROM Browsing Windows

I have found most users have problems viewing the CD ROM contents.

Examples:
Opening a folder in an external window:

Call the action File.Open:

Yours: File.Open("C:\\", "", SW_SHOWNORMAL);
I Use: File.Open(_SourceFolder, SW_SHOWNORMAL);


Opening a folder in an explorer window:

Call the action File.ExploreFolder:

Yours: File.ExploreFolder("C:\\", SW_SHOWNORMAL);
I Use: File.ExploreFolder(_SourceFolder, SW_SHOWNORMAL);

To browse the CD-Rom from your autoplay application, use _SourceFolder as the path to browse/open.

However I still am having problems with viewing the ROM from within a project window. Nothing seems to work with this one.
  #3  
Old 10-21-2004
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Hello,

That's a good point about using the _SourceFolder (or _SourceDrive) variable, instead of "C:\\". I simply wanted to show how to open an explorer window, but it is important to note that rarely, if ever will "C:\\" reference a cd-rom drive.

With regards to viewing the CD-ROM from within a project window . . . do you mean using Web.LoadURL to load the contents into a web object?

I've attached a sample project that uses both _SourceDrive and _SourceFolder combined with a web object. Let me know if that works for you, or if i'm missing the bigger picture.
Attached Files
File Type: apz Web_Object___Source_Drive_Source_Folder.apz (25.1 KB, 131 views)
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
 

Thread Tools
Display Modes

Posting 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 On



All times are GMT -6. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software