Open aortega89 opened 1 month ago
Describe the bug When CopyQ starts the clipboard appears as 'EMPTY' so I tried to create a script command that runs at start and select the first entry to clipboard but nothing happen. The script is as follow:
var onStartPrevious = global.onStart global.onStart = function() { onStartPrevious() select(0) }
To Reproduce
[Command] Command=" var onStartPrevious = global.onStart global.onStart = function() { onStartPrevious() select(0) }" Icon=1 IsScript=true Name=Select first entry on Start
Expected behavior First entry should get selected and show in 'Clipboard'.
Screenshots
Version, OS and Environment CopyQ Clipboard Manager 8.0.0~mantic Qt: 5.15.10 KNotifications: 5.110.0 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Ubuntu 23.10
Additional context Not sure if related to this bug
Tried changing 'select(0)' with 'popup('Hello, World!');' and it works fine.
Describe the bug When CopyQ starts the clipboard appears as 'EMPTY' so I tried to create a script command that runs at start and select the first entry to clipboard but nothing happen. The script is as follow:
To Reproduce
Expected behavior First entry should get selected and show in 'Clipboard'.
Screenshots![imagen](https://github.com/hluk/CopyQ/assets/84877330/95fa7fe5-b549-493e-b429-f07faae4f8e5)
Version, OS and Environment CopyQ Clipboard Manager 8.0.0~mantic Qt: 5.15.10 KNotifications: 5.110.0 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Ubuntu 23.10
Additional context Not sure if related to this bug
Tried changing 'select(0)' with 'popup('Hello, World!');' and it works fine.