Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > JavaScript
JavaScript Forum programmation JavaScript. Lire : Cours JavaScript, FAQ JavaScript, Toutes les FAQ JavaScript et Sources JavaScript
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 12/09/2011, 21h03   #1
Invité de passage
 
Homme
Chocolateur
Inscription : septembre 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Chocolateur
Secteur : Transports

Informations forums :
Inscription : septembre 2011
Messages : 4
Points : 0
Points : 0
Par défaut Sauvegarder du texte javascript

Bonsoir,

J'ai effectué quelques recherches mais je n'ai pas trouver comment réaliser mon rêve

Voila mon questionnement, cette page s'affiche dans mon logiciel et je voudrais bien exporter/sauvegarder les résultats de la page générée dans mon logiciel dans un fichier texte, afin que me les envoyer ensuite en email....

Mon interrogation est la suivante, est il possible de sauvegarder la page ou certains champs seulement (CA du jour, Marge HT par exemple) générée par mon logiciel à un instant T ou à un interval défini puis de l'envoyer en email ?

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Tableau de bord</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="60">
 
<script language="javascript">
function cacher(t, img)
{
	if (t.style.display == 'none')
	{
		t.style.display='inline';
		img.src = 'moins.jpg';
	}
	else
	{
		t.style.display='none'
		img.src = 'plus.jpg';
	}
}
 
function swapGraph (sp1, sp2, sp3)
{
	sp1.style.display = 'inline';
	sp2.style.display = 'none';
	sp3.style.display = 'none';
}
 
var larg_utile;
var haut_utile;
 
function dimensions ()
{
	var dom = net = iex = false;
	if (document.getElementById) dom = true; // IE5+ ou Netscape6+/Mozilla
	if (document.layers) net = true; // Netscape4
	if (document.all) iex = true; // IE4+
 
	if (iex) {
		larg_utile = "document.body.offsetWidth";
		haut_utile = "document.body.offsetHeight";
	}
	else if (dom || net) {
		larg_utile = "window.innerWidth";
		haut_utile = "window.innerHeight";
	}
}
 
function resizeImage ()
{
	ImgBk.width = eval(larg_utile) - 21;
	ImgBk.height = eval(haut_utile) - 7;
}
 
</script>
 
<style type="text/css">
<!--
body {
	background-color: #8bcfd7;
}
-->
</style></head>
<body text="#484848" bgcolor="#e7e7e9" link="#000000" vlink="#FF6600" style="font-family: Arial; font-size: 8 pt;" topmargin="0" onResize="javascript:resizeImage()">
 
<div id="Fond" style="position:absolute; left:0px; top:0px; width:000px; height:000px; z-index:1">
	<img name="ImgBk" src="BgPDV_FO.jpg" border="0" cellspacing="0" cellpadding="0">
</div>
<div id="Texte" style="position:absolute; left:10px; top:10px; width:javascript:eval(eval(larg_utile)-11)px; z-index:2">
 
