Jump to content

redndahead

Active Members
  • Posts

    441
  • Joined

  • Last visited

About redndahead

  • Birthday 05/07/1979

Profile Information

  • Member Title
    Wishing autoIT was part of windows.
  • Location
    Delhi, USA
  • WWW
    http://www.damoores.com

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

redndahead's Achievements

Universalist

Universalist (7/7)

0

Reputation

  1. I would like to create a treeview control with checkboxes. When the parent checkbox is selected all the children get selected. I have created a script that waits for the message from the parent and then it checks the ones that are children. The problem is that a message also occurs when you click the minus sign next to the checkbox which doesn't necessarily mean they checked the box. Has anyone found a work around to get this to work? red
  2. Yeah I want it to be whoever is logged into the machine. I've thought about having a seperate script that continually runs on the machine and waits for a window that the other script pops up. But that would be a last resort for me. What goes wrong is in the file save dialog if you click on desktop it tries to go to C:\documents and settings\localservice\desktop Which doesn't exist. I need it to point back to the user that's logged in. red
  3. I have a script that is called from another program. This other program runs this script using the localservice account. I need to call a filesavedialog, but it always references the localservice account and not the local account. Any ideas on how to run it as the local user? I don't know the password to the local account, but I know the username. red
  4. After doing some testing it looks like it can read any stream. So, so far so good. Now I need to figure out when it's done writing to the console. Redmon is sending an eof so it exits, but it restarts for each page it sends. So I end up missing information.
  5. It looks like ConsoleRead only reads autoIT streams. Am I correct on this?
  6. There is a program called redmon that sends printer streams to programs. This is from their help file I can't quite figure out what function to use to read the stream. (If it's even possible.) Any help would be appreciated. Thank you, red
  7. Looking at what you are doing have you tried setup.exe /v" /passive"
  8. Valik, First don't treat me like a newbie. I have been here much longer than you. I know how to write a script. Secondly. There is your example. I do not have a website you can test as this is internal authentication. If I use curl this works. So I was thinking there might be a limitation to the inetget() function when authenticating. I'm sorry I can't give you a server to test it with, but that is the script plain and simple. Inetgetsize() works inetget() doesn't. Is there a reason a web server would let you get the size of the file but not download it? Third: I didn't state the previous thread so here it is. http://www.autoitscript.com/forum/index.ph...=ST&f=2&t=24850 In that you say: So my hope was that whatever the "more work" is may help the problem I am having. red
  9. do the same thing as you would from dos, but for your script you would do Runwait(@comspec ' /c mydosline','',@SW_HIDE) red
  10. Moving off of a previous thread Valik you said you have more to do to the InetGet(). May I ask what it is? I have a current issue that I can't seem to get fixed. My script will look like this. $FileSize = InetGetSize('http://user:password@mysite.com/subsite/filename.cab') $Inetcheck = InetGet('http://user:password@mysite.com/subsite/filename.cab', 'c:\') MsgBox(0,'',$FileSize & @CRLF & $InetCheck) $FileSize will return the correct file size, but $InetCheck will return 0 and not download the file. Am I missing something? red
  11. Ok I think I misstated. It would be installed sequentially. When I said at one time I meant before a reboot. Now the answer about using a select/end select sounds like a good idea, but I have to dynamically create how many cases I'm going to have, because each run of the program will have a different amount of programs that will need to finish install at reboot. That's the hurdle I'm trying to get over.
  12. I'll explain my situation and then what I'm looking for is what do people feel the best way to tackle this is. I have a script that installs software. Sometime software needs a reboot and after relogging in it will continue installing the software. I may install 4 pieces of software at one time that requires a reboot and will finish installation. After the user logs in I will have my software on the top of the run once list so it begins running. I have no way of knowing, or do I, which software will begin finish installing first, second and so on. What I need my script to do is watch for these windows after restart wait until they are finished installing and after all of them are done installing finish my script. 1) Is this possible. 2) What would be the best way to approach this? Thanks for any help. I know that this description is somewhat confusing, but I think it's best to have people ask questions if they don't understand and I will answer them asap. red
  13. I did self delete remove itself. Delete running script. All of it turned up 100 pages of unassociated stuff. Thanks for putting me to the right place.
  14. I know it's been said somewhere on this forum, but I can't find it through search. How can you make a script delete itself? Thanks red
  15. Sorry for the late reply, been busy lately. Thanks for the help. I figured out why I was getting the error. The first example given was creating the file mine was already created. So the ObjGet works thanks everyone. red
×
×
  • Create New...