Announcement

Collapse
No announcement yet.

I need aid

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I need aid

    I need aid: Spanish manual nonencounter, I am making an application and I have several doubts:

    I want to know like doing that being inactive 4 or 5 minutes the application jumps to the page
    of beginning.

    Also like causing that it works the Esc key (or another key) to close or to leave the application,
    it does not have window frame nor I must put a closing button.

    It completes question is to know how since to make sound a continuous song during the application
    without pauses in the jumps of pages.

    Thanks for its attention, if they can help me I thank for it. I can to collaborate doing buttons
    with photoshop and other things.

    Mi ingles es un poco pobre pero intentare traducirlo para comprender. Gracias.


  • #2
    Re: I need aid

    I need aid: Spanish manual nonencounter, I am making an application and I have several doubts:


    Also like causing that it works the Esc key (or another key) to close or to leave the application,
    it does not have window frame nor I must put a closing button.

    I don't think you can use ESC, but you could use other keystroke combinations :
    Create a hotspot, make it very small(this can be off the page, ignore the error messages when building) assign a keystroke combination in the hotspot properties/attributes screen. Set the hotspot 'on click' to application.exit.

    You will need to copy this hotspot to all pages you wish to exit from.

    It completes question is to know how since to make sound a continuous song during the application
    without pauses in the jumps of pages.

    What I normally do is copy an MP3 file to the users temp folder then run from there. This avoids any 'stutters' etc when accessing the CD.
    I put this in Project settings actions -(the imi file is actually an MP3 file) On initialize

    <IR_ACTIONS_LIST>
    <Action name="Copy">
    <Type>25</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <Source>%SrcDir%\DATA\xCRSH2.imi</Source>
    <Destination>%TempDir%\xCRSH2.imi</Destination>
    <RecurseSubdirectories>0</RecurseSubdirectories>
    <OverwriteExistingFiles>0</OverwriteExistingFiles>
    <ContinueAfterFail>0</ContinueAfterFail>
    <CopyHiddenSystem>0</CopyHiddenSystem>
    <DialogTitle>Copying Files - will delete on close</DialogTitle>
    </Action>
    <Action name="Load">
    <Type>105</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <MP3File>%TempDir%\xCRSH2.imi</MP3File>
    <External>1</External>
    </Action>
    <Action name="Play">
    <Type>106</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    </Action>
    </IR_ACTIONS_LIST>

    Then on Project close I put :

    <IR_ACTIONS_LIST>
    <Action name="Load">
    <Type>105</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <MP3File>%SrcDir%\DATA\xCRSH2.imi</MP3File>
    <External>1</External>
    </Action>
    <Action name="Delete">
    <Type>26</Type>
    <Function>0</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <Source>%TempDir%\xCRSH2.imi</Source>
    <RecurseSubdirectories>0</RecurseSubdirectories>
    <ContinueAfterFail>0</ContinueAfterFail>
    <DeleteHiddenSystem>0</DeleteHiddenSystem>
    <DialogTitle>Deleting Files</DialogTitle>
    <DialogText>Deleting Files. This may take a moment.</DialogText>
    </Action>
    </IR_ACTIONS_LIST>


    Note that I load the 'CD' version prior to deleting, as I found that it wouldn't delete without - the file appeared to be 'in use'.


    Thanks for its attention, if they can help me I thank for it. I can to collaborate doing buttons
    with photoshop and other things.

    Mi ingles es un poco pobre pero intentare traducirlo para comprender. Gracias.


    Comment


    • #3
      Re: I need aid

      thanks John-oh. can u help me with the first question:

      I want to know like doing that being inactive 4 or 5 minutes the application jumps to the page
      of beginning.

      Comment


      • #4
        Re: I need aid

        There are a couple of was this could be done. You could use Corey's Flash Timer and everytime a user presses a button have it reset the timer back 4-5 minutes. But when it reaches 0 have it execute the page.jump action to what ever page you need.

        The same thing could be done without flash where you set a variable and once again reset the time in the variable to the 4-5 minute mark. If ever reached it would do the same as above.

        I think the Flash would be better to work with.

        I also think that if you search for Kiosk you might find some articles on the same thing. People have discussed the same function with kiosks.

        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

        Comment

        Working...
        X