elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Tutorial básico de Quickjs


  Mostrar Mensajes
Páginas: 1 ... 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 ... 526
291  Foros Generales / Sugerencias y dudas sobre el Foro / Re: Usuario borrado se puede reutilizar en nombre? en: 14 Diciembre 2012, 13:40 pm
Los post de un usuario eliminado aparecen como "Visitante"

Saludos
292  Foros Generales / Noticias / Re: Google no apostará por Windows 8 en: 13 Diciembre 2012, 20:10 pm
No me ofendo para nada, pero es que simplemente no has dicho nada :xD te has limitado a decir que estabas de acuerdo, pero sin fundamento alguno, simplemente porque Microsoft es malo, cuando no hablamos de que Microsoft haga algo, hablamos de que Google haga algo para Microsoft, algo que ya existe pero adaptado a otra versión.

Saludos
293  Foros Generales / Noticias / Re: Google no apostará por Windows 8 en: 13 Diciembre 2012, 19:52 pm
Porque yo también soy ninja y tengo conocimientos del imperio microsoft y desde mi opinión personal donde se meten por norma se suele jod***r todo o casi todo.
¿Si no por que la NASA utiliza GNU/Linux en sus naves y dispositivos en vez de güidows?. :-*

¿Y que tiene que ver eso con desarrollar o no versiones para Windows 8 o WP8? En lo que respecta a Windows 8 al menos, hablamos de adaptar sus ya existentes productos a este SO.
294  Foros Generales / Noticias / Re: Google no apostará por Windows 8 en: 13 Diciembre 2012, 19:32 pm
Me parece una decisión muy acertada. :-*

¿Con que fundamento? :P
295  Programación / Scripting / Re: Amigo Batchero en: 12 Diciembre 2012, 20:07 pm
Hasta que llegas a un punto en que te quedas corto :P Yo desde hace años intento llevar a los usuarios por buen camino, pero hay quienes insisten :xD Lo digo desde el punto de vista de alguien que trabaja como desarrollador :P

Saludos
296  Programación / Scripting / Re: Como puedo hacer un launcher asi, con VBS o con HTML, decidme en: 12 Diciembre 2012, 16:00 pm
Debes de reemplazar "Novlucker" por el texto retornado desde tu archivo
Pero, lo necesito en archivo externo para poder editarlo con BAT.
Seguro que con un par de ajustes lo consigues ;-)
297  Programación / Scripting / Re: Como puedo hacer un launcher asi, con VBS o con HTML, decidme en: 12 Diciembre 2012, 15:12 pm
No me cuesta nada, pero no me creo que hayas hecho siquiera el intento, y eso me molesta :¬¬

