tag:blogger.com,1999:blog-16213456.post3199414791010669856..comments2023-10-30T02:06:50.987-07:00Comments on Agile Musings: Gmail Edit Link Shortcut KeyRichard Algerhttp://www.blogger.com/profile/08921970283086332560noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-16213456.post-74490259953192617162011-11-07T11:32:45.214-07:002011-11-07T11:32:45.214-07:00Beriukay nailed it with the ImageSearch command in...Beriukay nailed it with the ImageSearch command in Autohotkey. Note that you'll have to change the image though if you've switched over to the new layout. I also had to modify the IfWinActive field to reflect the Google Apps nature of my gmail account, but after doing this, I found the script to be a sound and reliable way of adding a shortcut key to the create link pop up. Big props to Beriukay for solving a problem Google doesn't seem willing to solve.Masteringhttp://www.vaultmastering.comnoreply@blogger.comtag:blogger.com,1999:blog-16213456.post-91636156054867462492011-09-16T13:10:42.410-07:002011-09-16T13:10:42.410-07:00After a bit of work, and help from the forum, I ca...After a bit of work, and help from the forum, I came up with a much better script. It requires a little work, but it isn't hard.<br /><br />What you need to do is take a screenshot of the link button, and save this image in the same directory as the script you'll be using. It is important to have the image be roughly the same dimensions as the button itself, and to save the file as a .bmp or .png. If you name it anything other than my creatively chosen "link.png", you will have to make that change in the script, too, on the line that says ImageSearch.<br /><br />Then all you need is to get this script running:<br /><br /><br />SetTitleMatchMode, 2<br /><br />;CTRL+K pastes a link into the edit link button in gmail.<br />;If it can't find the button, it will tell you<br />#IfWinActive, @gmail.com<br /> ^k::<br /> ImageSearch, FoundX, FoundY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, link.png<br /> If Errorlevel = 0<br /> FoundX := FoundX + 10<br /> FoundY := FoundY + 10<br /> Click %FoundX%, %FoundY%, left<br /> Send, ^v<br /> If Errorlevel = 1<br /> MsgBox Could not find the Link button.<br /><br /> return<br />#IfWinActiveBeriukayhttps://www.blogger.com/profile/10359313474755091331noreply@blogger.comtag:blogger.com,1999:blog-16213456.post-75970166602663345282011-09-07T02:18:16.781-07:002011-09-07T02:18:16.781-07:00I know this is long overdue, and maybe you've ...I know this is long overdue, and maybe you've found something better, but I haven't. So I tried my hand with an Autohotkey script, which can at least get the job done. You will have to change the MouseClick command to suit your needs, and change it every time you adjust your browser.<br /><br />WinWaitActive, Compose Mail<br />^k::<br />MouseClick, left, 390, 383<br />Sleep, 100<br /><br /><br />For those who know less about Autohotkey than I do, the WinWait makes sure you are actually actively typing in a window with the title that generally goes along with composing an email. The ^ is used to denote the ctrl key. There are ways to tell your mouse click location, but I used the Script Reader (Writer) that goes along with autohotkey. I'm not sure the Sleep command is strictly necessary.Beriukayhttps://www.blogger.com/profile/10359313474755091331noreply@blogger.comtag:blogger.com,1999:blog-16213456.post-55059442105662292772008-11-09T12:34:00.000-07:002008-11-09T12:34:00.000-07:00Good idea! I'll love to have a Link Shortcut too! ...Good idea! I'll love to have a Link Shortcut too! <BR/><BR/>In fact, I found your Blog seaching "gmail link shortcut" in google ;-)<BR/><BR/>Let's hope gMail hear us :)lauriehttps://www.blogger.com/profile/05373299550357000112noreply@blogger.com