RE: Opening a local URl (Windows)
Herve, I use the same function and it works like a charm... Is your url correct? cheers Xavier -Original Message- From: Hervé Chaudet [mailto:[EMAIL PROTECTED]] Sent: 17 January 2003 10:39 To: [EMAIL PROTECTED] Subject: Opening a local URl (Windows) I need to open a local url in a browser under windows. I've tried the solution previously proposed : on launchBrowser theURL set the hideConsoleWindows to true put empty into theTitle if NT is in the systemVersion then set the shellCommand to cmd.exe put quote quote into theTitle end if get shell(start theTitle theURL) end launchBrowser but without success. Any solution ? Thanks H. Chaudet -- -- - Herve Chaudet e-mail : [EMAIL PROTECTED] mobile : 33-(0)-608-05-98-09 Unité UPRES EA 2672 Faculte de Medecine - 27, Bd Jean Moulin - 13385 Marseille cedex 5 - France Tel 33-(0)-491-79-19-10 ; Fax 33-(0)-491-79-40-13 Service de l'Information Medicale Hopital Nord - Chemin des Bourrelly - 13326 Marseille cedex 15 - France Tel 33-(0)-491-96-80-20 -- -- - ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Opening a local URl (Windows)
Le vendredi, 17 jan 2003, à 10:43 Europe/Paris, [EMAIL PROTECTED] a écrit : Herve, I use the same function and it works like a charm... Is your url correct? The syntax of the url is the same as shown in the url field of explorer when I open the file directly in it. Ex: C:\xxx\yyy.html I've tried with file: before the full filename, without more success. Hervé - Herve Chaudet e-mail : [EMAIL PROTECTED] mobile : 33-(0)-608-05-98-09 Unité UPRES EA 2672 Faculte de Medecine - 27, Bd Jean Moulin - 13385 Marseille cedex 5 - France Tel 33-(0)-491-79-19-10 ; Fax 33-(0)-491-79-40-13 Service de l'Information Medicale Hopital Nord - Chemin des Bourrelly - 13326 Marseille cedex 15 - France Tel 33-(0)-491-96-80-20 - ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Opening a local URl (Windows)
| De : [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED]]De la part de Hervé Chaudet | Envoyé : Friday, January 17, 2003 11:20 AM | À : [EMAIL PROTECTED] | Objet : Re: Opening a local URl (Windows) | | [EMAIL PROTECTED] a écrit : | | Herve, | I use the same function and it works like a charm... | Is your url correct? | | The syntax of the url is the same as shown in the url field of | explorer | when I open the file directly in it. Ex: C:\xxx\yyy.html | I've tried with file: before the full filename, without more success. Well, i would try a bet: url file:c:/xxx/.html is this getting better, bonne chance, thierry Douez ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Opening a local URl (Windows)
Le vendredi, 17 jan 2003, à 12:18 Europe/Paris, thierry Douez a écrit : | De : [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED]]De la part de Hervé Chaudet | Envoyé : Friday, January 17, 2003 11:20 AM | À : [EMAIL PROTECTED] | Objet : Re: Opening a local URl (Windows) | | [EMAIL PROTECTED] a écrit : | | Herve, | I use the same function and it works like a charm... | Is your url correct? | | The syntax of the url is the same as shown in the url field of | explorer | when I open the file directly in it. Ex: C:\xxx\yyy.html | I've tried with file: before the full filename, without more success. Well, i would try a bet: url file:c:/xxx/.html is this getting better, bonne chance, thierry Douez I've finally found the solution: the argument passed to launchBrowser must be quoted. I suspect the reason is the presence of spaces in a pathname (as in Program Files), that are normally replaced by %20 in http (encoded) URLs. Thanks for your propositions that helps me in confirming my previous attempts. Hervé - Herve Chaudet e-mail : [EMAIL PROTECTED] mobile : 33-(0)-608-05-98-09 Unité UPRES EA 2672 Faculte de Medecine - 27, Bd Jean Moulin - 13385 Marseille cedex 5 - France Tel 33-(0)-491-79-19-10 ; Fax 33-(0)-491-79-40-13 Service de l'Information Medicale Hopital Nord - Chemin des Bourrelly - 13326 Marseille cedex 15 - France Tel 33-(0)-491-96-80-20 - ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Opening a local URl (Windows)
AHA! you are browsing files, not the net... in that case you can use: get shell(explorer c:\blabla) or better (without blocking MC until the explorer is closed) open process cmd /c explorer quote c:\blabla quote -Original Message- From: Hervé Chaudet [mailto:[EMAIL PROTECTED]] Sent: 17 January 2003 12:31 To: [EMAIL PROTECTED] Subject: Re: Opening a local URl (Windows) Le vendredi, 17 jan 2003, à 12:18 Europe/Paris, thierry Douez a écrit : | De : [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED]]De la part de Hervé Chaudet | Envoyé : Friday, January 17, 2003 11:20 AM | À : [EMAIL PROTECTED] | Objet : Re: Opening a local URl (Windows) | | [EMAIL PROTECTED] a écrit : | | Herve, | I use the same function and it works like a charm... | Is your url correct? | | The syntax of the url is the same as shown in the url field of | explorer | when I open the file directly in it. Ex: C:\xxx\yyy.html | I've tried with file: before the full filename, without more success. Well, i would try a bet: url file:c:/xxx/.html is this getting better, bonne chance, thierry Douez I've finally found the solution: the argument passed to launchBrowser must be quoted. I suspect the reason is the presence of spaces in a pathname (as in Program Files), that are normally replaced by %20 in http (encoded) URLs. Thanks for your propositions that helps me in confirming my previous attempts. Hervé -- -- - Herve Chaudet e-mail : [EMAIL PROTECTED] mobile : 33-(0)-608-05-98-09 Unité UPRES EA 2672 Faculte de Medecine - 27, Bd Jean Moulin - 13385 Marseille cedex 5 - France Tel 33-(0)-491-79-19-10 ; Fax 33-(0)-491-79-40-13 Service de l'Information Medicale Hopital Nord - Chemin des Bourrelly - 13326 Marseille cedex 15 - France Tel 33-(0)-491-96-80-20 -- -- - ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard