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:
- Hold Shift then click the object you want to be 1st with the left mouse button
- 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.
- 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.
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...
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!!
Quite simply using the key combination Alt+Enter, I was able to toggle between "Window" and "Full Screen" mode.
So hopefully someone else looking for this Gem will find it here!!
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.
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.
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.
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.
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.