Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7

Thread: Script

  1. #1
    Join Date
    Jan 2008
    Location
    Torquay - UK
    Posts
    13

    Script

    I wish to have a page that includes an input box where a user can enter a name. If the users' name is entered the sound file should stop and the user move to the next page. If no name is entered in the input box an error message should appear. The user remains on the page with the sound playing until a name is entered.

    I am a complete beginner and only obtained AutoPlay Media Studio less than a week ago. I have no experience of scripts and need someone to explain things in simple terms.

    I hope someone can help me.

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Welcome to the forum.

    I've attached a small example. All the code is in the Project/Actions i.e. it runs before anything else is displayed. The valid usernames are in a text file in the docs folder.

  3. #3
    Join Date
    Jan 2008
    Location
    Torquay - UK
    Posts
    13

    Your Script

    Thank-you longedge for sending me such a fine example. I am new to AudioPlay Media Studio and your help is appreciated.

  4. #4
    Join Date
    Jan 2008
    Location
    Torquay - UK
    Posts
    13

    My Project

    Archive sent as attachment.
    Attached Files

  5. #5
    Join Date
    Aug 2003
    Posts
    2,427
    This is your project with some additions as per my reply to your pm. I think it does roughly what you want.

    I've had a lot of fun working out how to do things in AMS over the years and like I said, I still learn new ways of doing things on a daily basis. It is difficult sometimes particularly if like me you're not a developer/programmer but it's worth it when things work out

  6. #6
    Join Date
    Jan 2008
    Location
    Torquay - UK
    Posts
    13

    Smile Updated File

    Thanks. I have just download the file and will let you know how I get on.

  7. #7
    Join Date
    Jan 2008
    Location
    Torquay - UK
    Posts
    13

    Script Success

    The script from Longedge was just right for me. I have studied the code and learnt a lot.

    Sincere Thanks.

Similar Threads

  1. Server script decryption error on Chinese Windows XP
    By SvenskLars in forum TrueUpdate 2.0
    Replies: 6
    Last Post: 10-11-2010, 02:47 AM
  2. Tree menu
    By Brave Heart in forum AutoPlay Media Studio 6.0
    Replies: 17
    Last Post: 05-20-2009, 10:23 AM
  3. Replies: 1
    Last Post: 05-11-2007, 11:24 AM
  4. .NET 1.1 Dependency Script Questions
    By drpepper in forum Setup Factory 7.0
    Replies: 1
    Last Post: 01-03-2006, 02:04 PM
  5. How can I know the FS Command name of a movie???
    By yoske in forum AutoPlay Media Studio 5.0
    Replies: 27
    Last Post: 01-01-2005, 10:39 PM

Posting Permissions

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