Entries Tagged as 'Tips and Tricks'

Adobe LifeCycle Designer and Tab Order A.K.A. Tab Index

Adobe LifeCycle , Gotchas , IDEs , Tips and Tricks No Comments »

I was creating a PDF form using Adobe LifeCycle Designer to collect some data from external users to be sent back for processing via ColdFusion.

Whilst doing so I came across a task that I thought would have been quite trivial / easy but I found it not to be that obvious so again in leiu of my last post I hope this saves someone from digging around to get the answer!

Firstly, I did what any other user would do in my situation and hit the F1 key to access the help.  My search results for "Tab Index" were proving unsuccessful until I discovered that LifeCycle refers to it as "Tab Order".  This made a huge difference and I was able to hone straight into the material I was after and was pleasantly surprised.

Anyway, in a nutshell here's what to do:

From the menu, select "View > Tab Order" - obvious I know but not really when you're looking through the object properties trying to find the damn thing!

The follow these steps:

  1. Hold Shift then click the object you want to be 1st with the left mouse button
  2. Click the remaining fields in order.  There is a number in the top left which represents the current order.  This should change as you click.
  3. When complete, select "View > Tab Order" again from the menu to return to edit mode.

And that's that.

On the upside, I found the Tab Order functionality above quite easy and intuitive to use and also saved me from having to manually update some property of each and every object in the form, of which I had approx. 60.

Here's a link to a video from Adobe TV which also shows the same process for Adobe Acrobat Pro.

HTH

Niall

Bookmark and Share

MS Windows cmd.exe window and Fullscreen

Misc , Tips and Tricks , Windows 7 Comments »

Today I was faced with an interesting dilema...

I was writing some windows batch  scripts to automate some Subversion tasks and I wanted to re-configure the display of the windows cmd.exe window.  I know Console2 and DOSBox are out there but cmd.exe is the default so I'm running with that for now.

So, in the cmd.exe properties dialog (right-click the title bar and select defaults) I configured the command window / dialog display options to be "Full Screen".

Once I ran my batch file, cmd.exe turned my laptop into a dumb terminal / DOS interface while running the sequence of events I had configured.  It's okay, once complete it return back to Windows normally but that wasn't the effect I was after!!  I simply wanted a larger command window within windows...

PROBLEM

The problem now though was - How the hell do I get back to "Window" mode?  Everything I ran with cme.exe was switching to this mode!!

ANSWER

Quite simply using the key combination Alt+Enter, I was able to toggle between "Window" and "Full Screen" mode.

Pheeewwwww.

So hopefully someone else looking for this Gem will find it here!!

Bookmark and Share

IE 8, Excel 2010 not opening content on Windows 7

ColdFusion , MS Office , Tips and Tricks , Gotchas No Comments »

Thought I'd dust the cobwebs off my blog by sharing something I came across today...

I came across an issue where a user reported that a web application was not opening Excel content they were requesting.

Basically the application was sending csv formatted text to the browser and the browser (Internet Explorer) was supposed to open this with Microsoft Excel 2010.

The template sending the content had the correct headers configured to instruct the browser to open this in Microsoft Excel and the content was valid but for some reason the new window was failing silently without promting the user to open \ save the file.  The only clue was that this was a new PC with Windows 7 and Internet Explorer 8 installed and their previous PC worked fine.

I decided to check with Firefox and voila - I was prompted to Open / Save the file.

So after diagnosing different scenarios through the code I then started looking into the settings on the PC for Internet Explorer.

Read more...

Basic HTML to Excel Formatting

ColdFusion , CSS , Default , MS Office , Tips and Tricks 13 Comments »

I've come across this before but have never thought to blog about it, simply because it was quite an easy implementation in the end-up.

If you're exporting data from an HTML table to an Excel workbook, then the following will save you some time when trying to get Microsoft Excel to format the data. and display it as you desire.

Using Microsofts own Office XML format, you can style \ format the cell data using "CSS like" syntax.

For example, if you wish to format a date column, you can simply add a style attribute with the content style='mso-number-format:"mm\/dd\/yyyy"'.  This format is pretty self explanatory, but will format a given date in the format "10/01/2011" for 10th January 2011.

<td style="mso-number-format:"mm\/dd\/yyyy">
   
 10/01/2011
</td>

If you're a stickler for seperation, like I am, you can take this further by defining CSS Rules in a stylesheet and specifying the class name in your HTML elements.

Read more...

Blog post 101 and a ColdFusion 101 Series

Best Practices , ColdFusion , Misc , Tips and Tricks No Comments »

To mark the 101st post on my Blog, and to complement my thoughts on what content I wish to publish on my blog in order to keep it current, I have decided that I will be writing some material on the following areas:

  • 101 - ColdFusion variables and scopes, to include complex and simple variable types.
  • 101 - Anatomy of a ColdFusion CFC.
  • ColdFusion by Example - A series of posts that provide examples of some of the most commonly used ColdFusion Tags and Functions grouped by type, with practical examples.
  • Syntax is easy, programming is hard.  A general guide on how to concentrate more on the actual programming side of development rather than getting caught up with the syntax!
It's a tall order, I know, and it'll take discipline in order to keep the momentum going with this, but the idea is to provide some useful output during this process e.g. code snippets \ templates along the way that can be used and altered by anyone (including me) during development.





Bookmark and Share
Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds