Page 1 of 1

Alt-Enter, wonderful shortcut and its improvment

PostPosted: Tue Nov 01, 2011 11:46 am
by viarm
Goldendict Ver: 1.0.1-145
OS: Vista Home Basic SP2

https://github.com/goldendict/goldendict/wiki/Useful-Shortcuts says:
Open translation in a new tab (from the translate line): Ctrl-Enter or Alt-Enter


it's NOT now. the shortcut of Alt-Enter could fire a simulated mouse click on the position of current {TAB} key. And therefore, it could play a sound/video if the position link a audio/video resource, and could open a new query relating to the word(phrase/thesaurus...etc) referred by current link in present tab as well.

Cool. :-)

Advice:
To play sound ONLY, it could be more faster If there were a way to skip the non-sound {TAB} positions, as simple show in below picture.

Skip-links.png


Thanks
------------------
Viarm

Re: Alt-Enter, wonderful shortcut and its improvment

PostPosted: Thu Nov 03, 2011 1:27 am
by ikm
Are you sure you were in "translate line" when you were pressing those shortcuts, the way the original entry was suggesting you?

Re: Alt-Enter, wonderful shortcut and its improvment

PostPosted: Thu Nov 03, 2011 3:21 am
by viarm
Thank you very much.
And in fact, it's RIGHT which says in https://github.com/goldendict/goldendict/wiki/Useful-Shortcuts. i was wrong. :oops:

In ''translate line":
1. {Alt-Enter} -> play the sound. (if set "auto-pronounce in main window" and sound resource is available.)
2. {Ctrl-Enter} -> "Open translation in a new tab (from the translate line)"

In current focused tab:
1. {TAB} -> sequently jump {TAB} key position one by one downwards
2. {Shift-TAB} -> sequently jump {TAB} key position one by one upwards
3. {Alt-Enter} -> fire a simulated mouse click at present {TAB} key position. No action if no {TAB} key focus.
4. {Ctrl-Enter} -> fire a simulated mouse click at present {TAB} key position and open a new tab. No action if no {TAB} key focus.


Show as picture below.

Alt[Cltr]-Enter.png

Re: Alt-Enter, wonderful shortcut and its improvment

PostPosted: Thu Nov 03, 2011 3:26 am
by ikm
Nice graphs!