-
Posts
78 -
Joined
-
Last visited
Everything posted by i386
-
Mapping X: drive using a button
i386 replied to ibanezfreak4's topic in AutoIt General Help and Support
I may be wrong, but I think to fix your current function you would have to script it like this: Func MapDrive() DriveMapAdd("X:", "\\Server\Store", 0, "Domain\UserName", "password") RunAs("Administrator", %COMPUTERNAME%, %COMPUTERNAME% & "12345", 0, "your_program_location") EndFunc Then, eliminate the DriveMapAdd at the beginning of your script, because once you click the Map Drive button on your GUI, it will map the drive for you then. Also, make sure that you remove your semi-colons as well that are before each line, otherwise the compiler will skip those lines all together, As for your numbering convention for your password, I am not sure exactly what you mean. -
It may be possible with some hard work and extreme coding. One possibility is that you could take and draw your own GUI and seeing if there is a possibility that you can add your own controls to it as well. For an example of what I mean, check it out here: http://www.autoitscript.com/forum/index.php?showtopic=19370 Another way is that you may have to create your own DLL, C++, or some other source code file to do it yourself. But, as far as I know, there is no EASY way of accomplishing this possibility.
-
Make sure you are running as an administrator and not just a user. I do believe that schtasks was implemted into the Windows system in some versions of Windows 2000 and above (mostly just the server packages like Windows 2003 Server Edition), I do know that Microsoft is trying to phase out the AT.exe command. If you can't seem to be able to use schtasks.exe then use the AT.exe command. Also, I would do a search for schtasks.exe in the Microsoft KB and see what you can find out there. I know there is alot of help when you search for it in Google. Alot of people as this question constantly.
-
The problem is (atleast that is what I encountered) is that it is running off the d3dx9_33.dll file that is actually a DirectX 9 dll. If you are running DirectX 10 then you will encounter a message that says that d3dx9_33.dll is missing. You can download the file for a few different reliable sources. I had to download it myself cause I am running Vista and DirectX 10 is only supported on the system. All I did was copy the file to the Windows\System directory and then I was able to see it. Swift, what is the problem that you get or are having when you run the script?
-
NOOB question and creative ideas.
i386 replied to Griever's topic in AutoIt General Help and Support
Thank you for not turning this into another one of those unneeded debates over this topic and for the more updated information about being blacklisted and all. I did forget that the script itself is not compiled but just included in the executable interpreter. Thanks again. -
NOOB question and creative ideas.
i386 replied to Griever's topic in AutoIt General Help and Support
@The Kandie Man As long as the script is not doing anything dangerous or destroying the users system, there is no harm at all in creating a script like that or helping to evolve one. People use C, C+, C++, C#, VB, VB.NET, HTML, Python, and everything else there is to create those kinds of programs and none of those programming and scripting languages are blacklisted. The coding is blacklisted. I am not 100% sure on how it all is done but, I do know that it has nothing to do with the language. @Griever The Kandie Man is right, most people on here have take scripting seriously and have banned together and decided not to help with these kinds of things. I understand the concept of a joke and a lot of people on here other than me do as well, but we are trying to keep these forums professional and for legit tech support. Now, if you asked specific questions about certain things that AutoIt can do and maybe post some example code of what you want to do, then we can help you in stages as long as you don't come right out and say that it is for something like this. Remember, doing joke programs can wind you up in jail and much more trouble as well. You have to be really careful on where and how you use it. If you have any questions on how to do something with AutoIt, you can ask anyone here for help. I would even be one of the many people that would gladly be willing to help you personally via PMs and such. But, please, do be careful on what you do here. Anything you do with the AutoIt community will come back to reflect on us all, weather it be good or bad. -
Sounds alot like that one Mac commercial that rags on Windows Vista. LOL! Did you try to use the uninstall program that was created by AutoIt's Installer? You may also have to go through and re-edit all the permissions and make sure you are running explorer.exe as an Admin. That is how I ended up getting around alot of problems myself till my notebook took a crap.
-
It all comes down to this. This forum was created and setup to help people with trying to write their own work. No where on here does it say that this forum was created to pay people to do the work for you. The forum is for collabration and troubleshooting problems that we as developers, administrators, and IT professional are having with either trying to implement AutoIt into something we would like to incorporate it into, problems with the scripting language itself, or problems in general with our own scripts because maybe we are not knowledgeable in that particular area in the language. If someone wants to offer someone money for their work, then great! But, I know, by experience, that I get tired of seeing threads over and over again taking up space and research time because someone and their brother wants to not do the work for themselves or are to lazy to get up off their butt and hire someone full-time to write software for them. Plus, what is the use of writing software or a script that you wrote and selling it for a measly $200 with the rights for resale by someone else that is taking credit for it but didn't even do the work. When, you could hold on to the rights of it and sell it for even more money for yourself. Just tell the person that if they want it then they either use it or pay the cost to have it "customized" the way that they would like to have it. I, myself, would keep the rights to myself and if I choose to sell at some other point in time, then so be it.
-
Pulling out my hair, please help!
i386 replied to happydood's topic in AutoIt General Help and Support
What Windows program? And is it XP? If you can specify what program, maybe we can better help you with your question. Here is a little example of what you can expect with the 'ControlCommand' function. #include <GUIConstants.au3> $s_Title = 'CheckBox Test' $s_Ver = '1.0' GUICreate($s_Title & ' v.' & $s_Ver, 300, 100, -1, -1) $chkbox = GUICtrlCreateCheckbox('State', 10, 10) GuiCtrlSetState(-1, $GUI_DISABLE) $check = GUICtrlCreateButton('Check State', 40, 60) $change = GUICtrlCreateButton('Change State', 180, 60) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $check $x = ControlCommand($s_Title & ' v.' & $s_Ver, '', $chkbox, 'IsChecked', '') If $x = 1 Then MsgBox(0, $s_Title, 'The checkbox state is checked.') Else MsgBox(0, $s_Title, 'The Checkbox state is unchecked.') EndIf Case $change $x = ControlCommand($s_Title & ' v.' & $s_Ver, '', $chkbox, 'IsChecked', '') If $x = 1 Then ControlCommand($s_Title & ' v.' & $s_Ver, '', $chkbox, 'UnCheck', '') Else ControlCommand($s_Title & ' v.' & $s_Ver, '', $chkbox, 'Check', '') EndIf EndSwitch WEnd Exit Edit: Expanded my question and added code. -
@smoke Sometimes, noobs may not know what they are looking for though. And I do know that at times I can be harsh with what I post to and for a noob. But, manadar does have a point. More care and consideration does and should be taken. If someone is completely new to the forums and asks a question that has already been asked and answered...wouldn't it be easier to just allow someone to answer that post instead of filling the post up with useless drama about "use the search form to find the answer" or "look in the help file and search for what you are looking for". I do know from experience that sometimes when I do a search that I don't find what I am wanting and looking for. And then, when I ask I get jumped all over until someone takes the time to try to lead me in the direction that I need to go. Again, I am not trying to offend smoke, but if your child tries to find the answer or do something when your not around, would you not ask, "Did you try and do it on your own?" and if your child says, "Yes, sir, I did try to do it on my own.", and even though you weren't around, would you believe him/her and then try to help him/her with their question? I remember a saying from when I was a child, "There is no such thing as a stupid question, even if the question has been asked millions of times." Don't you think that the teachers, instructors, when we kids were sick and tired of the same questions over and over again? Yeah, I am sure they were, but they are there for a reason. To teach what they know to anyone that is wanting to know. It is better to quinch the thirst that you have for knowledge then to just go thirsty right?
-
I am sorry if I upset anyone on this topic with what I said. With his first post it sounded like he wanted us to script it all for him. And, since all I did was post my feelings about it, I continued to basically sum up what we don't do here in these forums. If I upset anyone, I deeply apologize and and ask for forgiveness of my misunderstanding of the topic. I will do my best in the future to examin the post further before my posting. I am not trying to pad my posting count at all...I only post to what I know or may be able to help out with.
-
Nice job! Will post more comments on it later when I get a chance to look deeper into the code.
-
For one...we are not your scripting slaves. For two...we are here to help with scripting purposes only. For three...we don't do help with cheats, illegal activity, or cracking on this forum. Edit: Used "hacking" instead or "cracking". The difference? The basic difference is this: hackers build things, crackers break them. Read the hackers Jaron File
-
Basic how to with keyboard shortcuts
i386 replied to happydood's topic in AutoIt General Help and Support
Can you supply an example so we can understand completely what you mean? -
I believe the easiest way to do this is to search nonags.com or some other download site that has software that is written in another language that talks more in machine language. Since the language is a little more advanced than AutoIt, then it should do the trick. Or, you could just shut the computer down or unplug the devices during the cleaning process.
-
I don't honestly think that will work. The reason why is because if you either create a new file with the name in the same directory, you will be prompted that the file already exists and you will have to change the name, again. If you change the name of the .exe, depending on the script, the computer (server), or the depending files, computers, or programs would not function and then you might have to restart all of the services and programs. Plus, on some servers and computers, if you try to change the .exe's name, you will be prompted that it can't be done. But, again, that depends on the system and server as well and other variables.
-
I know the feeling of creating something of your own accord and then bragging about it to everyone in site, But, sometimes third party-software is the easiest way to go cause that just means that someone else already did it and now you just have to find someway to implement it all into your script or program (which is the easiest way to do things). But, if you have the time and the energy, then by all means, hack away at it and do your damnedest to script or write it yourself and then puff up stick your chest out and say..."I made that!!"
-
Creating advanced Web Installer GUI...
i386 replied to i386's topic in AutoIt General Help and Support
Never understood why that closes a group. I have never had that in my scripts before and never ran into a problem with it before. Could you further explain? -
Depending on the server that you are using...you should be able to take the executable off line and deny access to it through any web service . But, that is just a guess...or you could set it up to copy itself to the user's computer into either the web browser's temp directory or the computer's temp directory and script it to delete itself after a restart or a certain set time. You could also implement an update feature and have it restart itself once the update is detected or copied to the user's computer.
-
I know the feeling with the toddler thing... My 15 month old son does the same thing. Try searching the forums for "DriveLock" or"CD Drive". Someone came up with a script that communicates with the hardware directly and not just the software and it will lock the drives close, as well as open I believe. Plus, there was some other neat options as well. Guys, Another reason why you may want to lock your CD drives is if you are installing software off a CD in that drive and you don't want that drive to open if you accidentally bump into the eject button. Or if you have a CD with a bunch of scripts on it and you don't want to use that drive for nothing but that CD with scripts on it. It just depends on what your preferences are. Lots of Network Administrators like to lock the drives so other people can't install anything on that computer at all unless they have the script to open the drive or a password for the active script to unlock it.
-
Alright, alright, I am pretty proficient with scripting in AU3. But, I hit a spot where I can't seem to do what I need to do. My code for the main GUI (or form) is this: #include <GUIConstants.au3> $s_Title = 'Web Installer' $s_Company = 'Liquid C4' $s_Ver = '1.0' GUICreate ($s_Company & "'s " & $s_Title, 470, 325, 85, 61) GUICtrlCreateGroup('', 0, 0, 471, 40, BitOR($SS_ETCHEDHORZ, $SS_ETCHEDVERT)) GUICtrlSetBkColor(-1, 0xff0000) GUICtrlCreateLabel('Version ' & $s_Ver, 190, 70, 245, 35) GUICtrlSetFont(-1, 20, 600) GUICtrlCreateLabel('This will install ' & $s_Company & "'s " & $s_Title & _ ' version ' & $s_Ver & ' on your system.' & @CRLF & @CRLF & _ 'This will be a new installation.' & @CRLF & @CRLF & _ 'Press "&Next >>> to continue.', 190, 115, 240, 130) GUICtrlCreateGroup('Navigation', 5, 276, 461, 47) GUIStartGroup() GUICtrlCreateButton('<<< &Back', 71, 288, 90, 30, $BS_FLAT) GUICtrlSetState(-1, $GUI_HIDE) GUICtrlCreateButton('&Help...', 161, 288, 90, 30,$BS_FLAT) GUICtrlCreateButton('&Next >>>', 251, 288, 90, 30, BitOr($BS_DEFPUSHBUTTON, $BS_FLAT)) GUICtrlCreateButton('&Cancel', 361, 288, 90, 30, $BS_FLAT) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit EndIf WEnd Now, my problem is with the GUICtrlSetBkColor(-1, 0xff0000) for the GUICtrlCreateGroup(). When I run the script, it doesn't color the group box. Any suggestions or hints?
-
Where is the source codes?
-
Do a search for 'Koda' or 'Koda 1.6.0.2'.
-
Very nice game. Simple, yet basic. I like it!
-
Thanks...back at ya backstabbed