Windows 7 - using Chrome and Jpegs together and need some advice.


  1. Posts : 171
    Win 7 dual boot with win 10
       #1

    Windows 7 - using Chrome and Jpegs together and need some advice.


    I am running a batch file that opens a series of JPEGs. At a certain point, the jpg need to minimize and the chrome website needs to be on top. The process repeats with the chrome website sliding underneath the jpgs.
    At present, I have a method that works like this (and it does work well):

    1) jpgs open in sequence (using a batch file) - on timer
    2) chrome opens (jpgs slide underneath) - on timer
    3) batch file command TASKKILL all jpgs
    4) batch file command to TASKKILL chrome
    5) repeat

    This work. I repeat, this works. BUT...

    Here is the issue. When chrome reopens (when it repeats), it says "Chrome did not close correctly" and the pop-up error windows look terrible. I am trying to avoid this. So I was thinking about keeping the CHROME page open at all times and have the jpegs slide over top of it:

    1) chrome page is open underneath when starting
    2) Jpgs open over top of the chrome page (on timer)
    3) chrome page (which is already open) moves on top of the jpgs (on timer)
    4) batch file command to TASKKILL all jpgs
    5) repeat (do not kill chrome)

    Any ideas of how to accomplish this? Suggestions?
      My Computer


  2. Posts : 6,021
    Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
       #2

    Hi netrate, perhaps posting the batch code might help find a solution!
      My Computer


  3. Posts : 171
    Win 7 dual boot with win 10
    Thread Starter
       #3

    Here is the batch file that displays the information on the screen, plus chrome :

    Code:
    echo off
    cls
    START "" "c:\Program Files\IrfanView\i_view64.exe" "g:\ad2.jpg" /fs
    TIMEOUT /T 30
    START "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://dakboard.com/app"
    TIMEOUT /T 30
    START "" "g:\restart.bat
    timeout 2 >nul /b
    exit
    Here is the second batch file to restart everything plus shut down old instances. I used to have Firefox , but I was running into the same problem with SAFE SHUTDOWN of the program that I am having with Chrome.


    Code:
    echo off
    cls
    START "" "c:\Program Files\IrfanView\i_view64.exe" /killmesoftly
    
    REM taskkill /F /IM firefox.exe /T
    taskkill /F /IM chrome.exe /T
    
    
    TIMEOUT /T 5
    START "" "g:\runtv.bat"
    timeout nul>2
    exit
      My Computer


  4. Posts : 171
    Win 7 dual boot with win 10
    Thread Starter
       #4

    anyone? Did I give enough info on this?
      My Computer

  5.   My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:34.
Find Us