
BPBNA
Active Members-
Posts
168 -
Joined
-
Last visited
Everything posted by BPBNA
-
I don't think all this explaining and troubleshooting needs to be done. Azu, you said your functions point to another which points to another which eventually points back tot he first one. So lets say you start up the script.... 100ms pass and it runs the function in your AdlibEnable. That function runs then calls the next and so on till it gets to the beginning again. While those functions are still executing since they stay in a loop, your AdlibEnable runs again and again causing multiple loops. When your functions call the other functions, remember that that function does not complete until the function that it calls completes and so on and so forth until the last function calls the first function again and wont end till the first one ends but the first one wont because all the others are still running(I know... that was confusing) I don't see how thats hard to understand? Just put your functions in a while loop and use the returns to see what function to call next.
-
Yeah, I know how that works, I used the StdoutRead($map) and stringtrims to get the drive letter. Ive never used quotes in my net use command and there are no spaces in the name. Would it still make a difference? I can map the drive straight to the second folder. I think the folder2 which in my case is called ibm is shared. I have had no problems mapping this drive on my own account. The problem occurs when I try to authenticate with Novell through the command line through this other account.
-
I'm trying to map a drive in my script using a Novell username/password. For some reason I can map one Novell drive in an AutoIt v2 script but not in v3. Here are the lines I've tried from my scripts. I am using server1 for the one drive that I can map in v2 and server2 for the different drive I can't map in v3. The accounts are setup correctly I just cant seem to find a way to authenticate to the server when I'm logged on as a different user. I used RunAsSet too but that authenticates to the AD which does nothing for me. The v2 line is(this works): RunWait, %COMSPEC% /C net use U: \\\\server1\\folder1\\folder2 password /USER:username The v3 lines that I have tried are: $map = Run(@ComSpec & " /c Z:\MAP.exe N server2/folder1:folder2", "", @SW_HIDE, $STDOUT_CHILD) $map = Run(@ComSpec & " /c net use * \\server2\folder1\folder2 password /USER:username", "", @SW_HIDE, $STDOUT_CHILD) $drive = DriveMapAdd("*", "\\server2\folder1\folder2", 0, "domain\username", "password") Has anyone ever run into this?
-
If Blizzard catches you using an AutoIt script while you have the game running there could be consequences, including a permaban for using third party software.
-
I see nothing wrong with th.meger UDF. Unless you tell them how it knows to only do it on that computer, then they won't know where to find the information in the registry. Why not just use the drive's serial number instead? Better yet, I don't know how to get this information(never tried), but try using the MAC address. The only way a computer can have the same MAC address as another is if you move the network card between the computers. I'm not sure how hard people are going to try to pirate this amazing software, but I'm sure they wont switch network cards just to use it.
-
I don't think azeazezar meant to offend. He is just offering a suggestion, yet I agree with Bez. You won't know that you got the email for a little bit unless you sit there hitting send/receive or have the timer to check for new emails set very low. I haven't seen Paulies script, but just because it displays the price a different way than you would like, doesn't mean you cant change it a little.
-
$ebox = GUICtrlCreateEdit ($eula, 203, 78, 282 , 200, $ES_READONLY+$WS_VSCROLL)
-
Correct me if I'm wrong but I'm pretty sure Ctrl+F5 will do a complete refresh of the web page and ignore the cache.
-
I'm sorry if you think im trying to be a smart ass. Looks to me like your asking for help in both. Even if you aren't, its still the same topic and I'm sure it would be easier for people if it is all in the same thread.
-
Please do not double post. http://www.autoitscript.com/forum/index.php?showtopic=31569
-
Looks like that is the problem... weird. I'm running WinXP SP2 with XP theme and its centered. Edit: what about $BS_CENTER? From the help file - "Centers the text horizontally in the button rectangle." I tried switching to classic to test it, but it stayed the same even without the $BS_CENTER... I didn't restart though.
-
Wildcard in FileCopy destination
BPBNA replied to jjppark's topic in AutoIt General Help and Support
The .default, I'm assuming, is the file extension that its going to have. Is this correct? -
Use GUICtrlRead to get the entered information and write it to a file with either FileWriteLine or _FileWriteLog.
-
Wildcard in FileCopy destination
BPBNA replied to jjppark's topic in AutoIt General Help and Support
You would have to have a way to check which user unless your trying to copy it into all the users folder, in which case you could use FileFindFirstFile and FileFindNextFile I beleive. -
Q. about good programming practice
BPBNA replied to CWorks's topic in AutoIt General Help and Support
Hah! Nice. -
Q. about good programming practice
BPBNA replied to CWorks's topic in AutoIt General Help and Support
I think hes asking if its good programming to use functions for the majority of your script. This is true to a point. You dont want to make EVERYTHING into a function, just the stuff that you use more than once. It makes it easier to debug when you can isolate a block of code(the function) to fix. If you want to bypass that part, you only have to comment out one line. Functions should be used in all scripts IMO. -
Ah! that link is perfect! I guess I didn't see it when i was searching 0_o Thanks!
-
I've taken a look at how to use COM objects and Dlls and such. I don't know if im slow or something but I just don't get how to use them. For Dlls, I can find the different functions inside the Dll but I'm not exactly sure how to use them. How do I know when to use str or int and such. For COMs I'm not sure where to get alot of the information or how to use it. If anyone can point me in the right direction or has some examples of exactly how to use it. And yes, I've looked at the help file and I'm still a little confused. Any help is greatly appreciated! PS: I'm not trying to do anything specific at the moment, I'm just trying to learn more
-
Make sure the title of the window is correct. Make sure it is the full title, otherwise use Opt("WinTitleMatchMode", 2) Some games also block input from outside programs like Autoit scripts and such.
-
Whats with this? $Decimal = 2170913 $HexColor = "0x212021" & Hex($Decimal) MsgBox(64, "Debug", "$HexColor = " & $HexColor)oÝ÷ Ù(hºWg¶+[zØb²X¤xö®'©¢Ë^uæ«'«jëh×6$Decimal = 2170913 $HexColor = "0x" & Hex($Decimal) MsgBox(64, "Debug", "$HexColor = " & $HexColor) I also agree with PsaltyDS... I used to play D2 and those bots were just annoying, I dont think anyone even pays attention to them any more, let alone plays that old game
-
Doesn't hitting stop or ESC end playback?