tag:blogger.com,1999:blog-91156446058333841382024-03-13T21:16:17.380+01:00X de XavierUnos y ceros. A veces, en el orden adecuado.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-9115644605833384138.post-22992039334772395932009-01-19T17:30:00.006+01:002009-01-19T17:57:27.493+01:00A button to make it simpler to paste notes: urlsI often paste links to Lotus Notes documents (mostly mail messages) in my tiddlywikis. Creating a toolbar button that puts the notes: url in a field makes it simpler. Unfortunately, LotusScript does not provide a way to access the clipboard, so you have to manually select the text and copy it there.<br />Create a new toolbar button and paste this code inside:<br /><div style="overflow: scroll;"><pre><br />dn := @Subset(@DbName; 1);<br />linkType:= "Document";<br />nsfPath := @WebDbName;<br />qualifiedHost := @If(@Length(dn) = 0; ""; @DbLookup("":""; dn:"names.nsf"; "($ServersLookup)"; dn; "SMTPFullHostDomain"));<br />dbUrl := "Notes://" + qualifiedHost+ "/" + nsfPath;<br />viewUrl := dbUrl + "/";<br />docUrl := viewUrl + "/" + @Text(@DocumentUniqueID);<br />docTitle := @If(@IsAvailable(Subject);Subject;@IsAvailable(Title);Title;@IsAvailable(FullName);FullName;@Name([CN];@Author));<br />clipboardTxt := "[[" + docTitle + "|" + docUrl + "]]";<br />@Prompt([OkCancelEdit]; "TiddlyWiki link"; "Copy the text below to the clipboard."; clipboardTxt)<br /></pre></div><br />I posted this long ago in my intranet blog, and looks that can also be useful outside. The code was adapted from something that <a href="http://mrfeinberg.com/">Jonathan Feinberg</a>, of <a href="http://www.wordle.net/">Wordle</a> fame, wrote for a then young and great <a href="http://www.ibm.com/software/lotus/products/connections/dogear.html">Dogear</a>, a bookmarking service that ended up being one of the key components of <a href="http://www.ibm.com/software/lotus/products/connections/">Lotus Connections</a>.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-9198002228927379282006-12-01T16:25:00.000+01:002006-12-01T16:26:22.372+01:00(Lotus) Ventura(Del lat. <span style="font-style: italic;">ventura</span>, pl de <span style="font-style: italic;">venturum</span>, lo por venir)<br /><br />Tras unas semanas de morderme las uñas para no escribir sobre el próximo Lotus Ventura, ¡<a href="http://andypiper.wordpress.com/2006/12/01/ventura-is-revealed/">ya se puede</a>! Otro día escribiré más sobre Ventura, pero me hace muchísima ilusión que se conviertan en un producto de IBM cosas que he visto nacer, que he utilizado mientras todavía estaban en pañales, a las que les he abierto incidentes y propuesto mejoras, de las que he mirado los fuentes, con algunos de cuyos padres he charlado por teléfono e IM...-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0