Posts Tagged ‘web’

SharedCopy Lets You Bookmark & Annotate Websites With Style

Although Diigo is more complete than regular social bookmarking sites and I truly like the toolbar, introducing it to my friends doesn’t mean they’ll necessarily be blown away by it. I know some of them don’t even use Delicious, or have any way to back up their bookmarks so they still keep them in long folders on their browsers. In other words, a full client like Diigo is just too much for them. For simpler annotating, I’ve found SharedCopy to be light and simple, particularly because all of its features are presented in no more than a bookmarklet.

web application – What is your suggestion for creating & sharing comments and/or highlighted texts of a web page? – Web Applications

There is a full list of tools you might be interested available here: http://www.makeuseof.com/tag/web-annotation-tools-research-annotate-collaborate/

Top Web Annotation Tools: Annotate+Bookmark+Collaborate

In case you never came across any ‘Web Annotation’ service before, than basically what it is, is a bookmarking tool (usually in the form of browser addon or bookmarklet) that allows users to annotate (add sticky notes, highlights, etc.) any desired webpage and store it online.

Layers – Google Chrome extension gallery

Cooler! You can share and see your friends shared stuffs!

How to run WinMerge to comapre 2 files when triggering from a hyperlink click?

Try the below scripts. Note that the web browser must allow Javascript and ActiveX to run.

<html>
<script type="text/javascript">
function runProgram()
{
var shell = new ActiveXObject("WScript.Shell");
var appWinMerge = "\"C:\\Program Files\\WinMerge\\WinMergeU.exe\" /e /s /u /wl /wr /maximize";
var fileLeft = "\"D:\\Path\\to\\your\\file\"";
var fileRight= "\"D:\\Path\\to\\your\\file2\"";
shell.Run(appWinMerge + " " + fileLeft + " " + fileRight);
}
</script>

<body>
<a href="javascript:runProgram()">Run program</a>
</body>
</html>


Another version with input argument for the function call:

<html>
<script type="text/javascript">
function runProgram(fileLeft, fileRight)
{
var shell = new ActiveXObject("WScript.Shell");
var appWinMerge = "\"C:\\Program Files\\WinMerge\\WinMergeU.exe\" /e /s /u /wl /wr /maximize";
shell.Run(
appWinMerge
+ " " +"\""+fileLeft +"\""
+ " " +"\""+fileRight +"\""
);
}
</script>
<body>
<a href="javascript:runProgram('Path\\to\\your\\file', 'Path\\to\\your\\file2');">Run program</a>
</body>
</html>


How to force opening a local HTML file by Internet Explorer?

<html>
<script type="text/javascript">
function runProgram()
{
var shell = new ActiveXObject("WScript.Shell");
}
</script>

</body>
</html>


Enjoy!

How can I run a program in a HTML script?

You cannot run programs directly in an ActiveX script however if you have Microsoft’s Windows Script Host (WSH) installed you can tell WSH to run it for you.

The following VBScript statements use WSH to start Internet Explorer with a command-line argument:

Dim shell
Set shell = CreateObject(“WScript.Shell”)
shell.Run “””C:\Program Files\Internet Explorer\IExplore.exe””http://www.vandyke.com

Here’s the same thing in JScript:

var shell = new ActiveXObject(“WScript.Shell”);
shell.Run(“\”C:\\Program Files\\Internet Explorer\\IExplore.exe\”http://www.vandyke.com“);

Note, the Run() function uses whitespace to separate program names from possible command-line arguments. In order to deal with paths with spaces it is necessary to add extra quotes in both languages to make it clear.

For information and downloads related to WSH look for the “Windows Script Host” section at:

http://msdn.microsoft.com/en-us/library/ms950396.aspx

Enjoy!