There is no "{space}".serendipity wrote:@Don: Why doesn't this work?Code: Select all
focus; sendkeys "{space}";
Code: Select all
focus;
sendkeys " ";
There is no "{space}".serendipity wrote:@Don: Why doesn't this work?Code: Select all
focus; sendkeys "{space}";
Code: Select all
focus;
sendkeys " ";
admin wrote:There is no "{space}".Try this:
Code: Select all
focus; sendkeys " ";
Code: Select all
//1) Focus List
focus;
//2) Set JPG folder path. Change only <curpath>\jpg
$jpgfile="<curpath>\jpg\*<curbase>*.jpg";
//Note: Since the <curbase> has * on both sides above, the first .jpg file resembling the selected .mp3 file will be opened. Safest would be to remove both *s from <curbase> and rename your jpgs to match exactly with mp3s.
//3) Send "space" to XY. will start to play the selected file
sendkeys " ";
//4) Open the corresponding JPG file with IrfanView
run """C:\Program Files\IrfanView\i_view32.exe"" $jpgfile";