Thread: Possible bug?
View Single Post
Old 09-17-2021, 02:54 PM   #140
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,852
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
And as names/actions for clips are user assignable and easily changed, using that approach would end up with something broken just as easily.

You are assigning a shortcut to clip number 1's actions, not assigning a shortcut to an action or name.
As Diap says, if we reorganize the clips, we lost all our shortcuts.

In the sigil_clips.ini there are the names and the numbers of the clips and in Sigil.ini, we have the associated shortcut to the clip numbers. So, maybe it could be possible to assign, in Sigil.ini (or in another .ini file), where we can read, for example,

120\id=MainWindow.Clip1
120\keySequence=Ctrl+Num+*

the "id" to the name of the Clips that are stored in sigil_clip.ini. Maybe an asociation between MainWindow.Clip1 and the respective name in the sigil_clip.ini could do the trick.
RbnJrg is offline   Reply With Quote