Code: Select all
; Path to an image file
image_path := "D:\slideshow\images\Ancient Paintings\Games in honor of Patroclus during his funeral - Carle Vernet, 1790.jpg"
; Path to image viewer
viewer_path := "C:\Program Files\BandiView\BandiView.exe"
; Powershell command
Run, PowerShell "& viewer_path viewer -fullscreen -r -ss:30 image_path",, Hide
If I run this command in powershell, it works:
Code: Select all
& "C:\Program Files\BandiView\BandiView.exe" viewer -fullscreen -r -ss:30 "D:\slideshow\images\Ancient Paintings\Games in honor of Patroclus during his funeral - Carle Vernet, 1790.jpg"