help writing script or bookmarklet for chrome

hello eveyone
can someone help writing a little bookmarklet( if possible) to click speech input in chrome (michrophone little gray icon,in google.com for example)
the goal wold be the same as pressing ctrl + shit+. in windows but the problem the with mac the equivalent shortcut (cdm+shit+.) doesnt work anymore on chrome…

javascript:e=document.getElementsByClassName(‘x-webkit-speech’);for(i=0;i<e.length;i++){e[i].click();}void(0);

i tried with this but does nothging:)

thankssssssssss

ps a script would be fine too!

Command Shift Period still works for me …


tell application "Google Chrome" to activate
tell application "System Events"
    key code 47 using {command down, shift down}
end tell
delay 3

thanks for the idea but still doesn t work are you on mountain lion?
actually 10.8 uses shitf cdm period to show hidden files on save dialogue .