<table border="0" cellspacing="0" style="font-family: Arial; font-size: 8 pt" width="100%">
<!--
  <tr valign="top"> 
    <td colspan="3"><h2>${Systeme.Date}</h2></td>
  </tr>
  -->
  <tr>
    <td valign="top"><img src="Resultat_FO.gif"><br>
      <font color="#E06811" onClick="cacher(ResultatVeille,plusResultatVeille)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusResultatVeille" src="plus.jpg">
        du ${Variable.DateResPrecedent} :</font><br>
      <div id="ResultatVeille" style="display='none'">
        <span id="ResVeille">
    	   <table width="80%">
      	     <tr>
              <td><font size="1">Chiffre d'affaire HT :</font></td>
              <td nowrap align="right"><font size="1" color="#ff0000"><b>${Variable.ResPrecCAHT,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
      	     <tr>
              <td><font size="1">Chiffre d'affaire TTC :</font></td>
              <td nowrap align="right"><font size="1" color="#484848"><b>${Variable.ResPrecCATTC,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
      	     <tr>
              <td><font size="1">Marge HT :</font></td>
              <td nowrap align="right"><font size="1" color="#ff0000"><b>${Variable.ResPrecMargeHT,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
            <tr>
              <td><font size="1">Nombre de tickets :</font></td>
              <td align="right"><font size="1" color="#484848"><b>${Variable.ResPrecNbreTk,P:0}</b></font></td>
      	     </tr>
            <tr>
              <td><font size="1">Nombre d'articles vendus :</font></td>
              <td align="right"><font size="1" color="#484848"><b>${Variable.ResPrecNbreArt,P:0}</b></font></td>
            </tr>
          </table>
        </span>
      </div>
 
      <font color="#E06811" onClick="cacher(ResultatJour,plusResultatJour)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusResultatJour" src="moins.jpg">
        du jour :</font><br>
      <div id="ResultatJour">
        <span id="ResJour">
    	   <table width="80%">
      	     <tr>
              <td><font size="1">Chiffre d'affaire HT :</font></td>
              <td nowrap align="right"><font size="1" color="#ff0000"><b>${Variable.ResJourCAHT,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
      	     <tr>
              <td><font size="1">Chiffre d'affaire TTC :</font></td>
              <td nowrap align="right"><font size="1" color="#484848"><b>${Variable.ResJourCATTC,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
      	     <tr>
              <td><font size="1">Marge HT :</font></td>
              <td nowrap align="right"><font size="1" color="#ff0000"><b>${Variable.ResJourMargeHT,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
            <tr>
              <td><font size="1">Nombre de tickets :</font></td>
              <td align="right"><font size="1" color="#484848"><b>${Variable.ResJourNbreTk,P:0}</b></font></td>
      	     </tr>
            <tr>
              <td><font size="1">Nombre d'articles vendus :</font></td>
              <td align="right"><font size="1" color="#484848"><b>${Variable.ResJourNbreArt,P:0}</b></font></td>
            </tr>
          </table>
        </span>
      </div>
    </td>
 
 
 
<!-- *********** Deuxième colonne *********** -->
 
 
    <td valign="top"> <img src="statistiques.gif"><br>
      <font color="#E06811" onClick="cacher(StatistiqueVeille,plusStatistiqueVeille)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusStatistiqueVeille" src="moins.jpg">
        du ${Variable.DateResPrecedent} :</font><br>
      <div id="StatistiqueVeille">
        <span id="StatVeille">
    	   <table width="80%">
      	     <tr>
              <td><font size="1">Panier moyen TTC :</font></td>
              <td nowrap align="right"><font size="1" color="#1eff00"><b>${Variable.StatPrecPanier,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
      	     <tr>
              <td><font size="1">Indice de vente :</font></td>
              <td nowrap align="right"><font size="1" color="#484848"><b>${Variable.StatPrecIndice,P:2}</b></font></td>
            </tr>
          </table>
        </span>
      </div>
 
      <font color="#E06811" onClick="cacher(StatistiqueJour,plusStatistiqueJour)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusStatistiqueJour" src="moins.jpg">
        du jour :</font><br>
      <div id="StatistiqueJour">
        <span id="StatJour">
    	   <table width="80%">
      	     <tr>
              <td><font size="1">Panier moyen TTC :</font></td>
              <td nowrap align="right"><font size="1" color="#1eff00"><b>${Variable.StatJourPanier,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>
            </tr>
      	     <tr>
              <td><font size="1">Indice de vente :</font></td>
              <td nowrap align="right"><font size="1" color="#484848"><b>${Variable.StatJourIndice,P:2}</b></font></td>
            </tr>
          </table>
        </span>
      </div>
    </td>
 
 
 
<!-- *********** Troisième colonne *********** -->
 
 
    <td valign="top"><img src="meilleursvendeurs_FO.gif"><br>
<!--      <form method="POST"> -->
        <input type="radio" name="radioVendeur" value="V1" checked
          onClick="swapGraph(VendCaJ, VendCaS, VendCaM);swapGraph(VendNbrJ, VendNbrS, VendNbrM)">jour
        <input type="radio" name="radioVendeur" value="V2"
          onClick="swapGraph(VendCaS, VendCaJ, VendCaM);swapGraph(VendNbrS, VendNbrJ, VendNbrM)">semaine
        <input type="radio" name="radioVendeur" value="V3"
          onClick="swapGraph(VendCaM, VendCaJ, VendCaS);swapGraph(VendNbrM, VendNbrJ, VendNbrS)">mois
<!--      </form> -->
		<br>
 
      <font color="#E06811" onClick="cacher(VendeurCa,plusVendeurCa)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusVendeurCa" src="moins.jpg">
      Par chiffre d'affaires :</font><br>
      <div id="VendeurCa">
        <span id="VendCaJ">
            <table width="90%">
            <!--VendCAJDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Representant:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap align="right" valign="top"><font size="1" color="#484848"><b>${GCstat.CAQte,P:0}&nbsp;${Societe&gt;Link3C58.Symbole}</b></font></td>
              </tr>
            <!--VendCAJFin-->
            </table>
        </span>
        <span id="VendCaS" style="display='none'">
            <table width="90%">
            <!--VendCASDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Representant:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.CAQte,P:0}&nbsp;${Societe&gt;Link3C58.Symbole}</b></font></td>
              </tr>
            <!--VendCASFin-->
            </table>
        </span>
        <span id="VendCaM" style="display='none'">
            <table width="90%">
            <!--VendCAMDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Representant:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.CAQte,P:0}&nbsp;${Societe&gt;Link3C58.Symbole}</b></font></td>
              </tr>
            <!--VendCAMFin-->
            </table>
        </span>
      </div>
 
      <font color="#E06811" onClick="cacher(VendeurNbr,plusVendeurNbr)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusVendeurNbr" src="plus.jpg">
        Par nombre de ventes :</font><br>
      <div id="VendeurNbr" style="display='none'">
        <span id="VendNbrJ">
            <table width="90%">
            <!--VendQteJDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Representant:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.Qte,P:0}</b></font></td>
              </tr>
            <!--VendQteJFin-->
            </table>
        </span>
        <span id="VendNbrS" style="display='none'">
            <table width="90%">
            <!--VendQteSDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Representant:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.Qte,P:0}</b></font></td>
              </tr>
            <!--VendQteSFin-->
            </table>
        </span>
        <span id="VendNbrM" style="display='none'">
            <table width="90%">
            <!--VendQteMDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Representant:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.Qte,P:0}</b></font></td>
              </tr>
            <!--VendQteMFin-->
            </table>
        </span>
      </div>
    </td>
 
 
<!-- *********** Meilleurs Articles *********** -->
 
    <td valign="top"><img src="meilleursarticles_FO.gif"><br>
<!--      <form method="POST"> -->
        <input type="radio" name="radioArticle" value="V1" checked
          onClick="swapGraph(ArtCaJ, ArtCaS, ArtCaM);swapGraph(ArtNbrJ, ArtNbrS, ArtNbrM)">jour
        <input type="radio" name="radioArticle" value="V2"
          onClick="swapGraph(ArtCaS, ArtCaJ, ArtCaM);swapGraph(ArtNbrS, ArtNbrJ, ArtNbrM)">semaine
        <input type="radio" name="radioArticle" value="V3"
          onClick="swapGraph(ArtCaM, ArtCaJ, ArtCaS);swapGraph(ArtNbrM, ArtNbrJ, ArtNbrS)">mois
<!--      </form> -->
		<br>
 
 
      <font color="#E06811" onClick="cacher(ArticleCa,plusArticleCa)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusArticleCa" src="moins.jpg">
      Par chiffre d'affaires :</font><br>
      <div id="ArticleCa">
        <span id="ArtCaJ">
            <table width="90%">
            <!--ArtCAJDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Article:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap align="right" valign="top"><font size="1" color="#484848"><b>${GCstat.CAQte,P:0}&nbsp;${Societe&gt;Link3C58.Symbole}</b></font></td>
              </tr>
            <!--ArtCAJFin-->
            </table>
        </span>
        <span id="ArtCaS" style="display='none'">
            <table width="90%">
            <!--ArtCASDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Article:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.CAQte,P:0}&nbsp;${Societe&gt;Link3C58.Symbole}</b></font></td>
              </tr>
            <!--ArtCASFin-->
            </table>
        </span>
        <span id="ArtCaM" style="display='none'">
            <table width="90%">
            <!--ArtCAMDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Article:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.CAQte,P:0}&nbsp;${Societe&gt;Link3C58.Symbole}</b></font></td>
              </tr>
            <!--ArtCAMFin-->
            </table>
        </span>
      </div>
 
      <font color="#E06811" onClick="cacher(ArticleNbr,plusArticleNbr)" onmouseover="this.style.cursor='hand'"
        onmouseout="this.style.cursor='default'"><img id="plusArticleNbr" src="plus.jpg">
        Par nombre de ventes :</font><br>
      <div id="ArticleNbr" style="display='none'">
        <span id="ArtNbrJ">
            <table width="90%">
            <!--ArtQteJDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Article:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.Qte,P:0}</b></font></td>
              </tr>
            <!--ArtQteJFin-->
            </table>
        </span>
        <span id="ArtNbrS" style="display='none'">
            <table width="90%">
            <!--ArtQteSDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Article:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.Qte,P:0}</b></font></td>
              </tr>
            <!--ArtQteSFin-->
            </table>
        </span>
        <span id="ArtNbrM" style="display='none'">
            <table width="90%">
            <!--ArtQteMDeb-->
              <tr>
                <td width="50%"><font size="1">${GCstat.Designation}&nbsp;</font></td>
                <td nowrap valign="top" width="10%"><font size="1"><a href="Fiche:Article:${GCstat.Code}">${GCstat.Code}</a>&nbsp;</font></td>
                <td nowrap valign="top" align="right"><font size="1" color="#484848"><b>${GCstat.Qte,P:0}</b></font></td>
              </tr>
            <!--ArtQteMFin-->
            </table>
        </span>
      </div>
    </td>
  </tr>
