Posted: Mon 04 Mar 2013, 15:09 Post subject:
ROX-Filer release of SELECTIONS using Script ? Subject description: Xdotool works but I'm looking for something lighter
Hi
I am dumping rox-selection-paths by middle-mouse to an entrybox.
The rox-selections stays sticky - after the dump - which I somewhat
consider a nuisance,but not a bug.Rox version 2.9.
On dumparrival,using xdotool to send an escape-key to the Rox-window, I can release,clear selections.
However - xdotool is "external" and somewhat heavy -bytewise- just for this .
So the question:
Is there another way,mechanism to - from a script -make ROX clear selections?
Visible windows with titles starting with "home" or / will get an Escape key.
( Note: Also minimized windows can carry a selection )
That is somewhat of an overkill - because on receiving data - the script COULD deduct the parent-path to the directory in which the selections occurred.
However - ROX craves user-action to free selections -
and with a hectic selection activity on several windows - there may be
1) stale,dimmed selections
2) the actual last selection -which is in the clipboard
Dead selections are a nuisance,when forgotten - and f.x. a right-click in a filer-window with dead-selections might give rise to a WTF-moment.
So for now:
Sending out a spree of Escapes makes for a saner world.
The extra coding needed for a dedicated solution does not really seem worth it.
But still - xdotool has to be around - so another -,"in residence" - way would be preferable.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum