Jump to content

savj14

Active Members
  • Posts

    60
  • Joined

  • Last visited

About savj14

  • Birthday 04/17/1981

Profile Information

  • Location
    U.S.
  • WWW
    http://www.savydesign.com

savj14's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Not sure if anything like this has been done in AutoIt, but after doing some searching I didn't find anything. What I want to do is setup an Unattended/Silent Install of OpenVPN. And then have an AutoIt GUI to handle Connecting and Disconnecting. Somewhat like a Cisco VPN Client, but obviously less complex. The Install Package I have is customized to fit my needs already and I can share the Howto on this. So the first thing I need to figure out I guess is how OpenVPN handles Connecting/Disconnecting. Is anyone interested in helping out with this? I figure we can share code back and forth and have a group effort here.
  2. I can't seem to find a good RSS for Stats. Another thought would be to grab the stats in the Box Scores from Yahoo and somehow keep updating the Stats as they change. Maybe an Auto-Refresh?
  3. Sounds good. I'd love to get this project going. Would an RSS Feed work for pulling real time stats.
  4. This may be more of a Web Developing project than AutoIt. But I figured I'd run it by everyone here and see if this could be done. For those unfamiliar with Yahoo's Stat Tracker, you log in and it will pull the stats for each player on your team. If they are in your lineup it will add/subtract the stats to your totals and if a player is not in your lineup it will not add/subtract the points. It will do the same for each Team in your league so that way you can always see what your Final Score is at any given time. Here is my thought on how it would work(if possible): 1.) Log in using Yahoo ID. 2.) Select Fantasy League ID 3.) Select Fantasy Team 4.) Load League/Team Info 5.) Grab the Stats(Real Time Updates if possible) 6.) Show Realtime Scores between all Team in the League. Again, how hard of a task would this be?? Is this even possible? Where do I even begin to start this project?
  5. Killing the script is no problem. I will leave it in the Tray and exit when I leave. I usually don't logoff as I take my laptop home with me and just leave it in standby mode. As far as Sending the Enter keystroke, I looked into the ControlCommand and wasn't too sure on how I would use that instead of sending Enter
  6. At work we are required to use a VPN in which case is behind a proxy server. When accessing the Internet it requires you to enter your credentials in a pop up login box. I am looking for a way to run a script throughout the day that will Send Enter every time the window pops up. If WinWaitActive("Window Text") then Send("{Enter}") Now how would I loop this until I leave for the day. Maybe keep the icon in the tray and exit the script before I leave. ANy thoughts??
  7. I am trying to create a simple text file that contains the IP Config /all information on a machine. I then want to open the text file for the user automatically. I can write the file it just won't open.........I'd like it to open in notepad if possible, What am I doing wrong?? I don't think FileOpen is making much sense to me. #include <GUIConstants.au3> #include <File.au3> #NoTrayIcon Run(@ComSpec & " /c " & 'cmd.exe', "", @SW_SHOW) WinWaitActive("C:\WINDOWS\system32\cmd.exe") Send("ipconfig /all >c:\ipconfig.txt") Send("{ENTER}") Sleep(1000) Send("exit") Send("{ENTER}") FileOpen("c:\ipconfig.txt",2)
  8. What I have so far will find the existing User if it is typed into the GUI, and shoot back the Msgbox. Except after it still continues and tries to add the user instead of returning until the user is not found. Here is what I have. ;Check to see if User Already Exists $strComputer = @ComputerName $objComputer = ObjGet("WinNT://" & $strComputer) $objComputer.Filter = _ArrayCreate( "User" ) For $objUser In $objComputer If $objUser.Name = GuiCtrlRead($username) Then MsgBox(0,"Error", "Found You") ContinueLoop EndIf Next What am I doing wrong?
  9. How would I go about checking to see if a user account already exists? I'd like to do this check so I can give an error message back if the user account I am trying to add already exists
  10. All right so I am doing all right with adding the user and adding the user to certain groups. Now I am wondering if I can check addition options when creating a user. The following options are available when creating a user account via Computer Management and would like to incorporate these in my script. Options Are: User must change password at next logonUser cannot change passwordPassword never expiresAccount is disabledI'm sure there is a way to do this I just have no clue how to code it. Any ideas?
  11. I have a VBS script to create a Local User and adds them to the Administrator Group. I am trying to convert that script to AutoIt. I will eventually make a GUI and make it look nice. I can't get it to work though. Here is what I have so far. #include <GUIConstants.au3> ; RETRIEVE Computer Name Dim $objNetwork, $strComputerName $objNetwork = ObjCreate("WScript.Network") $strComputer = $objNetwork.ComputerName $strUserName = ("testuser") $strFullName = ("Test User") $strPassword = ("password") $strGroup = ("administrator") ; Code To add User $objSystem = ObjGet("WinNT://" & $strComputer) $objUser = $objSystem.Create("user", $strUserName) $objUser.FullName = $strFullName $objUser.SetPassword ($strPassword) $objUser.SetInfo ; Code to add User to Group $objGroup = ObjGet("WinNT://" & $strComputer & "/" & $strGroup) $objGroup.Add("WinNT://" (& $strComputer & "/" & $strUserName)) Exit I can't seem to get it to work properly and add the user
  12. Enable Task Manager: RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System", "DisableTaskMgr", "REG_DWORD", "0")
  13. I have also wondered if this is possible. And it is for a legitimate reason. The script I am currently working on is migrating users to a domain. Now most user will use the script, but I know a few people who will try and migrate themselves, in which case will not be able to and cause more headaches for me. So I would like to be able to hide the script while it is running so there is no way they can exit out of the script. I really don;t want them to be tempted to use the Task Manager to stop the Process. Maybe I am a little bit paranoid, but it would make me feel better to know the user isn't going to play around while the script is running. To me I feel like it would be beneficial and needed to hide the process. I realize some people would be trying to find this out for "bad" reasons, but I would never do this, as I would be fired if I ever messed around with things like that.
  14. I'm not sure I am following what you are saying. Can you PM me the script you used so I can see if it would help me?? I would appreciate it. I have worked too hard to just scrap my script now, so I hope I can get around this bump in the road.
×
×
  • Create New...