Page 1 of 1

Create new playlist

Posted: 16 Mar 2016 17:31
by moris
Hello,

I m trying to create this macro but I'm not able to do the \
every keyboard shortcut with special character is not allowed. so I'm trying to do it manually:
dtmacro.keyboard_shortcut("CTRL/WIN \")
but it returns an error. I m aware python doesn't interpret the backslash.
Your advice?
thx
Nico

Re: Create new playlist

Posted: 17 Mar 2016 10:39
by Holger
You need to "escape" the \ with another \ :-)

See last post here: viewtopic.php?f=9&t=38

Re: Create new playlist

Posted: 17 Mar 2016 14:46
by moris
Cool,
I tried \\ in the macro too but it didn't work.
Now with the macro provided, it's fine.
Thanks