</table>
 
 
 
 
 
<!-- *********** Graphiques  *********** -->
 
 
<br>
<center>
  <p>
  <img src="frequentation_CA_FO.gif"><br><br>
  <form method="POST">
    <input type="radio" name="radioGraph" value="V1"
      onClick="swapGraph(GraphJ, GraphS, GraphM);">du jour par heure
    <input type="radio" name="radioGraph" value="V2"
      onClick="swapGraph(GraphS, GraphJ, GraphM);">de la semaine par jour
    <input type="radio" name="radioGraph" value="V3" checked
      onClick="swapGraph(GraphM, GraphJ, GraphS);">du mois par semaine
  </form>
  <!--graph:
  taille=250 150
  Couleur1=#7bc145 #FFFFFF
  Couleur2=#ed2024 #FFFFFF
  -->
  <span id="GraphJ" style="display='none'">
    <img border="0" src=graphJ.bmp>
    <img border="0" src=graphJCA.bmp>
  </span>
  <span id="GraphS" style="display='none'">
    <img border="0" src=graphS.bmp>
    <img border="0" src=graphSCA.bmp>
  </span>
  <span id="GraphM">
    <img border="0" src=graphM.bmp>
    <img border="0" src=graphMCA.bmp>
  </span>
 
</center>
 
