PDA

View Full Version : How to make this better?



TJ_Tigger
10-06-2002, 09:08 AM
Would anyone be willing to look at the attachment. I used to be rather simple, but as I thought about it more, the more stuff I added to it to cover the different answers and ensure it still opens the file even after an upgrade or new install. Anywho it seems like the actions list has gotten bigger and now seems convoluted and I was hoping someone would have some suggestions on making it better.

thanks

12467-movieactions.zip (http://www.indigorose.com/ubbthreads/uploads/12467-movieactions.zip)

TJ_Tigger
10-06-2002, 09:16 AM
I should probably mention what it is designed to do.

check for a default player for .mov files,

if one exists, assuming it is Quicktime, check the version number if it is below 6 offer to upgrade, once the upgrad is done then open the .mov file

else offer to install the file, once the installation is done open the file.

That would be the short of it.

Derek
10-06-2002, 04:01 PM
Are yu asking us or telling us? I wasnt sure if 'How to ...' was a question! http://www.aozl37.dsl.pipex.com/ams4/icons/wink.gif

Corey
10-06-2002, 05:52 PM
Many people will have to re-boot after a new QT install BTW.

My approach is to get default viewer, check version of that viewer, and if version >= 6 execute the .mov file, if not I would send them to a help page which outlines their options. If deployment is vital I would have a web link for them to access an alternate media version such as .wmv, or .mpg. But that's just me...

I'm really, really hoping the programmers will swing Quicktime support for 5.0, even if that's still a ways off. Quicktime loks as though it's set to evolve into a very ubiquitous media.

Hey anyone remember VIVO? Wonder what in Timbuktu happened to those cats. I'm guessing it's not a pretty story. Anyhoo the point is at one point I remember some tech guru writing that Real Media would take over the world and that Quicktime was dead. At the time I agreed actually, but it looks like the opposite has happened.



Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

TJ_Tigger
10-07-2002, 09:35 AM
I am sorry, it was a question. I am not a coder or a programer, just a guy who found himself working with this product, which is great BTW. So in doing my actions It appears to be convoluted and long, and I was wondering if there were people out there who would be willing to help in making it more concise. I am trying to work throught the options and depending on the system what might happen to the various users. And I want to make good code so that it will be fast and efficient.

Thanks

Brett
10-07-2002, 10:03 AM
Overall, looks very good. I couldn't see anywhere that I would have changed things much. That is good code. The only suggestion that I have is that you could use the custom DLL we made to more accurately determine the version of QT installed. You can see a KB article with a link to the file here:

INFO: Using QuickTime Movies (http://www.indigorose.com/ubbthreads/showflat.php?Cat=&Board=KBAMS40&Number=12113&page= 0&view=collapsed&sb=5&o=0&fpart=)

Of course, your method is good as well. If it works for you, then go with it. Just an idea...

Corey
10-07-2002, 11:52 AM
Cool article... Cool .dll.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

TJ_Tigger
10-07-2002, 12:09 PM
That is next on my list. I did it this way first, and was going to look into the DLL next. I may have time this week.

Thanks for the words of encouragement.

Jeremy