Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/13/2013 in all areas

  1. I'm guessing you don't even know if that c code works.
    1 point
  2. mLipok

    Get to table by table id?

    look: '?do=embed' frameborder='0' data-embedContent>> try: _IE_test_TableCollection($oIE) give me an output be careful before pasting, see the "outerHTML" does not contain sensitive data.
    1 point
  3. I would suggest modifying the windows style with _WinAPI_SetWindowLong() #include <WinAPI.au3> #include <Constants.au3> #include <WindowsConstants.au3> $hWnd = WinGetHandle("Untitled - Notepad") _WinAPI_SetWindowLong($hWnd, $GWL_STYLE, BitXOR(_WinAPI_GetWindowLong($hWnd, $GWL_STYLE), $WS_SIZEBOX))
    1 point
  4. sahsanu

    Get parent folder

    Something like this? $test=StringRegExpReplace(@ScriptDir, '\\[^\\]*$', '') $test=StringRegExpReplace($test, '.*\\', '')
    1 point
  5. Yashied

    Get parent folder

    StringRegExpReplace(@ScriptDir, '\\[^\\]*$', '')
    1 point
  6. Well from what i tested ProcesorArch returns 32Bit or 64bit depending on Windows version and not actual state of your processor. I can test it in few minutes but i am sure i tested it some time ago. Edit: Just tested @ProcessorArch on Windows XP 32bit on Athlon64 returns X86. So i guess it's what you need Func DetectInfrastructure() If @OSTYPE = "WIN32_WINDOWS" Then ;If @OSType = "WIN32_NT" Then _AddLineBox("Unsupported Windows version. Use only on 2000/XP/2003 x32/64.") $ErrorIsThere = "Yes" Else If @ProcessorArch = "X86" Then $HKLM = "HKEY_LOCAL_MACHINE" $devcon = $devcon32 If @OSVersion = "WIN_XP" Then _AddLineBox("Detecting Windows version - Windows XP x32") If @OSVersion = "WIN_2000" Then _AddLineBox("Detecting Windows version - Windows 2000 x32") If @OSVersion = "WIN_2003" Then _AddLineBox("Detecting Windows version - Windows 2003 x32") EndIf If @ProcessorArch = "X64" Then $HKLM = "HKEY_LOCAL_MACHINE64" $devcon = $devcon64 If @OSVersion = "WIN_XP" Then _AddLineBox("Detecting Windows version - Windows XP x64") If @OSVersion = "WIN_2000" Then _AddLineBox("Detecting Windows version - Windows 2000 x64") If @OSVersion = "WIN_2003" Then _AddLineBox("Detecting Windows version - Windows 2003 x64") EndIf EndIf EndFunc ;==>DetectInfrastructure Replace _AddlineBox with your code
    1 point
×
×
  • Create New...