Wednesday, May 16, 2012

Taking screen capture in HTC One X

A simple trick to capture your screen in HTC One X which I got from here - press and hold power button and then press . The screen is saved in the Camera shots album in Gallery. And you don't need to install anything  from Google Play!

Wednesday, May 9, 2012

Pass server side javascript code to custom control

Some time back I was trying to pass server side javascript to a custom control and then get the code executed from click of a button inside the custom control. With help from Sven Hasselbach I was able to do it. But the problem in that approach was that your entire code has to written in a string literal which denies you the flexibility of the javascript editor. Experimenting a bit more I stumbled on another solution which I think is better.

For custom control property select Type as "Simple Actions > Execute Script".

Tuesday, May 1, 2012

Showing additional controls in your Domino Designer

By default the Domino Designer only shows limited controls in Controls view. Some controls have to be accessed from "Other..." like the Hidden input and Output script.

To show this controls in the Controls view go to "File > Preferences" in your Domino Designer.