
MrChris
Active Members-
Posts
112 -
Joined
-
Last visited
Everything posted by MrChris
-
How would I go about setting a paticular IP Address scriptomaticy on a 2003 Server box under the Dial-In Tab in a NT User Account. I looked at net user /add command line but cant find the switch that allows me to set the Static IP that gets asigned to a user account when using built in Windows VPN Server/RRAS. Hope this make sense. Thanks in advance MrChris
-
I guess it would be easier to just ref the below sample which produces the same end result. Thanks again. $Cmdline[1] ; which is the first param passedoÝ÷ Ù«¢+ØÀÌØí µ±¥¹lÉtìÝ¡¥ ¥Ìѡͽ¹ÁÉ´ÁÍÍ MrChris
-
Thanks. I think I might be able to work with that. At least after a 30sec quick test. Now if I can figure out how to not include the "/" in the var? Thanks again.
-
Thanks for the reply. I did find in the help file how to pass a switch to a compiled script but not how to set the passed switch to the compiled script. Il check again and make sure I didnt miss that section as some of it was a little greek to me. Thanks, MrChris
-
How can I get and set a environment var from a command line that is passed while launching my compiled script? for example if I run from windows "compiledscript.exe /test" or "compiledscript.exe /test /test2" I would like to set "test" and or "test2" as a $var that can be used in my script to make my script a little more user dynamic? Hope this makes sense! Regards, MrChris
-
Include Compiling Script using FileInstall?
MrChris replied to MrChris's topic in AutoIt General Help and Support
DOH! I cant believe I missed that one. (Actually I can) Thats what I get for being in a rush. And not surching as much as I could have. Thanks MrChris -
I have a script that has a few switches that can be passed via command line interface at runtime. One of those switches is /Install to install the script and register as a service. Inside the /Install function I have a FileInstall() function that is installing my main script. If that makes sense. Im trying to compile my script as file.exe When I compile the script it tells me on the same line as the FileInstall() that the file.exe does not exsist. Which is true becuase it wont exsist until the script is compiled. How can I get around this without having to have the /install function be in a different compiled script all by itsself? Hope this makes sense. Thanks, MrChris
-
One of my scripts Im working on uses IE.Au3 include to create a internet explorer window in my GUI and navigates to a webpage. That webpage attempts to install and run an ActiveX applet. The problem is Im not getting that yellow bar up at the top of the page in my GUI like IE7 prompts when trying to download a file or run an active x script. Below is my function. I think I based it off tweeking the sample in the help. Thanks for any help, Func SymantecScan() _IEErrorHandlerRegister () $oIE = _IECreateEmbedded () GUICreate("Symantec Security Scan", 800, 561, _ (@DesktopWidth - 800) / 2, (@DesktopHeight - 570) / 2, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj($oIE, 1, 1, 800, 560) GUISetState() ;Show GUI _IENavigate ($oIE, "http://security.symantec.com/sscv6/home.asp") While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete() EndFunc
-
I had this happen once when I last opened a Script from a network drive or UNC path that was no longer avail the next time I tried to open SCITec. SciTec tries to load the last opened file everytime scitec start ( I think this can be turned off) Maybe just a thought. MrChris
-
Debug Compiled Script Output to to a text file
MrChris replied to MrChris's topic in AutoIt General Help and Support
Is ConsoleWrite what I am looking for? I cant find how to make it output to a file instead of the console itsself. -
How can I have the consolewritten text be written to a TXT file on the pc the Compiled script is run on? I mean If I test my uncompiled script in Scitec using the "#AutoIt3Wrapper_Run_Debug_Mode=Y" directive I can see what my script is doing on each line while its doing it but when its compiled I dont have that option so I was thinking of having it output to a txtfile for the whole script. Reason: My uncompiled AU3 script works fine but when I compile it and run it stops running somewhere in my script and I dont know why. Thanks, MrChris
-
What is the best way to automate filling out a form that has a username and password and populate the output of the page after logged into in my AU3 GUI Script. For example. I create a GUI/Script that when run it automaticly logs into my Exchange OWA Webbased Email and populates the output into my Script/ GUI. I searched for HTTP on the board but I didnt come up with much. Thanks, MrChris
-
Minimize & Restore non-au3 app to systray?
MrChris replied to MrChris's topic in AutoIt General Help and Support
Foowee. I have already gone down that path with no luck. But thanks for the reply. MrChris -
Minimize & Restore non-au3 app to systray?
MrChris posted a topic in AutoIt General Help and Support
I would like to minimize and restore a non-au3 app to and from the systray. What function can do this? I have an app that can currently be minimized to the system tray. I would like to be able to restore and minimize it to its normal window state/size via AutoIt v3. Can this be done? I have looked into SetWinState() but it doesnt seem to work for systray based apps. MrChris -
I have a local webserver running on my local xp box. When I open a webpage and go it the URL it has a username and password page that I want to automate via AutoIt. I have downloaded the HTTP.au3 UDF but am not understanding where I put my info that I want to put into each field of the form. I know I dont edit the UDF but rather make my own script that INCLUDES http.au3. What do I need to do? Where can I get a sample of such a thing that I can play with? that has this type of thing done. Thanks
-
DOH!
-
LMFAO Its reasons like that why I do not use IE unless I absolutley have too, even then I end up wearing a few rubbers just in case. MrChris
-
Ok. I just logged in useing IE v6 and made sure all my cookie settings are enabled and nothing it blocking them and still same error. Hmmmm. MrChris
-
Ohhh OK. It must check IE cookies then. I dont hardley ever use IE. I mainly use firefox and even then I use portable firefox. Thanks, MrChris
-
This might be Ok i think. I was just looking to parse an entire folder that has like 100+ files in it in different subfolders then take that output and past it into my AU3 file where I need it to go. Is there a script that does this already or close to it? MrChris
-
Keeps telling me I need to be a registered member of AutoIt before I can use EnCodeIt? Whats that mean exactly? MrChris
-
I searched the Scripts and Scraps but didnt really find what I was maybe looking for but, Is there any script that might already be made to Automaticly parse a whole folder for files and subfolders and populate it to a AU3 file with FileInstall functions? Kinda like the Reg2AU3 one someone refered me to a while back? Thanks, MrChris
-
Im not sure if I am missing something or not but I am unable to add a MainMenu to my new GUI I am making. When I click on the mainmenu button on the toolbar of Koda then click on my form near the top nothing happens. I am using v1.5.1 from the latest Beta of AutoIT v3.2.1.1. Am I missing something? Many thanks, MrChris
-
Display MSGBOX but still have script continue?
MrChris replied to MrChris's topic in AutoIt General Help and Support
Thanks for the help SmOke_N yet again. Let me rephrase the question a little. My MSGBOX does not ask a yes or no question but rather a OK button to continue. I know how to make the script continue after pressing OK but was hoping there was a way I would be able to have some type of Message be displayed while something is happening in the backround per my script. In other words I have my script use the RunWait function with the SW_HIDE option and it sometimes takes about a minute or so for it to continue and was hopeing to notify the user that it is working and to be paitent and then notify them when it is done or something to that nature. Hope this makes a little more sense. MrChris