Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 12 of 12

Thread: Exit Sequence

  1. #1
    Join Date
    Nov 2004
    Posts
    14

    Exit Sequence

    How do I set get the application to be invisible/or exit before the exit splash screen appears? This will allow for only the exit splash image to be on the screen. The colors clash...

    THX Rookie

  2. #2
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    I’m not exactly sure what you mean about your exit splash screen.

    If I understand correctly, then you probably want to place your splash screen image in the top left corner of the page, and use the action:
    Window.SetSize

    Set the size of the window to be the same as your exit splash screen image.

    You can also use the actions
    System.GetDisplayInfo
    To get the dimensions of your user’s screen and

    Window.SetPos
    To center your image on the screen

    I hope that helps.
    Add-ons for AMS. Toolbar Buttons Galore, System Animations, the Window Construction Kit, and more.
    Visit Acme-Tek

  3. #3
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    I gave you a little bad advice. Your splash image should be placed at the center of the page rather than at the top left corner.

    I built you a little example project that I think will do what you want.

    The code is on the ‘Splash Page’
    Check ‘On Preload’, ‘On Show’, and ‘On Timer’

    I hope this gives you a little better Idea of what I meant.
    Attached Files
    Add-ons for AMS. Toolbar Buttons Galore, System Animations, the Window Construction Kit, and more.
    Visit Acme-Tek

  4. #4
    Join Date
    Nov 2004
    Posts
    14

    Cool exit button

    Jim Thanks!! Look at the exit button in the attached photo. When I use this button the screen disappears before the exit splash credits (image) appears.
    Attached Images
    Last edited by rookie; 12-13-2004 at 06:02 PM.

  5. #5
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Using Window.Hide is the way to go. Here's a little example

    Look in the On Close event of the page. If your project is more than 1 page, you'll probably want to put the code in the Projects On Close event.
    Attached Files

  6. #6
    Join Date
    Nov 2004
    Posts
    14
    Worm whatssssup...Just tried...the exit remains visable when the autoplay image splashes...

    Thanks...rookie

  7. #7
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Hmmm, works fine here, anyone else?

  8. #8
    Join Date
    Nov 2004
    Posts
    14
    Your right...I used the wrong sequence...Application.Exit goes last...DUH...

    Thanks!!!
    Rookie...



    Window.Hide(Application.GetWndHandle());
    Dialog.SplashImage("AutoPlay\\Images\\Troy-Rev-202close-splash.jpg", 4, true);
    Application.Exit();

  9. #9
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Quote Originally Posted by rookie
    Your right...I used the wrong sequence...Application.Exit goes last...DUH...

    Thanks!!!
    Rookie...



    Window.Hide(Application.GetWndHandle());
    Dialog.SplashImage("AutoPlay\\Images\\Troy-Rev-202close-splash.jpg", 4, true);
    Application.Exit();
    That is especially true since the upgrade.

    Tigg
    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

  10. #10
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    What are you doing Worm? This was the persons’ first post! I thought the traditional forum initiation, was to send first-time posters on a ‘snipe hunt’. You know, make them waste a couple of hours, just for kicks.

    I’m just teasing you rookie. No one here will ever steer you wrong on purpose. I really didn’t mean to give you bum advice like that, sorry. Welcome to the forums. I’m feeling really embarrassed at the moment, I need to go back to my corner and be quite for a while.

    Thanks Worm. Yes, I feel like an idiot. I wasn’t even aware of the Dialog.SplashImage action, but it was missing the Window.Hide action that really makes me feel stupid. I think it’s about time I dig in and start playing with some of the actions I’ve been neglecting.

    Dialog.SplashImage Now I understand what rookie meant by ‘exit splash image’. That Brett fellow, and his team of crafty programmers, thought of everything didn’t they?
    Add-ons for AMS. Toolbar Buttons Galore, System Animations, the Window Construction Kit, and more.
    Visit Acme-Tek

  11. #11
    Join Date
    Nov 2004
    Posts
    14
    Thanks All,

    Yeah my first post with a great success. I hope to make $500.00 for this project…hope to pay for the software.

    I’m splashing there commercial and adding these 6 pages: documents, links, student handout, history, and contact info.

    They have the one of those nice CD burners. Maybe one day I’ll have my own...YEAH!!

    Rookie…

  12. #12
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Jim, I hear you on the action thing. I think I'm a fairly hefty user of AMS. I don't think a day goes by without me running it at least once, even if its just to see the pretty dialog at the beginning

    Even so, I forget more actions than I remember. To be honest, I think I pilfered someone elses answer to a very similar question some time ago.

    Rookie, the best way to use that code (IMO, which really isn't worth much) is to have the Application.Exit() in your button as you normally would. Put the Window.Hide, and Dialog.SplashImage code in the On Shutdown of the project (Click on Project, then Actions). Using this method, no matter which page the user closes out the app, the dialog will show the way you want it to.

Similar Threads

  1. Key Combo for exit app
    By pgrimpo in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 07-04-2007, 03:28 PM
  2. Playing Multiple Audio Files in Sequence
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 6
    Last Post: 08-15-2005, 03:38 PM
  3. How do I get the exit status of a program?
    By ahewgill in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 07-22-2004, 03:46 PM
  4. Playing Multiple Video Files in Sequence
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 11:10 AM
  5. Exit application button
    By Geoffh in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 07-02-2003, 02:05 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