Let’s look at two ways of updating your status at Twitter besides navigating to Twitter.com site itself and posting there. In both these methods, the current web page title and the URL (shortened at TinyURL automatically) will get filled in the posting window.

Twitter Window in Chrome

Method 1: Bookmarklet

Add this Twitter now bookmarklet to Chrome’s bookmarks. Simply drag the link to your bookmarks and click on it whenever you want to micro-blog at Twitter.

Method 2: Keyboard shortcut

Press Ctrl+Alt+T.

For this, first install AutoHotKey, then save this ChromeToTwitter.ahk file and run it.

Interested in the code of this .ahk file? here it is:

; ^ = Ctrl, ! = Alt, + = Shift, # = Win
; Author: Sridhar Katakam (http://www.howtotuts.com/)

#NoEnv  ;Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance force
SendMode Input  ;Recommended for new scripts due to its superior speed and reliability.

#IfWinActive ahk_class Chrome_XPFrame

; Posting To Twitter start
^!t:: ;Ctrl+Alt+t ('t' for twitter).

clipboard= ;Empty clipboard
clipboard = javascript:void(open('http://www.myopiclunacy.com/twitit.php?title='+escape(document.title)+'&text='+escape(document.selection?document.selection.createRange().text:(window.getSelection?window.getSelection():(document.getSelection?document.getSelection:'')))+'&url='+escape(location.href),'twitIt','scrollbars=no,width=550,height=250,top=175,left=75,status=yes,resizable=yes')) ;Twitter bookmarklet code
ClipWait, 2 ;Set max seconds (to 2) to wait for until clipboard contains data
Send, !d ;Focus address bar
Sleep, 500 ;Pause half a second
Send, ^v{Enter} ;Paste Twitter bookmarklet URL and press enter
WinWait, Twitter - Google Chrome ;Wait till the posting window appears
WinMove, Twitter - Google Chrome, ,(A_ScreenWidth/2)-(275),(A_ScreenHeight/2)-(125) ;Center the posting window
clipboard = ;Empty the clipboard
Return ;Done
; Posting To Twitter end

#IfWinActive

We hope you found this how-to helpful. Please social bookmark this tutorial and help us and others. Thanks in advance.

Related posts:

  1. How to post to Twitter from Executor
  2. How to accelerate bookmarking to delicious from Chrome
  3. How to paste and go in Chrome using keyboard
  4. How to set keyboard shortcuts in Chrome

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , ,

This post has no comments yet. Why not kick start the discussion?

Close
E-mail It