Ha pasado un dia casi. Tecnicamente puedo volver a postear sin hacer doble post.
Ay! otra vez me ha entrado el panico...![:rolleyes: :rolleyes:](https://forum.elhacker.net/Smileys/navidad/rolleyes.gif)
Como lo podria hacer? Ideas, pistas, algo...![:P :P](https://forum.elhacker.net/Smileys/navidad/tongue.gif)
Gracias.
A ver, si tengo el input... podria hacer un getElementById().value = srtrLine?
O no es igual que la multiplicacion, el orden de los factores no altera el producto?
Es que no se como obtener el vale de un txt para meterlo en una variable![:laugh: :laugh:](https://forum.elhacker.net/Smileys/navidad/laugh.gif)
Porque solo me sale asp, ademas lo quiero ya encontrar hecho a ver si lo encuentro...![>:D >:D](https://forum.elhacker.net/Smileys/navidad/evil.gif)
Ostis: http://ezinearticles.com/?VBScript---FileSystemObject&id=294348
To enable the use of friendly names for these modes add the following constants to your script:
Es decir, a ver...![:o :o](https://forum.elhacker.net/Smileys/navidad/shocked.gif)
Ehm vale....
objTextFile.WriteLine("Hallo world")
Problema, como le meto el input del text?![:-\ :-\](https://forum.elhacker.net/Smileys/navidad/undecided.gif)
Un saludo.
Nov no te quejabas de que no probaba:
Problema:
![](http://i.imgur.com/NVkSE.png)
Un saludo.
Probando probando hice esto:
y
Y si funciona, pero no se como poner en "Test"
La variable del input y que se actualice automaticamente.
Un saludo.
Ay! otra vez me ha entrado el panico...
![:rolleyes: :rolleyes:](https://forum.elhacker.net/Smileys/navidad/rolleyes.gif)
Como lo podria hacer? Ideas, pistas, algo...
![:P :P](https://forum.elhacker.net/Smileys/navidad/tongue.gif)
Gracias.
A ver, si tengo el input... podria hacer un getElementById().value = srtrLine?
O no es igual que la multiplicacion, el orden de los factores no altera el producto?
Es que no se como obtener el vale de un txt para meterlo en una variable
![:laugh: :laugh:](https://forum.elhacker.net/Smileys/navidad/laugh.gif)
Porque solo me sale asp, ademas lo quiero ya encontrar hecho a ver si lo encuentro...
![>:D >:D](https://forum.elhacker.net/Smileys/navidad/evil.gif)
Ostis: http://ezinearticles.com/?VBScript---FileSystemObject&id=294348
To enable the use of friendly names for these modes add the following constants to your script:
CitarConst ForReading = 1
Const ForWriting = 2
Const ForAppending = 8
Es decir, a ver...
![:o :o](https://forum.elhacker.net/Smileys/navidad/shocked.gif)
Ehm vale....
objTextFile.WriteLine("Hallo world")
Problema, como le meto el input del text?
![:-\ :-\](https://forum.elhacker.net/Smileys/navidad/undecided.gif)
Un saludo.
Nov no te quejabas de que no probaba:
Código [Seleccionar]
set Linea = document.getElementById("username").value
Set objTextFile = objFSO.OpenTextFile("User.txt", ForWriting, True)
objTextFile.WriteLine(Linea)
objTextFile.Close
Problema:
![](http://i.imgur.com/NVkSE.png)
Un saludo.
Probando probando hice esto:
Código [Seleccionar]
<script>
Function test()
Const ForAppending = 8
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile _
("User.txt", ForAppending, True)
objTextFile.WriteLine("test")
objTextFile.Close
End Function
</script>
y
Citar<input value="Test" onClick="test()" style="position:relative; top:30px;" type="button" />
Y si funciona, pero no se como poner en "Test"
La variable del input y que se actualice automaticamente.
Un saludo.
![:o :o](https://forum.elhacker.net/Smileys/navidad/shocked.gif)