Jump to content

1bobby

Active Members
  • Posts

    46
  • Joined

  • Last visited

About 1bobby

  • Birthday 04/26/1937

Profile Information

  • Location
    Jupiter

Recent Profile Visitors

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

1bobby's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Sorry, I lied. This time it did work, sorry as usual, and THANKS
  2. That didn't seem to work?
  3. Just asking, has anyone else noticed this, or am I cracking up? Until a couple of days ago, when I work on a script in Scite the background was a white and the characters where the standard colors that they always were according to the color control file. Now it seems they have a blue tent and print out on the printer with a gray tent background. This has occurred on two different computers. All scripts are now the same, and I think this is true looking back at older print outs of older script. If I print an older script that printed on white background, it now comes out with the blue tent! Is there any way to go back to the white background? This would help older scripter that are half blind.
  4. Not too sure what I am doing wrong, but must be something! I want to open IE and send an address to the address bar no matter what home page is set to. Then make and entry and go to that server address, and open a program. The attached is the window info that I get when looking at the field. I have tried several different control commands and can't seem to send the address to the address bar. In the last case where the home page was yahoo home page, it went into the search field of yahoo. wininfoie.bmp
  5. Volly, To tell the truth, being still a new bee at this, I never knew about it. Sure solved the problem and again I say Thank you. bobby
  6. #cs The main effort is to remove several service programs by pushing out the script at night so no manual intervention. The programs to be removed are Ad-ware, spybot and command antivirus. Once this is done, we want to install the Blink antivirus which includes all the functions of the removed programs. Can I use the following key to remove the AD-Ware program ver 7 for a computer? If I put it in the start run command, it will remove the program with no problem or input from me. But I can't seem to get it into autoit and it will run with no input from me. I can seem to get either one of the following runwait, or the Shellexecutewait to find the file. The runwait just blows right through doing nothing and the Shellexecutewate can't find the file? Acording to the error message. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\msiexec.exe/x{DED53B0B-B67C-4244-AE6A-D6FD3C28D1EF} /passive Func Radware78() ;==> Remove version 7 and/or 8 ; check and see if Adware 8 is that, if so 7 can't be as 8 removes it If FileExists("C:\Program Files\Lavasoft\Ad-Aware 2007") Then ;RunWait("msiexec.exe/x{DED53B0B-B67C-4244-AE6A-D6FD3C28D1EF}") ;ShellExecutewait(@WindowsDir & "/system32/msiexec.exe/x{DED53B0B-B67C-4244-AE6A-D6FD3C28D1EF} /passive") ;MsgBox(4096, "Blink Clean", "msiexec.exe/x{DED53B0B-B67C-4244-AE6A-D6FD3C28D1EF}") Sleep(50000) EndIf EndFunc ;==> Remove version 7 and/or 8 Thanking you in advance, as I am sure you can show me the error of my ways. 1bobby
  7. Actually, in the code I do have the space /q. I have been changing it so much, when I copied the code, I just added the /q as I would like to get it working. The task in what we call net keeping. We make changes to all the PCs so 300 plus. Some of the stuff needs to be done in the administration mode, while the rest much be in the user profile. The problem is the programs just dont run.
  8. I am still having problems with the RunAsWait command. Along the same lines, can't seem to get the quiet switch to work in the install programs. I am checking to find out if a program (or update) in installed and if it is, I skip the install. If not I try and run the install/update. I have tried the local machine administrator, Domain is the local machine name and the password is the password for the local machine. Just flys through the function saying it is installed. I have three such functions, of for IE7, Widnows SP3 and Office SP3. All do the same thing. A sample of the code is as follows: Func InstallIE7() If Not FileExists(@WindowsDir & "\ie7") Then RunAsWait("Admin user", "Domain", "Password", 0, @ScriptDir & "\Files\IE7-WindowsXP-x86-enu.exe/Q","", @SW_MAXIMIZE) Sleep(100) MsgBox(4096, "MK2008", "Installed IE7", 4) EndIf MsgBox(0, "NK08", "IE7 installed", 1) ;SUIExplorer() EndFunc ;==>InstallIE7 Note: Code is all on one line i.e.@ SW_MAXIMIZE Any suggestions? I am thinkfull for any help, Thanks in advance. bobby
  9. Know this is something that I do not understand with the RunAs command. I have a script that runs from a memory stick that does updates to the local software and makes user configuration (logged in as the user) changes which can only run as admin . I have to get files from the network, which has hidden directories, and requires admin to get to the files. Users are part of the power users group. This is a test script to test the feature. The script runs from the memory stick ok, but never pulls the program from the network hidden directory. I am missing something in the understanding of the RunAs command. Totally confused yet? I am รจ bobby Code: MsgBox(0, "Testing", "trying to run now", 1) Sleep(50) RunAsWait("bobbyb", "jupiter", "XXXXXXXXX", 1 , "\\troi\apps2$\is test\calculator.exe", "" , @SW_MAXIMIZE ) Sleep(2000) MsgBox(0, "testing", "I ran it", 1) Exit
  10. That is just what the Doctor ordered. Reminds me of the old Assembly days doing machine langage programming days. Thank you, never saw that in the Tidy. bobby
  11. Guess it was a dumb idea, sorry!
  12. Just curious if there is a Cross Reference for Variables fields available that would tell the source of the $name fields and the address (line numbers) that make reference to that locations. Back in the old days we could get one from the complier program. This was a good tool to locate what a variable name contains, and who changed it. Just hoping I guess. I seem to get lost pretty easily in my old age
×
×
  • Create New...