Hi,
Is there a way to add a shortcut to swap fill and stroke?
I use it a lot so that would be realy welcome. I know you can add shortcuts to the xml but then you seem to also have to program in other docs and I don't have any experiance with that.
thanks!
swap fill and stroke shortcut
Re: swap fill and stroke shortcut
Hi,
maybe you are searching for Ragnar's extension?:
Swap Palette Colors - Extension
Personally I have never used colour swapping in my works so can only hope it is what you are after.
maybe you are searching for Ragnar's extension?:
Swap Palette Colors - Extension
Personally I have never used colour swapping in my works so can only hope it is what you are after.
Re: swap fill and stroke shortcut
Hi Lazur URH! Thanks, though that seems like an extention that you have to activate form a menu. I'm more just looking for a shortcut on keyboard to activate the Swap Fill and Stroke of an object. The only way to do it now is left-click on the fill and stroke style indicator (left bottom) and then choose the option from the pop up menu.
- fillotassi
- Posts: 19
- Joined: Wed Sep 06, 2017 11:47 pm
- Location: Italy
- Contact:
Re: swap fill and stroke shortcut
Hi itchi,
have you found a way to set this shortcut?
I would find it useful too, if possible
have you found a way to set this shortcut?
I would find it useful too, if possible
Re: swap fill and stroke shortcut
fillotassi, I just answered your other message.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: swap fill and stroke shortcut
Hi Fillotassi, it'S been a while since this post but there's an option for that:
select an object, then right click on the little color and stroke view (left bottom screen) and select 'swap fill and stroke' from the popup.
Hope this helps!
select an object, then right click on the little color and stroke view (left bottom screen) and select 'swap fill and stroke' from the popup.
Hope this helps!
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: swap fill and stroke shortcut
In windows, a keyboard shortcut can be programmed using Autohotkey.
Code: Select all
;This script designed exclusively for Inkscape to swap object stroke and fill color, by invoking the context menu of the style in the status bar.
;Works only when the Inkscape window is close enough to the bottom of the screen (or fullscreen), so context menu extends upwards.
;The hotkey is currently programmed for Ctrl+F3, see Autohotkey.com documentation to change.
;Offered with no guarantee, it might not work for you, use at your own risk.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^F3::
RightClickFromBottomLeft(80,20)
LeftClickFromBottomLeft(100,110)
return
RightClickFromBottomLeft(_X,_Y){
CoordMode, mouse, Relative
WinGetActiveStats, Title, width, height, x,y
_X := _X
_Y := height - _Y
Click %_X%, %_Y%, right
}
LeftClickFromBottomLeft(_X,_Y){
CoordMode, mouse, Relative
WinGetActiveStats, Title, width, height, x,y
_X := _X
_Y := height - _Y
Click %_X%, %_Y%,
}
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/