Page 1 of 1

Bug at shortcuts

Posted: Jan 23rd, ’19, 10:35
by JJussi
Same code

Code: Select all

RunWait % "C:\Windows\SysNative\bash.exe -c /home/jjussi/randpass.sh > /mnt/c/temp/randpass.txt", , hide
FileRead, clipboard, "C:\temp\randpass.txt"
at "Start Menu" works fine, but not as "Shortcuts".

Both run that first "RunWait" commmand and result is saved to that temporary file. Only at "Start Menu" version, that result is read to the clipboard. With Shortcuts version, nothing is inserted to clipboard.

Re: Bug at shortcuts

Posted: Jan 25th, ’19, 08:34
by JJussi
I think that this "problem" is releated to viewtopic.php?f=4&t=808 because after writing file-name parameter (what have : \ ) again, it start working.