Aún sigues con el problema de asignar el nombre de usuario, así que te vuelvo a dar la misma idea por tercera vez;
Código
  1. <html>
  2. <HEAD>
  3. <TITLE>LAUNCHER</TITLE>
  4. <script>
  5. function show(myID) {
  6. document.getElementById(myID).style.display = "block";
  7. }
  8. function hide(myID) {
  9. document.getElementById(myID).style.display = "none";
  10. }
  11. </script>
  12. <style type="text/css">
  13. .panel
  14. {
  15. position:absolute;
  16. width:510px;
  17. height:340px;
  18. top:45px;
  19. left:0px;
  20. text-align:center;
  21. background: #fff url('images/fondo.png') repeat;
  22. }
  23. .subp {
  24. width:382px;
  25. height:340px;
  26. position:absolute;
  27. left:260px;
  28. margin-left:-191px;
  29. top:0;
  30. background-color:#e5eecc;
  31. border:solid 1px #c3c3c3;
  32. }
  33. #wbo {
  34. position:absolute;
  35. width:510px;
  36. height:430px;
  37. left:0;
  38. top:0;
  39. background: #000;
  40. display:none;
  41. }
  42. </style>
  43. <style>
  44. body {
  45. width:100%;
  46. height:100%;
  47. margin:0px;
  48. font-family:arial;
  49. font-size:12px;
  50. }
  51. #table {
  52. text-align:center;
  53. position:absolute;
  54. bottom:0px;
  55. left:0px;
  56. }
  57. #td {
  58. width:170px;
  59. }
  60. .bg {
  61. /* Set rules to fill background */
  62. background: #fff url('images/fondo.png') repeat;
  63. /* Set up proportionate scaling */
  64. width: 510px;
  65. height: 340px;
  66.  
  67. /* Set up positioning */
  68. position: absolute;
  69. top: 45;
  70. left: 0;
  71. }
  72.  
  73.  
  74. .logo {
  75. position:absolute;
  76. width:410px;
  77. height:75px;
  78. top:55px;
  79. left:260px;
  80. margin-left:-205px;
  81. }
  82. .logo2 {
  83. position:absolute;
  84. top:135px;
  85. left:260px;
  86. width:180px;
  87. height:32px;
  88. margin-left:-90px;
  89. }
  90. .login {
  91. width:350px;
  92. height:70px;
  93. background: #808080;
  94. position:absolute;
  95. left:260px;
  96. margin-left:-175px;
  97. top:174px;
  98. border: 5px #000 solid;
  99. }
  100. .wbg {
  101. width:510px;
  102. height:45px;
  103. position:absolute;
  104. top:0px;
  105. left:0px;
  106. background: url('images/wbg.png') repeat;
  107. }
  108. @font-face {
  109.    font-family: 'xeronregular';
  110.    src: url('fonts/xeron.eot');
  111.    src: url('fonts/xeron.eot?#iefix') format('embedded-opentype'),
  112.         url('fonts/xeron.woff') format('woff'),
  113.         url('fonts/xeron.ttf') format('truetype'),
  114.         url('fonts/xeron.svg#xeronregular') format('svg');
  115.    font-weight: normal;
  116.    font-style: normal;
  117.  
  118. }
  119. .back {
  120. width:510px;
  121. height:45px;
  122. background:#000;
  123. position:absolute;
  124. bottom:0px;
  125. left:0px;
  126. }
  127. #byr {
  128. width:125px;
  129. height:25px;
  130. }
  131. #cerrar {
  132. width:16px;
  133. height:16px;
  134. top:15px;
  135. right:16px;
  136. position:absolute;
  137. }
  138. .ser13 {
  139. position:absolute;
  140. left: 260px;
  141. margin-left:-90px;
  142. bottom:55px;
  143. }
  144. #wbod {
  145. width:100%;
  146. height:100%;
  147. }
  148. #back {
  149. position:relative;
  150. top:5px;
  151. }
  152. </style>
  153. <HTA:APPLICATION
  154. ID="HTA"
  155. APPLICATIONNAME="HTA"
  156. BORDER="none"
  157. BORDER STYLE="raised"
  158. CAPTION="yes"
  159. SCROLL="no"
  160. SELECTION="no">
  161. <body bgcolor="000000">
  162. </HEAD>
  163. <body>
  164. <center>
  165. <script language="VBScript">
  166. Function ejecutar()
  167. set objshell = createobject("wscript.shell")
  168. appdata = objshell.expandenvironmentstrings("%APPDATA%")
  169. objshell.run appdata & "\Ikillnukes\MC.bat"
  170. End Function
  171.  
  172. Function opciones()
  173. set objshell = createobject("wscript.shell")
  174. appdata = objshell.expandenvironmentstrings("%APPDATA%")
  175. objshell.run appdata & "\Ikillnukes\OPT.hta"
  176. End Function
  177. </script>
  178.  
  179. <div id="wbod">
  180. <div class="wbg">
  181. <h2 style="color:#fff; font-family: 'xeronregular'; position:absolute; top:3px; left:16px; width:510px; margin-left:-260px; left:260px;"><b>HugeCraft</b><b style="font-family: 'arial';">&#38;#8482;</b><b> - Login</b></h2>
  182. <img src="images/cerrar0.png" onmouseover="this.src='images/cerrar1.png';" onmouseout="this.src='images/cerrar0.png';" onClick="javascript:window.close();" name="btnCerrar" id="cerrar" />
  183. </div>
  184. <div class="bg">
  185. </div>
  186. <img src="images\image2.png" class="logo" />
  187. <img src="images\text.png" class="logo2" />
  188. <div class="login">
  189. <center><br>Usuario: <input type="text" style="width:200px;" name="username" /></center>
  190. </div>
  191. <img src="images/serie1.png" onmouseover="this.src='images/serie2.png';" onmouseout="this.src='images/serie1.png';" onClick="show('serie')" name="btnSerie" class="ser13" />
  192. <div class="back">
  193.  
  194. <table id="table">
  195. <tr><td id="td">
  196. <img src="images/opciones1.png" onmouseover="this.src='images/opciones2.png';" onmouseout="this.src='images/opciones1.png';" onClick="show('wbo')" name="btnOpciones" id="byr" />
  197. </td><td id="td">
  198. <img src="images/jugar1.png" onmouseover="this.src='images/jugar2.png';" onmouseout="this.src='images/jugar1.png';" onclick="ejecutar()" name="btnEjecutar" id="byr" />
  199. </td><td id="td">
  200. <img src="images/creditos1.png" onmouseover="this.src='images/creditos2.png';" onmouseout="this.src='images/creditos1.png';" onClick="show('credit')" name="btnCreditos" id="byr" />
  201. </td></tr></table>
  202.  
  203. </div>
  204. <div id="wbo">
  205. <div class="wbg">
  206. <h2 style="color:#fff; font-family: 'xeronregular'; position:absolute; top:3px; left:16px; width:510px; margin-left:-260px; left:260px;"><b>HugeCraft</b><b style="font-family: 'arial';">&#38;#8482;</b><b> - Opciones</b></h2>
  207. </div>
  208. <div class="panel"><div class="subp">Hello world!</div></div>
  209. <div class="back">
  210. <img src="images/back1.png" onmouseover="this.src='images/back2.png';" onmouseout="this.src='images/back1.png';" onClick="hide('wbo')" name="btnCreditos" id="back" />
  211. </div>
  212. </div>
  213. </div>
  214.  
  215. <script language="VBScript">
  216.    Sub Window_Onload
  217.        strComputer = "."
  218.        Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
  219.        Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor")
  220.        For Each objItem in colItems
  221.            intHorizontal = objItem.ScreenWidth
  222.            intVertical = objItem.ScreenHeight
  223.        Next
  224.        intLeft = (intHorizontal - 510) / 2
  225.        intTop = (intVertical - 430) / 2
  226.        window.resizeTo 510,430
  227.        window.moveTo intLeft, intTop
  228. document.getElementById("username").value = "Novlucker"
  229.    End Sub
  230. </script>
  231.  
  232.  
  233. </center>
  234. </body>
  235. </html>

Debes de reemplazar "Novlucker" por el texto retornado desde tu archivo

Saludos
298  Programación / Scripting / Re: libro "python para todos" equivalencia en un curriculum en: 12 Diciembre 2012, 01:51 am
Si leo 28 libros avanzados de python y programo 3 líneas también seguiría siendo básico :P

Saludos
299  Programación / Scripting / Re: Como puedo hacer un launcher asi, con VBS o con HTML, decidme en: 11 Diciembre 2012, 15:06 pm
Pero es que te había dado una pista ...
Sobre tu problema con el leer, por que no tienes una sola función leer? desde vbs también puedes utilizar getelementbyid

Han pasado dos días y parece ser que sigues sin avances ... dices que has programado en varios lenguajes, ¿por que simplemente no lo intentas en uno de esos que si manejas?

Saludos
300  Programación / .NET (C#, VB.NET, ASP) / Re: Se puede desactivar y activar esto desde mi programa ??? en: 11 Diciembre 2012, 02:01 am
Efectivamente es como tu dices :-\

Saludos
Páginas: 1 ... 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 ... 526
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines