Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Right Paddock21213
20 discussion posts
I don't want to use a pinned item shortcut because I have better uses for them. I am thinking it might be best done with a macro, but I'm not a C# or Basic programmer.

I like to be able to press ctrl+Alt+. and get the inserted - in a document, in a text file, in a file rename - anywhere.

Thanks a lot.
Jun 27, 2019 (modified Jun 27, 2019)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You can do this with a Macro, yep! Try importing the attached Macro and set a hotkey on it, it should do the trick.

Thanks!
• Attachment: Paste ellipsis.cfmacro [2,624 bytes]
Jun 28, 2019  • #2
User Image
Right Paddock21213
20 discussion posts
Almost perfect, but I meant a real ellipsis 'U+2026' not three dots, easily fixed of course :) Thanks a lot.

I really should take the time to learn more about CF, I doubt I use more than 5% of its functionality. Old assembler and C programmer here, so the fact that it uses C♯ will help. I used to say it as 'C crunch', it was years before I discovered it was meant to be said as 'C sharp' :laugh:

Cheers RP
Jun 28, 2019 (modified Jun 28, 2019)  • #3
User Image
Right Paddock21213
20 discussion posts
I've noticed the paste doesn't happen until I release the ctrl and alt keys - is there some way to overcome that.

FX: if I create macros for em and close curly brackets I would give them short cuts of ctrl+alt+" and ctrl+alt+-; and I'd hold the ctrl and alt keys down when typing the - and ", but I wouldn't see anything until I released them - FYI: blah blah—” indicates interrupted speech

I tried Input.SendKeys rather than Clipboard.PasteText -- but that didn't work.

Thanks
Jun 29, 2019  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There isn't a way to have it run before the keys are released, no. The issue there is that if the Macro is typing text or sending other input, the modifier keys being held could affect that input. Sorry!
Jun 29, 2019  • #5
User Image
Right Paddock21213
20 discussion posts
That's shame - I was hoping to avoid using AHK.

Thanks
Jul 3, 2019  • #6
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)