Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/25/2014 in all areas

  1. Just a small remark if I may. More correct usage of the operator would be: GUICreate(($mode = 1) ? "Test Mode 1" : "Test Mode 2", 300, 300) Purpose of ternary operator is not to replace If...Then.
    2 points
  2. 3jameo3

    Scripts are not running

    ive made it work with a few other softwares all you should need is the principal behind the winzip one to make it work ill get a vlc installer and test it out
    1 point
  3. Look, I realize that English is not your native tongue, as I stated in my reply to your uncalled for but tolerated since you weren't asking me for help PM, and as stated in at least one other post here, but you are going to have to think out your words more carefully in the posts you make here. The code fixing answers that JLogan3o13 and Melba23 made in this thread are pretty much exactly the same. The only difference is JLogan3o13 saying what needs to be done, and Melba23 showing you the unworking code and the working code. Now don't take this as me flaming you, I'm not trying, or doing, that. I realize that the world is a big place, and English is not everybody's first language. However, this forum's primary, and only, language is English.
    1 point
  4. yousefsamy, You have already been told. Your present code: GUICtrlSetData( $Combo1 , "Restart |Log off") You have an extra space after "Restart so the comparison ElseIf $c = "Restart" Then will never be true. Change the line to read: GUICtrlSetData( $Combo1 , "Restart|Log off") and it will work. M23
    1 point
  5. Hm. Why wouldn't one be allowed to write and use function like this: Func Adlib($vFunc, $bDereg = False) ($bDereg ? AdlibUnRegister : AdlibRegister)($vFunc) EndFunc ...in AutoIt that's perfectly valid, but AU3Check after being "fixed" by jpm will say you have error in the code. Why?
    1 point
  6. jpm

    TCPRecv and v3.3.12.0

    My upload test of AutoIT3.exe is using the exact @progandy code, so my concern is to understand if such use of non-blocking socket can be used in other place at least in TCPRecv as you suggest without bringing some regression.
    1 point
  7. water

    Active Directory UDF

    _FileReadtoArray then loop through the array and call _AD_AddUserToGroup for each entry.
    1 point
  8. $var0 = GUICtrlRead($Input5) $var1 = GUICtrlRead($Input6) $var2 = GUICtrlRead($Input1) $var3 = GUICtrlRead($Input2) $var4 = GUICtrlRead($Input3) $var5 = GUICtrlRead($Input4)
    1 point
  9. ripdad

    TCPRecv and v3.3.12.0

    jpm, That IS exactly how it is. I've learned over the years to never take MSDN as absolute. Especially when they name example usage as LEAN AND MEAN. It's like pulling teeth to get a peek at the light for all the darkness.
    1 point
  10. I do this via registry keys. Although you have to use the target of the .lnk file and not the lnk file itself. Find the target of your shortcut, I'll use "C:Windowsnotepad.exe" for this example. If you want to apply to all users on the computer, use the registry key: HKLMSOFTWAREMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers If you want to apply only to your user account, use the registry key: HKCUSOFTWAREMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers The name of the value will be the target, so in this case "C:Windowsnotepad.exe" (without the quotes). The value type is a REG_SZ. The data is a space-delimited collection of the following flags: (without the quotes) "DISABLETHEMES","640X480","HIGHDPIAWARE","256COLOR","DISABLEDWM","RUNASADMIN" And one of the following: (you can't use 2 of these together) "WIN98","WIN4SP5","WIN2000","WINXPSP2","WINXPSP3","WINSRV03SP1","WINSRV08SP1","VISTARTM","VISTASP1","VISTASP2","WIN7RTM"
    1 point
×
×
  • Create New...