Jump to content

RìggníX

Active Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by RìggníX

  1. but how can i get the window handle??
  2. hi i want to check, if my script alreasdy is opened if the user clicks the .exe file. und if it's opened in tray, i want to show the main gui. how can i check this?
  3. erm, can an admin please change the title of this thread to "Subnet Mask UDF" and than delete this answer?? thx!
  4. think he means it like that: a gui of a script should be hidden if it's opened at startup, else if you open it manually it should be shown.
  5. ok, now it works well, thx for help! my only mistake with NetShare_NetShareEnum() was that i forgot the double backslash... thx guys
  6. i'm using the program on a administrator account. but it simply doesn't work. the demo file doesn't display an error message and @error = 0.
  7. i'm tryin to make a network manager, so i just want to get the number of shares on a remote computer.
  8. thats exactly my problem. i tried it with _NetShare_NetShareEnum() but just got results of the computer the script is running on. so i was told to connect to the remote computer i'm trying to scan.
  9. ok. i just needed to set a share name. but the script is to check if there are shared resources, so i don't know the names of the shares. any1 got an idea how to solve this?
  10. k, it doesn't work... with _WNet_AddConnection(), _WNet_AddConnection2() and _WNet_AddConnection3() the demo file always returns error code 53. what does this mean? am i doing something wrong? i just entered an ip address into the demo file and removed the ";" in front of the function calls... /signed
  11. hmm, ok... but how can i log on to the server in a autoit script? /signed
  12. hi guys, i've got a problem with _NetShare_NetShareEnum() the problem is posted here: http://www.autoitscript.com/forum/index.php?showtopic=42825 so, how can i log on to the server? and were is NetShare demo? thx for help!!
  13. hi! i tried to get the number of shared folders of a network pc by _NetShare_NetShareEnum() (a func of Auto3Lib). but it just finds shared folders on the pc it's running on. i tried it like this: $ip = "192.168.0.1" $netshare = _NetShare_NetShareEnum($ip) am i doing something wrong??
  14. hi, u guys do good work here, AutoMiner is great! what about this: if a ore is found, check if its distance to the character is big enough, so it won't take ores, that have been dropped on the place, the character is standing... and if the character moves, it would take not more then 1 ore... /signed
  15. ok, e. g. in tightVNC there's a built-in-http server with a java applet which is a vnc viewer. but it doesn't seem to work. my browsers (firefox 2 & ie7) always return "server not found". and on the realvnc HP (the creator of this applet) i found some mails in the mailing archive that there are errors, but i dunno how to solve them... i found the source files of this java viewer here: maybe it can be included in a gui: http://sourceforge.net/project/downloading...e_mirror=belnet /signed
  16. vnc is a way to get a remote desktop. there must run a VNC server on the "target" pc. i don't know, how the control data and the images are transfered, so i hoped, some1 of you know it... /signed
  17. hi is it possible to run a vnc view in a autoit gui? i've searched the forums for something like that, but didn't find something helpful... so, is it possible??
  18. hi! a func that returns the subnet mask. should work with windows in every language..... sorry, made a mistake in the title of the thread SubnetMask, NOT default gateway GetSubnetMask.au3
  19. hmm.... now i tried it with the Auto3Lib func _NetShare_NetShareCheck() , but it also just works on the pc it's running on. i tried it on 3 different pc's with disabled firewall... what am i doing wrong???
  20. well, it works with objGet() ... but: it just works with the pc it's running on. if you try it with other pc's in the LAN, it will always return, that it's no object... so that's not the solution.
  21. hi i'm tryin to change the local ip of the first ethernet adapter. but i want to keep subnet mask, gateway, ... i get the name of the adapter by $cmd = "netsh interface ip show config" $foo = Run($cmd, @SystemDir, @SW_HIDE, $STDOUT_CHILD) $line = "" While 1 $line &= StdoutRead($foo) If @error Then ExitLoop WEnd $adaptorname_start = StringInStr($line, chr(34), 0, 2) + 1 $adaptorname_stop = StringInStr($line, chr(34), 0, 3) $adaptorname = StringMid($line, $adaptorname_start, $adaptorname_stop - $adaptorname_start) now if i run netsh interface ip set address name="LAN" source=static 192.168.0.4 netsh returns a syntax error. any1 got an idea?
  22. it works if i "search" it by GetObj() , but if there are no shared files, it takes a long time to continue the script... so my program is very weak.... some1's got an idea to check it different?? /signed
  23. hi if i try to get a object (GetObj() ) that doesn't exist, it takes too much time that the script will be continued. is there any chance to limit that time?? /signed
  24. it works... thx guys!
  25. i tried it, but i've now idea how it could work... could you please help me??
×
×
  • Create New...