Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2002
    Location
    Pocatello, Idaho, USA
    Posts
    53

    Grin Web Browser Object

    Please help. I want to use a web browser object in AMS4. When I click on a link within the browser I would like the application associated with the file to launch in a separate window or even within the same window if possible (i.e. if I click a link on a file that was made in Microsoft Excel or Word I would like that application to launch) so that the file can then be edited and saved in a new location (a folder on the end users system).

    Thanks,

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Web Browser Object

    Create a link, i.e. #worddoc in your web page, and then in the web browser object's On Navigate Complete event insert:

    1. A WEB BROWSER OBJECT > GET PROPERTY > URL action to get the URL into a variable.

    2. Use a STRING > GET DELIMITED STRING action using # as your delimiter and 1 as your item index. Use the same variable name for the source and destination fields. This truncates your string to contain only the bit you want, i.e. "worddoc".

    3. Use an IF statement or series of IF statments to discern which link was passed,, i.e. in this case "worddoc" and then launch the appropriate application however you like. The application you choose to launch it in may not be the user's default viewer though unless you set it that way. For example some people open .doc files with word whereas some people don't even own MS Office or Word so on their systems .doc files may open with a variety of different text editors or .doc viewers...

    Corey Milner
    Creative Director, Indigo Rose Software

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160

    Re: Web Browser Object

    Corey,

    That post looks strangely familiar. Are you becoming a cut and past King?
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Web Browser Object

    Yes. I have a crudely fashioned tin foil crown and garbage bag cape and am now getting set to storm the veranda and address "my people". (my cat and the neighbor's kid)

    Corey Milner
    Creative Director, Indigo Rose Software

Posting Permissions

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