Is it possible to configure AHK and to assign a hotkey for a special paste? So that the first letter of the copied text will be deleted? I work with Russian and Hebrew texts.
Thank you.
Delete the first letter?
- JoeWinograd
- Posts: 2198
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Delete the first letter?
I've never worked with Hebrew or Russian text, but I tested the following script in English and it works fine:
I made the hotkey for the special paste Alt+Ctrl+v, but make it whatever you want. Regards, Joe
Code: Select all
!^v::
If (Clipboard<>"")
{
Clipboard:=SubStr(Clipboard,2)
SendInput ^v
}
Return
Re: Delete the first letter?
Hi, thank you for the answer. It does not work for me, also in English not.
- JoeWinograd
- Posts: 2198
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Delete the first letter?
It works perfectly here. Please post the exact script that you're using.
What version of AHK do you have? What version of Windows?
What version of AHK do you have? What version of Windows?
Re: Delete the first letter?
I changed it to a different hotkey and now it works. Thank you for that!
- JoeWinograd
- Posts: 2198
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Delete the first letter?
You're welcome. I'm glad to hear that it works now. Regards, Joe
Who is online
Users browsing this forum: aitaixy, Anput, dangoscrub, Google [Bot], joedf, Nerafius and 159 guests