440Forums.com  |  MacMusic.org  |  PcMusic.org  |  Zicos.com  |  AudioLexic.org
speed   {key13}


Use Script Editor to develop bookmarklets

MacOsxHints

Thursday May 8, 2008. 04:30 PM
MacOsxHints

If you're developing a non-trivial bookmarklet you may be able to speed up your edit cycle by having an applescript which executes the javascript in your browser, like this:tell application "Safari" activate do JavaScript " // Of course your bookmarklet code goes here, for example... alert('hello world'); " in front documentend tellI just edited the Javascript in Script Editor and hit the run button to test. Just be careful of using double quotes, and you can postpone escaping the script and adding it to your bookmarks until the very end.
you
Use Script Editor to develop bookmarklets Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/286119640/article.php

 

 Related News 
Free Time Machine Editor does one thing and does it well, Ala... Free Time Machine Editor does one thing and does it well, Ala...
 Low End Mac 05/12/08 04 PM 
Syncro Soft Announces New Release of Oxygen XML Editor. Syncro Soft Announces New Release of Oxygen XML Editor.
 Mac Megasite 05/09/08 02 PM 
Freeway Web site editor adds RSS Feed action Freeway Web site editor adds RSS Feed action
 Mac Central 05/08/08 05 PM 
Opacity 1.1: A Graphic Editor For the Screen Opacity 1.1: A Graphic Editor For the Screen
 AppleLinks 05/08/08 06 AM 
Script Software offers CopyPaste Pro beta Script Software offers CopyPaste Pro beta
 MacNN 05/06/08 08 AM 
Pixelmator - Powerful Core Image-based image editor Pixelmator - Powerful Core Image-based image editor
 MacOsxHints 05/05/08 04 PM 
Script Software Intros CopyPaste Pro Script Software Intros CopyPaste Pro
 TheMacObserver 05/05/08 02 PM 
PC Magazine reviews Apple?s new 24-inch iMac: Editor?s Choice... PC Magazine reviews Apple?s new 24-inch iMac: Editor?s Choice...
 Mac Daily News 05/02/08 05 PM 
CNET reviews Apple?s new 24-inch iMac: Editor?s Choice, Best ... CNET reviews Apple?s new 24-inch iMac: Editor?s Choice, Best ...
 Mac Daily News 05/02/08 03 PM 
Tumult Co. Releases Hyperedit 1.6 HTML And PHP Editor Tumult Co. Releases Hyperedit 1.6 HTML And PHP Editor
 AppleLinks 05/01/08 07 AM 
HyperEdit HTML/PHP editor improves Leopard support HyperEdit HTML/PHP editor improves Leopard support
 Mac Central 04/30/08 06 PM 
Oscar-Winning editor Walter Murch credits FileMaker Pro as ke... Oscar-Winning editor Walter Murch credits FileMaker Pro as ke...
 Mac Daily News 04/30/08 05 PM 
Infovox iVox 1.2 Adds New Voices And A Pronunciation Editor Infovox iVox 1.2 Adds New Voices And A Pronunciation Editor
 AppleLinks 04/30/08 07 AM 
Research in Motion to develop for iPhone? Research in Motion to develop for iPhone?
 MacNN 04/29/08 06 PM 
Enter SIM card PIN via script for Huawei 3G USB modems Enter SIM card PIN via script for Huawei 3G USB modems
 MacOsxHints 04/29/08 04 PM 
10.5: Eject drives and run iSync before sleep via script 10.5: Eject drives and run iSync before sleep via script
 MacOsxHints 04/25/08 04 PM 
PC Mag reviews Apple?s Mac OS X 10.5.2 Leopard: Editor?s Choi... PC Mag reviews Apple?s Mac OS X 10.5.2 Leopard: Editor?s Choi...
 Mac Daily News 04/25/08 03 PM 
Smultron 3.5 Powerful And Easy To Use Free Text Editor Smultron 3.5 Powerful And Easy To Use Free Text Editor
 AppleLinks 04/18/08 07 AM 
Automatically update WebKit via script and launchd Automatically update WebKit via script and launchd
 MacOsxHints 04/15/08 04 PM 
Kaplan And Aspyr To Develop SAT Education Title Kaplan And Aspyr To Develop SAT Education Title
 InsideMacGames 04/15/08 03 PM 
FmPro Script Diff 1.15 Updated for MacOS X Leopard FmPro Script Diff 1.15 Updated for MacOS X Leopard
 AppleLinks 04/14/08 03 PM 

Search

Mac Zicos
Sat May 17, 06:11 AM
speed   {key13}