</div>
 
</body>
<script language="Javascript">
dimensions ();
resizeImage();
</script>
</html>
Par avance merci.
DaSNyB est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/09/2011, 22h36   #2
Modérateur
 
Avatar de NoSmoking
 
Homme
Inscription : janvier 2011
Messages : 2 944
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France, Isère (Rhône Alpes)

Informations forums :
Inscription : janvier 2011
Messages : 2 944
Points : 4 779
Points : 4 779
Bonsoir,
plusieurs questions
Citation:
...cette page s'affiche dans mon logiciel...
qu'est ce mon logiciel ?
Citation:
...je voudrais bien exporter/sauvegarder les résultats de la page générée dans mon logiciel...
on parle de la page HTML générée, et disponible dans le navigateur ?

dans le doute, un petit formulaire et une soumission traitée coté serveur, PHP ou autre, devrait régler ton problème.
NoSmoking est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/09/2011, 16h06   #3
Invité de passage
 
Homme
Chocolateur
Inscription : septembre 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Chocolateur
Secteur : Transports

Informations forums :
Inscription : septembre 2011
Messages : 4
Points : 0
Points : 0
Bonjour,

En effet quelques réponses semblent nécessaires :

Le logiciel est EBP Point de Vente.

Il Utilise le moteur de IE pour afficher sa fenêtre, donc ce n'ai pas à proprement parlé un navigateur...

J'envoi en pièce jointe une copie de l'écran que je souhaite sauvegarde à une intervalle régulière et envoyer en email

Merci
Images attachées
Type de fichier : jpg EBP.jpg (104,3 Ko, 4 affichages)
DaSNyB est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/09/2011, 19h10   #4
Modérateur
 
Avatar de NoSmoking
 
Homme
Inscription : janvier 2011
Messages : 2 944
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France, Isère (Rhône Alpes)

