I need a script that will do :

Discussion in 'Programming' started by genius, Jun 18, 2013.

  1. #1
    Hello,

    I need some sort of software/script that can run on a computer without the need for a web connection, that can display jpg,png and also avi files in a order that i can select at a certain time.
    For ex. At 1.00 pm it shows 1.jpg , at 1.00.10 pm(for ex at 10 seconds) it shows 2.jpg and after another 20 sec. it will display 2.avi...and so on..
    If someone could give me some ideas ...or maybe if someone could do it and give me a quote..
    Thanks.
     
    genius, Jun 18, 2013 IP
  2. ActiveFrost

    ActiveFrost Notable Member

    Messages:
    2,072
    Likes Received:
    63
    Best Answers:
    3
    Trophy Points:
    245
    #2
    What for you need this? What platforms are you targeting?
     
    ActiveFrost, Jun 18, 2013 IP
  3. genius

    genius Well-Known Member

    Messages:
    535
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Windows... Basically I need a slideshow where I can select the time of the slide and how long it will remain on the screen, but I also have to be able to run let's say 3 pictures and after them an avi file, and after another 100 pictures..

    When I say windows, I mean that it doesn;t have to work on mobile devices..
     
    genius, Jun 18, 2013 IP
  4. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #4
    I hate to be this guy but...Windows Movie Maker.
     
    Last edited: Jun 18, 2013
    blueparukia, Jun 18, 2013 IP
  5. genius

    genius Well-Known Member

    Messages:
    535
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #5
    But in WIndows maker I can't select the hour..only if do the math and all slides will add up to a certain time.

    Other ideas ?
     
    genius, Jul 12, 2013 IP
  6. Original Hosting

    Original Hosting Active Member

    Messages:
    203
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    50
    #6
    Windows movie maker, then make a scheduled task in windows to open it at a certain time of day.
     
    Original Hosting, Jul 12, 2013 IP
  7. genius

    genius Well-Known Member

    Messages:
    535
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #7
    And a simpler way ..something like a script where I can select the hour the duration.. I also need it to be fullscreen...
     
    genius, Jul 12, 2013 IP
  8. Code Developer

    Code Developer Active Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    58
    #8
    You can try it with batch file.Below is one snippet which I found from YouTube might it would help you to achieve this:
    @echo off
    color 0c
    title Timer
    echo.
    echo                              Timer
    echo                            By Steven
    echo.
    echo.
    echo.
    pause
    set /a days=0
    set /a hours=0
    set /a minutes=0
    set /a seconds=0
    set /a sec=0
    set /a min=0
    set /a hour=0
    :menu
    cls
    echo This is where you can set the amount of time you want before the program
    echo executes your command.
    echo.
    echo  Days:%days% Press four to change.
    echo.
    echo  Hours:%hours% Press three to change.
    echo.
    echo  Minutes:%minutes% Press two to change.
    echo.
    echo  Seconds:%seconds% Press one to change.
    echo.
    echo After your done, type in done.
    set /p input=
    if %input%==1 goto changesec
    if %input%==2 goto changemin
    if %input%==3 goto changehours
    if %input%==4 goto changedays
    if %input%==done goto next
    cls
    goto menu
     
    :changesec
    cls
    echo.
    echo Type in the number of seconds you want the program to wait.
    echo.
    set /p seconds=
    if %seconds% gtr 60 goto error
    if %seconds%==60 goto addmin
    goto menu
     
    :changemin
    cls
    echo.
    echo Type in the number of minutes you want the program to wait.
    echo.
    set /p minutes=
    if %minutes% gtr 60 goto error
    if %minutes%==60 goto addhour
    goto menu
     
    :changehours
    cls
    echo.
    echo Type in the number of hours you want the program to wait.
    echo.
    set /p hours=
    if %hours% gtr 24 goto error
    if %hours%==24 goto addday
    goto menu
     
    :changedays
    cls
    echo.
    echo type in the number of days you want the program to wait.
    echo.
    set /p days=
    goto menu
     
    :next
    cls
    echo.
    echo What command do you want to enter when the countdown is finnished?
    echo.
    set /p command=
    :nextone
    cls
    echo.
    echo Press 1 to begin the countdown.
    echo.
    set /p input=
    if %input%==1 goto start
    cls
    goto nextone
     
    :start
    cls
    echo.
    echo  Days:%days%
    echo.
    echo  Hours:%hours%
    echo.
    echo  Minutes:%minutes%
    echo.
    echo  Seconds:%seconds%
    echo.
    echo The following command will be executed when the time is up:
    echo.
    echo                  %command%
    sleep 1
    if %seconds%==0 goto newsec
    set /a seconds=%seconds%-1
    goto start
     
    :newsec
    if %minutes%==0 goto newhour
    set /a minutes=%minutes%-1
    set /a seconds=60
    goto start
     
    :newhour
    if %hours%==0 goto newday
    set /a hours=%hours%-1
    set /a minutes=60
    goto start
     
    :newday
    if %days%==0 goto end
    set /a days=%days%-1
    set /a hours=24
    goto start
     
    :addmin
    set /a minutes=%minutes%+1
    set /a seconds=0
    goto menu
     
    :addhour
    set /a hours=%hours%+1
    set /a minutes=0
    goto menu
     
    :addday
    set /a days=%days%+1
    set /a hours=0
    goto menu
     
    :error
    cls
    echo.
    echo ERROR: You set the value too high! Please try again.
    echo.
    pause
    cls
    goto menu
     
    :end
    cls
    %command%
    exit
    
    Code (markup):
     
    Code Developer, Jul 12, 2013 IP
  9. pro2sell

    pro2sell Active Member

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    58
    #9
    hrrrmpf!

    but in fact, that's it ;)



    another thing is to use the scheduler in windoze or if you want it expensive then WinAutomation is another candidate
     
    pro2sell, Jul 12, 2013 IP
  10. genius

    genius Well-Known Member

    Messages:
    535
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #10
    I shall give it a try..and let you know how it turns out or if I encounter any problems. Thanks
     
    genius, Jul 13, 2013 IP