cfschedule rerun if fails?
Hi, I'm trying to come up with a solution where I can use cfschedule to execute a page. If the page fails then cfschedule runs again until the page correctly executes. Is there anyway to do this? I'm trying to stay away from CF Admin to set up the scheduling. And thus would like to use cfschedule tag instead. Another question do I have to define the scheduled event first with a UPDATE and then with a RUN for the action? Or will the action UPDATE actually execute the scheduled event that I define in the tag right away? Thanks, Jack ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
!!!macromedia & allaire to merge!!!
Here ye, Here ye Allaire and Macromedia to Merge: http://www.allaire.com/handlers/index.cfm?ID=19390&Method=Full&Title=Macromedia%20and%20Allaire%20to%20Merge&Cache=False http://www.macromedia.com/special/allaire/ Damn, It is a great day and time to be a developer!!! -- Jack Montealegre Application Developer G.Triad Tel: (973) 428-9600 ext. 7618 Fax: (973) 428-1112 Location: 72 Eagle Rock Avenue, East Hanover, NJ 07936 Email Address: [EMAIL PROTECTED] FOR MORE INFORMATION ABOUT G.TRIAD Visit the G.Triad Corporate Web Site http://www.gtriad.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Detecting if java enabled for CFSET flashmoviename.swf
Patricia, Thanks for the quick response however my problem is not that I'm trying to determine if a browser supports Java or even what type of browser is being used. That is easy enough through cgi variables. Symptoms: The problem I'm having can best be explained with the following link and a couple of steps: 1. View http://www.trifolium.com/ with Netscape 2. Everything including the Flash file at the top should be working fine 3. In Netscape go to Preferences, Advanced, Uncheck "Enable JAVA" 4. View page, Now it should continuously show the loading screen. Cause: Much like this site I am using in the body tag and onload function that = play (). The play () function is defined in the Javascript. This code looks like this: function go() { var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1 var header = InternetExplorer ? window.movie : window.document.movie header.Play() } In the first frame of the flash file I have set a stop () command so that soon as the user hits the page it holds the playing of the movie until everything is loaded which then triggers off the onload function in the body tag which in turn executes the go () function in javascript which sends a play () command to Flash. Again the problem's core issue is that JAVA needs to be enabled for these steps to work. Else it will not since the message is never sent to Flash or Received by Flash, take your pick I'm not sure. Possible Solution: The possible solution to this problem is since Cold Fusion code will always execute before Javascript will there must be a way of using Cold Fusion to detect if the End Users browser has the setting "Enable JAVA" turned on. If that is possible then I could easily point the End User to a Flash file that has the "stop ()" function in the first frame or a Flash file that just begins playing after a few frames have past etc. I know you guys at Figleaf are pretty good at merging Flash and CF figured I'd shoot this on the chattyfig mailing list since this is an issue I'm sure someone has run into before. Thanks, Jack Patricia Lee wrote: > > It looks like you're relying on the Browser Version to determine Java > ability. AS such, there are quite a few Cold Fusion Custom Tags out there > that are pre-coded to scan the cgi.http_user_agent variable. Using Cold > Fusion to do this task, rather than javascript, means you can pre-determine > the Flash File quite easily... and before the page ever gets returned to the > client's machine. > > I would check out the Allaire Tag Gallery www.allaire.com/taggallery and > download one or more of these tags: > > 1) CF_BrowserCheck (free) > BrowserCheck gives you the information you need to dynamically > include content depending on what browser is accessing your site. It > translates the browser's USER_AGENT field into a set of variables that > define the name of the browser, version, OS, and JavaScript compatability. > > 2) CF_BrowserHawk (not free) > BrowserHawk is the ultimate browser sniffer, recognizing visiting > web browsers and their capabilities from your ColdFusion scripts. This > allows you to achieve a consistent layout and level of site operation for > all visitors to your site, regardless of their browser used! Easily detect > disabled cookies, JavaScript, and applets. Detect user connection speed, > screen size, Flash, Shockwave, Acrobat, MediaPlayer, RealPlayer and other > plug-ins, WAP devices, reverse DNS, and over 70 properties in all. Available > as a COM object or JavaBean for use with ColdFusion, ASP, JSP, servlets and > other environments. > > < snip > - Original Message --- All, I'm trying to come up with an equivalent solution to detecting if java is enabled on a end user's browser and if so then use a specific flash file in the object/embed tags that are set through use of ColdFusion. So far I have this javascript: if (navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersionindexOf('MSIE 3')) var java = false; else var java = navigator.javaEnabled(); My question is if I am using cold fusion variables to define the parameters and settings how can i add logic to this to be able to use say a specific flash file instead of another? (this is a specific problem i've seen when trying to do fscommands to flash or flash to javascript, etc.) I want to create a work around that enables me to use one of two flash files, etc. The problem I see is that since cold fusion will always execute before javascript this is not possible. Has anyone tried this and if so how? Thanks, Jack -- Jack Montealegre Application Developer G.Triad Tel: (973) 428-9600 ext. 7618 Fax: (973) 428-1112 [EMAIL PROTECTED] http://www.gtriad.com FOR MORE INFORMATION ABOUT G.TRIAD Visit the G.Triad Corporate Web Site http://www.gtriad.com -
Re: text to speech program recommendation? (for db->middleware->flash)
Dave, Thanks for your feedback. Why would you say it would be better to do it client side as opposed to server side? I'm guessing it's really a questions of performance/speed in getting the text to wav and then having it come into a flash file? Unfortunately because the user base will not be controlled, an IE only solution won't work. And because of the real need to have the solution server side I think I'll be stuck heading that route. :: Wonders if throwing more hardware at the problem would solve it :: >From your posting is it then safe to say If I were to go with a server side solution, purchasing of an L & H product would not be necessary since a version of it comes with MS Agent that I can use instead? I had tried giving them a ring but alas they did not want to recommend a shrink wrap package and was more interested in providing a "solution." If by using the Agent the result is the same then of course that would be more to my liking as the cost won't be an issue :) Finally I haven't really had a chance to get into COM all that much any materials you can point me to, to get me started? Thanks, Jack P.S. By the way just wanted to say I thought the presentation you figleaf guys put together down at Bethesda a couple of months ago was awesome, Flash front end interfaces to apps that really cook. You could hear the ooohs and hs in the auditorium. What will you guys think of next? ;) Dave Watts wrote: > > > Can anyone recommend a text to speech "TTS" program that > > would allow me to create a web app using coldfusion, asp, > > php, etc. (lang doesn't matter) and be able to connect > > to a database for the text which in turn is fed to the TTS > > program which outputs a wav file that can be used by flash > > to import through generator or other and thus having dynamic > > sound being generated through a flash file? > > > > The process would be something like this: > > > > DB --> TextFile --> TTS Program --> WAVFile --> Generator --> Flash > > (of course flash would be the activation point which would > > actually start up the process by going to a db connectivity > > set page such as an ASP file which will kick off the rest. > > Flash's next step through Generator would then be to get the > > Wav file, etc. > > Yikes! > > Conceivably, you could do some of this using the COM interface of the > Lernout & Hauspie package, which comes with Microsoft Agent 2.0. You'd query > the database using CF (or whatever), retrieve your text, feed it to L & H > via COM, then use the resulting WAV file. > > You can get two versions of the L & H engine from the MS Agent site: > > http://msdn.microsoft.com/msagent/ > > Others are listed there as well. > > However, doing this on the server is going to be relatively intensive - you > might be better off doing this on the client if possible. The MS Agent > interface is designed for that, although I do think it requires IE. This, of > course, wouldn't involve Flash at all, although you could use MS Agent and > Flash in the same interface. We've got some sample files using MS Agent > here: > > http://www.figleaf.com/figleafhome/cfug/cfugFeb00/web_help_cfug.zip > > > Also anyone know of a mailing list specific to generator? (news > > server won't work for me) > > No, I don't know of any, but there's a Flash coders list which discusses > some Generator stuff, I believe - and even if they don't, they'll know where > to go for this: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 > -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a >message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Jack Montealegre Application Developer G.Triad Tel: (973) 428-9600 ext. 7618 Fax: (973) 428-1112 [EMAIL PROTECTED] http://www.gtriad.com FOR MORE INFORMATION ABOUT G.TRIAD Visit the G.Triad Corporate Web Site http://www.gtriad.com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
text to speech program recommendation? (for db->middleware->flash)
Hi, Can anyone recommend a text to speech "TTS" program that would allow me to create a web app using coldfusion, asp, php, etc. (lang doesn't matter) and be able to connect to a database for the text which in turn is fed to the TTS program which outputs a wav file that can be used by flash to import through generator or other and thus having dynamic sound being generated through a flash file? The process would be something like this: DB --> TextFile --> TTS Program --> WAVFile --> Generator --> Flash (of course flash would be the activation point which would actually start up the process by going to a db connectivity set page such as an ASP file which will kick off the rest. Flash's next step through Generator would then be to get the Wav file, etc. Also anyone know of a mailing list specific to generator? (news server won't work for me) Thanks, Jack -- Jack Montealegre Application Developer G.Triad Tel: (973) 428-9600 ext. 7618 Fax: (973) 428-1112 [EMAIL PROTECTED] http://www.gtriad.com FOR MORE INFORMATION ABOUT G.TRIAD Visit the G.Triad Corporate Web Site http://www.gtriad.com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Integrating with Flash
Oh by the way if anyone is looking for videos on Flash check out www.Lynda.com In the third video they cover use of Loading variable information although doesn't go into detail in as far as loading data via making use of javascript that would have the flash file as a target or some of the other advanced approaches to the subject. I recently picked up a couple of books on the subject Flash 4 Magic is a good one. Has examples of Flash and PHP and some other nice tricks you can do with Flash. Flash 4 Bible seems to be very popular as well I haven't had a chance to go through it entirely however so far so good. Some places you may want to check for code examples are: www.flashplanet.com www.who-where.com There are examples of Flash and PHP/Perl/ASP/etc. Not sure if they have added CF and Flash examples actually I think there maybe one or two on those sites. Hope this helps, Jack -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Integrating with Flash
I didn't think a URL Encoded String had a max limitation. Been working with Onload Variables in Flash from a CF file for months now. Works fine. Now I just wish there was a way to speed things up into the low milli-second range ;) Actually now that I think about it I don't believe there is a limitation on the String if there is can anyone let me know what number it is? Thanks, Jack Norman Elton wrote: > I'll take a copy of your files too :). Thanks! > > Norman > > On Thu, 3 Aug 2000, Reynolds, Adam wrote: > > > Could you copy me in on this. I would be very interested. > > > > > -- > > > From: Sean Renet[SMTP:[EMAIL PROTECTED]] > > > Sent: 03 August 2000 12:24 > > > To: [EMAIL PROTECTED] > > > Subject:Re: Integrating with Flash > > > > > > I have a day left of crazy left, then I will email you an fla file and cf > > > template off list. > > > - Original Message - > > > From: "Rich Wild" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Thursday, August 03, 2000 1:53 AM > > > Subject: RE: Integrating with Flash > > > > > > > > > > Yeah - I wasn't talking semantics though, I am genuinely interested in > > > how > > > > you pull those variables out - where does the LoadVariables pull the CF > > > > variables from? > > > > > > > > I've used URL variables before fine - but limited as I said, due to the > > > max > > > > length of a URL string > > > > > > > > I've used textfiles also - getting CF to create a textfile with the > > > > variables written into it: > > > > > > > > eg: variables.txt > > > > ** > > > > > > > > var1 = Hello > > > > var2 = Cheese > > > > var3 = red hot poker > > > > > > > > ** > > > > > > > > And Then Flash LoadVariables from variables.txt > > > > > > > > Now I *know* that this is brutish and poor. Must be. Makes me wince just > > > > looking at it. > > > > > > > > How specifically are you handling it? I long for a better way... > > > > > > > > -- > > > > Rich Wild > > > > Senior Web Designer > > > > > > > > --- > > > > e-mango.com ltd Tel: 01202 587 400 > > > > Lansdowne Place Fax: 01202 587 401 > > > > 17 Holdenhurst Road > > > > Bournemouth Mailto:[EMAIL PROTECTED] > > > > BH8 8EW, UK http://www.e-mango.com > > > > --- > > > > This message may contain information which is legally > > > > privileged and/or confidential. If you are not the > > > > intended recipient, you are hereby notified that any > > > > unauthorised disclosure, copying, distribution or use > > > > of this information is strictly prohibited. Such > > > > notification notwithstanding, any comments, opinions, > > > > information or conclusions expressed in this message > > > > are those of the originator, not of e-mango.com ltd, > > > > unless otherwise explicitly and independently indicated > > > > by an authorised representative of e-mango.com ltd. > > > > --- > > > > > > > > > > > > -Original Message- > > > > From: Sean Renet [mailto:[EMAIL PROTECTED]] > > > > Sent: 03 August 2000 09:44 > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: Integrating with Flash > > > > > > > > > > > > I seldom use url variables. I am sure that someone will respond with a > > > > url/form variable dissertation. However, I generally have an action > > > page > > > in > > > > the background that does all the work and I have flash pull the > > > variables > > > > from it using flash's LoadVariables command. I suppose this is more > > > like > > > a > > > > form variable pass as the method is "post". I don't have much time to > > > get > > > > caught up in symantics, I just do what I think works the best. You > > > don't > > > > need text output per say, you can just use cfcontent. > > > > - Original Message - > > > > From: "Rich Wild" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Thursday, August 03, 2000 1:03 AM > > > > Subject: RE: Integrating with Flash > > > > > > > > > > > > > Am I right in saying that you are limited to using URL variables when > > > > > controlling Flash movies though? That's what I've picked up anyway > > > > > > > > > > Kind of annoying if you have a lot of text to output... > > > > > > > > > > > > > > > > > > > > -- > > > > > Rich Wild > > > > > Senior Web Designer > > > > > > > > > > --- > > > > > e-mango.com ltd Tel: 01202 587 400 > > > > > Lansdowne Place Fax: 01202 587 401 > > > > > 17 Holdenhurst Road > > > > > Bournemouth Mailto:[EMAIL PROTECTED] > > > > > BH8 8EW, UK http://www.e-mango.com > > > > > --- > > > > > This message may contain information wh
Re: Help with OUTPUT of some MORE Querys - figured it out...
- Original Message - From: Kelly Matthews <[EMAIL PROTECTED]> To: 'Stephen Moretti' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 01, 2000 4:10 PM Subject: RE: Help with OUTPUT of some MORE Querys - figured it out... > Oh i got it: > > #SI_Item_Name# type="checkbox" SI_ITEM_id)>CHECKED> > > > --- > Kelly Matthews > Internet Development Coordinator > AAAE > 703.578.2509 > [EMAIL PROTECTED] > http://www.airportnet.org > --- > > > -Original Message- > > From: Kelly Matthews > > Sent: Tuesday, August 01, 2000 4:01 PM > > To: 'Stephen Moretti'; [EMAIL PROTECTED] > > Subject: Help with OUTPUT of some MORE Querys > > > > I wondered if you might be able to help me figure something else out. > > Along the same premise as the first email (at the end of this message) > > Once someone has filled out a form and checked certain items, the items > > that were checked get thrown into a 3rd table by ITEM ID. > > SO when editing that form I am trying to get it where all checked items > > will appear CHECKED On the form. So far I am doing this. > > > > (this queries to pull up a SPECIFIC report) > > > > SELECT * > > FROM SelfInspection > > WHERE SI_OPSRPT_ID = #url.SI_OPSRPT_ID# > > > > > > Then down in the output I have what Stephen showed me earlier to get the > > categories and items to lay out properly: > > > > SELECT > > SI_Categories.SI_Category_ID, > > SI_Categories.SI_Category, > > SI_Items.SI_Item_ID, > > SI_Items.SI_Item_Name > > FROM > > SI_Categories, > > SI_Items > > WHERE > > SI_Categories.SI_Category_ID = SI_Items.SI_Category_ID > > ORDER BY SI_Categories.SI_Category_ID > > > > > > The original output for a NEW form would be: > > > > > > #SI_Category# > > > > > > #SI_Item_Name# > type="checkbox"> > > > > > > > > However on the edit form I want that same output as above but another > > query becomes involved to see which > > items were checked upon the entry form so they will be checked when > > someone pulls up the EDIT form. > > So a query such as the following needs to be added: > > > > SELECT SI_Item_ID > > FROM SI_Items2 > > WHERE SI_OpsRpt_ID = #url.si_opsrpt_ID# > > > > This query is correct when I ran it it pulled the 2 records it should > > have. > > However in the output now I need the check box to be checked if it shows > > up in that query, I tried the following but it didnt work: > > > > > > > > #SI_Category# > > > > > > #SI_Item_Name# > type="checkbox" > "QgetCheckedItems.SI_Item_ID">CHECKED> > > > > > > > > It throws no errors just doesn't check ANY boxes and all the queries are > > definetly running correctly so its something in the > > way I am doing the output. > > Any suggestions?? > > Kelly > > > > > > > > -Original Message- > > From: Stephen Moretti [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, August 01, 2000 11:24 AM > > To: [EMAIL PROTECTED] > > Subject: RE: Help with OUTPUT of some Querys > > > > Hi Kelly, > > > > > > > > So basically SI_Items has the category ID for each item to show > > what > > > category it belongs to. All Good... > > > I want the output however to look like so. > > > > > [snip] > > > I seem to be having trouble. Obviously something has to loop and > > > maybe even > > > group (ooo a rhyme) > > > because once I pull all items I have the Category ID for each but > > > need to go > > > back to the category table > > > to find out what that category actually is. Also need the > > categories > > > displayed BY NAME (from category table) > > > with the items for each category (item table) listed under the > > appropriate > > > Category. i am srue I am > > > missing something little. Any suggestions??? > > > > > > Should I do 2 separate queries or a join? I have tried quite a few > > things > > > and can't get it to work. > > > > > > Looks like what you need to do is : > > > > SELECT SI_Categories.SI_Category_ID, SI_Categories.SI_Category_Name, > > SI_Items.SI_Item_ID, > > SI_Items.SI_Item_Name > > FROM SI_Categories, SI_Items > > WHERE SI_Categories.SI_CategoryID = SI_Items.SI_Category_ID > > ORDER BY SI_Category_Name > > > > Then you need to do a nested CFOUTPUT using the GROUP attribute > > > > > > #SI_Catgeory_Name# > > > > #SI_Item_Name# > > > > > > > > This way you have one hit on the database, the database deals with > > the > > ordering of the data and you get your sets of categories with their > > items. > > > > HTH > > > > Regards > > > > Stephen > > > > > > > > > > -- > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > To Unsubscribe visit > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or > > send a message to [EMAIL PROTECTED] with 'unsubscribe' in > > the body. > -- > Archives: http://www.mail-archive.com/cf-talk@house