Code: Select all
::@@::example@email.com
Code: Select all
::@@::example@email.com
Code: Select all
::@@::
send,example@email.com
use thisDUS wrote:Not working, and in notepad i get: send example@email.com
Code: Select all
::@@::
send,example@email.com
Code: Select all
::@@::send,example@email.com
So when you press @@ what happens ?DUS wrote:OK, now works in notepad, still not in a text field though.
Win 8.1; Running script as admin produces same results.
I've installed a newer Firefox version (now 30)- but same.
Other abbreviations work for Firefox?DUS wrote:In text field pressing @@ gives @@. A following space, space then backspace, tab... it still remains @@.
There are only 4-5 other abbreviations ATM in the script, all look like ::ABC::ABCDEF
No abbreviations work in Firefox. Hotstring SI doesn't even work in notepad. The code I used for SE (I didn't quite manage to get Kn to work):kwstas13 wrote:Other abbreviations work for Firefox?DUS wrote:In text field pressing @@ gives @@. A following space, space then backspace, tab... it still remains @@.
There are only 4-5 other abbreviations ATM in the script, all look like ::ABC::ABCDEF
At the moment I'm replying to you using my smartphone and I cannot test any script.
Also try to use these lines of code
#hotstring SE K1
#hotstring SI
Code: Select all
:se*:@@::example@email.com
Code: Select all
::@@::
clipboard:="example@email.com"
send ^v
Return
Manually I can paste, but the code won't paste in a text field.Guest wrote:Something is blocking ahk, have you tried start Firefox without addons as well? (help menu, restart with addons disabled).
Can you paste contentCode: Select all
::@@:: clipboard:="example@email.com" send ^v Return
Code: Select all
#IfWinActive ahk_class MozillaWindowClass
::@@::
send example@hotmail.com
#IfWinActive
Code: Select all
#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.
#IfWinActive ahk_class MozillaWindowClass
::@@::
SendInput example@hotmail.com
#IfWinActive
You have to test these scripts I suggested you. The first is a bit different from the other. Try the first one and if it's not working test the second. These are different scripts and you mustn't run then together they are different codes so create a script with the first code I gave you and if not work make another script with the second code I gave and try again. Run only one script at timeDUS wrote:@guest, Absolutely not a silly question as I know nothing about coding, but sure do know a thing or two about making silly mistakes. I'm typing @@ in the text field (let's say Gmail's login field for example) if that's what you mean by focus, then spacing, tabbing, spacing-back spacing etc in attempts at "activating" it.
@kwstas, I just copy pasted both of your suggestions as-is, so if you expected me to manipulate them in any way then I didn't quite understand that - please excuse my ignorance. Running both scripts that way didn't work.
Users browsing this forum: JKJadan and 261 guests