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

netrate

New member
Member
VIP
Local time
1:26 AM
Messages
174
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 My Computer

At a glance

Win 7 dual boot with win 1016gigGTX
Computer type
PC/Desktop
OS
Win 7 dual boot with win 10
Motherboard
Gigabyte GA-970A-d3
Memory
16gig
Graphics Card(s)
GTX
Monitor(s) Displays
3
Hard Drives
500 gig ssd Samsung
Hi netrate, perhaps posting the batch code might help find a solution!
 

My Computer My Computer

At a glance

Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux...Intel(R) Pentium(R) CPU P6200 @ 2.13GHz4.00 GBIntel(R) Graphics Media Accelerator HD
Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
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 My Computer

At a glance

Win 7 dual boot with win 1016gigGTX
Computer type
PC/Desktop
OS
Win 7 dual boot with win 10
Motherboard
Gigabyte GA-970A-d3
Memory
16gig
Graphics Card(s)
GTX
Monitor(s) Displays
3
Hard Drives
500 gig ssd Samsung
anyone? Did I give enough info on this?
 

My Computer My Computer

At a glance

Win 7 dual boot with win 1016gigGTX
Computer type
PC/Desktop
OS
Win 7 dual boot with win 10
Motherboard
Gigabyte GA-970A-d3
Memory
16gig
Graphics Card(s)
GTX
Monitor(s) Displays
3
Hard Drives
500 gig ssd Samsung

My Computers My Computers

  • At a glance

    Windows 7 HP 64i5 6600K - 800MHz to 4200MHz4+4G GSkill DDR4 3000IG - Intel 530
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • At a glance

    Windows 7 Proi7-4500U 800MHz to 3.0GHz(4+4)G DDR3 1600IG intel 4400 + NVIDIA GeForce GT 745M
    Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
Back
Top