I have Google Chrome (GC) configured to open whatever tabs were previously opened when the browser was closed. This setup is great since I often have 10-20 tabs open, and reopening them 1 by 1 would be a pain.
Unfortunately, what happens is that sometimes I'll have 2 separate GC windows open, usually one of them with 20 different tabs (let's call it A) and another with only 1 tab (called B).
A problem occurs if I close the window A first and then window B. Since GC only remembers the tabs on the last window (B) that was closed, when I restart GC it gives me the tabs from window B. Bummer.
There is another feature in GC that let's you open a closed tab. The keyboard shortcut is Cntl-shift-Tab. When you accidentally close a tab, just type the keyboard shortcut and it reopens the closed tab.
And now for the cool part....
When you open GC, if you type Cntl-shift-Tab, it reopens a closed tab from even before you closed the browser. I my case above, when GC is restarted, window B opens. If I type Cntl-shift-Tab, it opens browser window A that was closed!
Tuesday, August 30, 2016
Wednesday, August 24, 2016
Count the Number of Words using JavaScript in Adobe Acrobat |
This is the best hack that I've come across in the last several years.
Many times I wanted to count the number of words in a PDF document. The normal way to do this task is to save the file as a Word doc and then open it in MS Word that calculates the count. You can also upload your file to an online site that will count it (although most companies would probably frown upon sending your precious data to some random 3rd party site).
Today I stumbled across an Adobe forum thread that said that Acrobat can run JavaScript. Hmmm... And then I found another site that explains how to create a custom tool in Acrobat. Put these two together and you get a toolbar button in Adobe Acrobat to count the number of words in the doc.
Here's how to make it work. Note that this is for Acrobat DC.
Many times I wanted to count the number of words in a PDF document. The normal way to do this task is to save the file as a Word doc and then open it in MS Word that calculates the count. You can also upload your file to an online site that will count it (although most companies would probably frown upon sending your precious data to some random 3rd party site).
Today I stumbled across an Adobe forum thread that said that Acrobat can run JavaScript. Hmmm... And then I found another site that explains how to create a custom tool in Acrobat. Put these two together and you get a toolbar button in Adobe Acrobat to count the number of words in the doc.
Here's how to make it work. Note that this is for Acrobat DC.
- Open Acrobat.
- Click Tools.
- Click Action Wizard.
- In the button list under the toolbar, click New Custom Command.
This window opens:
- Click Execute JavaScript.
- Change the Label to something useful, like "Count words in document".
- Change the Tool tip to something useful, like "Counts the number of words in the current document".
- Click Command Options...
- Paste in the following code:
/* Count number of words in document */
var cnt = 0;
for (var p = 0; p < this.numPages; p++) cnt += getPageNumWords(p);
app.alert("There are " + cnt + " words in this file.");
- Click OK.
- Click Don't show options, options are always the same.
- Click OK.
- Right-click in a blank part of the toolbar.
- Click Customize Quick Tools.
- Expand the Action Wizard section.
- Find your new command and select it.
- Click the Add to Toolbar button on the right side of the window.
- Click Save.
Sunday, February 28, 2016
List of Conferences for 2016 |
Over at Firehead, they have a nice list of conferences for this year. Go to one. Learn something new. Schmooze with people. See their site for more details.
FEBRUARY
- Agile Content Conf, London, UK, 1 February 2016
- Webstock, Wellington, New Zealand, 9-12 February 2016
- XML Prague, Czech Republic, 11-13 February 2016
- Mobile Trends Conference, Krakow, Poland, 17-19 Feb 2016
MARCH
- ClickZ Live, London, UK, tbc Spring 2016
- Intelligent Content, Las Vegas, US, 7-9 March 2016
- SXSW Interactive, Austin, US, 11-15 March 2016
- An Event Apart, Nashville, US, 14-16 March 2016
- Social Media Marketing World, San Diego, US, 17-19 March 2016
APRIL
- MadWorld, San Diego, US, 10-12 April 2016
- Click Z Live, New York, US, 11-13 April 2016
- TCeurope Colloquium 2016, Porto, Portugal, 15 April 2016
- Digital Media Europe, Vienna, Austria, 20-22 April 2016
- Intra.NET Reloaded 2016, Berlin, Germany, 28-29 April 2016
MAY
- J.Boye Philadelphia, Philadelphia, US, 3-5 May 2016
- The IA Summit, Atlanta, US, 4-8 May 2016
- Adobe Digital Marketing Summit EMEA, London, UK, 11-12 May 2016
- STC Technical Communication Summit, Anaheim, US, 15-18 May 2016
- Confab Central, Minneapolis, US, 18-20 May 2016
- UXLx: User Experience Lisbon, Portugal, 24-27 May 2016
JUNE
- Augmented Reality World Expo (AWE), Santa Clara, US, 1-2 June 2016
- Content Marketing Academy, Edinburgh, Scotland, 2-3 June 2016
- PePcon 2016, San Diego, US, 5-8 June 2016
- LavaCon Dublin, Ireland, 5-7 June
- UA Europe, Budapest, Hungary, 9-10 June 2016
- Interop London, London, UK, 21-22 June 2016
JULY
SEPTEMBER
- Content Marketing World, Cleveland, US, 6-9 September 2016
- Confab Intensive, Seattle, US, 19-21 September 2016
- EuroIA, Amsterdam, Holland, 22-24 September 2016
- Technical Communication UK, UK, tbc 2016
OCTOBER
- Content Strategy Forum, Melbourne, Australia, 5-7 October 2016
- WebVisions, Berlin, Germany, 26 October 2016
- LavaCon Las Vegas, US, 26-29 October 2016
- WebVisions, London, UK, 29 October 2016
NOVEMBER
Subscribe to:
Posts (Atom)