View Single Post
  #6  
Old January 30th, 2009, 02:45 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,654
Default Re: How to compose a range of records?

Quote:
Originally Posted by LeberMac View Post
... I'm imagining Dan Korn with a headset mic like Vince from ShamWOW...
"We can't do this all day.. so if you call in the NEXT 20 minutes..." Hehe
LOL. Actually, Alex is the one tied down to a headset all day. I'm really NOT supposed to be doing this (working the forums) all day. I'm supposed to be working on development of the product so that you guys can have new features and bug fixes and stuff like that, and so that we can entice even more new customers, all of whom will proceed to call Alex.

And if I can envision anyone here doing the ShamWOW thing, it would be our Director of Product Management, Mark Hilger. Hi Mark!
Quote:
Originally Posted by LeberMac View Post
And, to answer Dan's question of "I can't imagine any enhancement to the GUI that would be any simpler than that.", I offer you THIS gem:



Anyway, that's how I would envision it, in the Compose dialog box. A function like this would be extremely useful when running "repair" lists for, say, when a range of records of a printed mailpiece gets garbled in the diecutter after bring printed.
Yes, that's a nice enhancement. (And a nice mock-up too!)

But my point about exposing scriptable hooks instead of making new GUI elements is that this is just one of literally hundreds of enhancements that we could make to the product by coding up more dialogs, or even modifying existing ones. But there are several disadvantages to that. The main one is that changing the features in the GUI requires changing the dialogs, which we have to do here, and then we have to release a new version. And we have to make the dialogs work right on multiple platforms, which is no small feat. Scriptable components, on the other hand, are easier to add, and they can be built upon by writing new scripts without making a new release of the software.

The other problem is that, even with an enhancement like you suggest, it's still somewhat rigid. Sure, you can specify any number of abritrary ranges, but what if you wanted to do something like re-compose every fifth record, or every record where the LastName field starts with M, or every record with a particular graphic? We simply can't anticipate every possible variation that a customer might need in the future and code up another specialized dialog for it. That's why we embed the JavaScript engine, which lets you code up just about any algorithm you'll ever need. Sure, we sometimes need to add new hooks so that more things are scriptable. And of course, we don't want you to have to write a JavaScript rule to do everything, so we do try to keep things nice and WYSIWYG and point-and-clicky where we can, but ultimately scriptability provides the most flexibility. The reason you have a computer is so that you can program it to do exactly what you want it to do. At least that's my perspective as a developer.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});

Last edited by Dan Korn; January 30th, 2009 at 02:46 PM.. Reason: fixed Mark's title
Reply With Quote