Informations forums :
Inscription : janvier 2011
Messages : 2 944
Points : 4 779
Points : 4 779
Citation:
Envoyé par DaSNyB Voir le message
J'envoi en pièce jointe une copie de l'écran que je souhaite sauvegarde à une intervalle régulière et envoyer en email
je ne connais pas la bête, entre bien d'autres choses, mais si tu l'envoies sur le serveur, c'est sur le serveur donc que cela doit se passer.
NoSmoking est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/09/2011, 20h37   #5
Invité de passage
 
Homme
Chocolateur
Inscription : septembre 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Chocolateur
Secteur : Transports

Informations forums :
Inscription : septembre 2011
Messages : 4
Points : 0
Points : 0
Absolument pas de serveur entre l'interface d'EBP et moi.

Est-ce que la fonction
Citation:
function WriteToFile()
pourrait m'aider ?
DaSNyB est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/09/2011, 22h25   #6
Modérateur
 
Avatar de Vil'Coyote
 
Développeur Web
Inscription : février 2008
Messages : 3 307
Détails du profil
Informations personnelles :
Âge : 31
Localisation : France, Marne (Champagne Ardenne)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : février 2008
Messages : 3 307
Points : 4 488
Points : 4 488
Citation:
Envoyé par DaSNyB Voir le message
Absolument pas de serveur entre l'interface d'EBP et moi.

Est-ce que la fonction pourrait m'aider ?
si j'ai tout lus comme il faut, la fonction que tu indique est du java et non du javascript. javascript ne permet en aucun cas d'enregistrer des données sur un disque. il faut pour cela obligatoirement un langage serveur donc php, asp ... donc en gros s'il sagit d'un applicatif sans serveur alors ce n'est pas possible d'automatiser la chose. sauf d'utiliser un joli script vb.

Pourrais tu expliquer un peu plus l'architecture autour de ton appli ?
Vil'Coyote est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/09/2011, 23h51   #7
Invité de passage
 
Homme
Chocolateur
Inscription : septembre 2011
Messages : 4
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France

Informations professionnelles :
Activité : Chocolateur
Secteur : Transports

Informations forums :
Inscription : septembre 2011
Messages : 4
Points : 0
Points : 0
Bonsoir,

J'essaie d'expliquer avec mes mots ce que je souhaite réaliser.

Il s'agit d'un logiciel EBP Point de Vente qui utilise du html comme tableau de bord (voir mon 1er message) et le résultat à l'affichage de cette page dans mon logiciel EBP Point de Vente que je souhaite sauvegarder... Dans ma tête je voudrais bien mettre un bout de code dans cette page appelée 'tableau de bord' afin de sauvegarder tous les éléments générés...

Par exemple le résultat de ce code dans la page :
Code html :
1
2
3
              <td><font size="1">Chiffre d'affaire TTC :</font></td>
              <td nowrap align="right"><font size="1" color="#484848"><b>${Variable.ResPrecCATTC,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>

J'espère que je suis clair...
DaSNyB est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 14/09/2011, 12h54   #8
Modérateur
 
Avatar de Vil'Coyote
 
Développeur Web
Inscription : février 2008
Messages : 3 307
Détails du profil
Informations personnelles :
Âge : 31
Localisation : France, Marne (Champagne Ardenne)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : février 2008
Messages : 3 307
Points : 4 488
Points : 4 488
Citation:
Envoyé par DaSNyB Voir le message
Bonsoir,

J'essaie d'expliquer avec mes mots ce que je souhaite réaliser.

Il s'agit d'un logiciel EBP Point de Vente qui utilise du html comme tableau de bord (voir mon 1er message) et le résultat à l'affichage de cette page dans mon logiciel EBP Point de Vente que je souhaite sauvegarder... Dans ma tête je voudrais bien mettre un bout de code dans cette page appelée 'tableau de bord' afin de sauvegarder tous les éléments générés...

Par exemple le résultat de ce code dans la page :
Code html :
1
2
3
              <td><font size="1">Chiffre d'affaire TTC :</font></td>
              <td nowrap align="right"><font size="1" color="#484848"><b>${Variable.ResPrecCATTC,P:0}
                ${Societe&gt;Link3C58.Symbole}</b></font></td>

J'espère que je suis clair...
et donc on en revient à a ce que j'ai indiqué juste avant. tu ne peux pas sauvegarder des données via du javascript. donc regarde éventuellement vers du vb script mais javascript n'est pas la solution.
Vil'Coyote est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 00h06.


 
 
 
 
Partenaires

Hébergement Web