Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/07/2018 in all areas

  1. $sPath = FileOpenDialog('Select exe',@ScriptDir,'Executable (*.exe)') If $sPath Then MsgBox(0,'',BinaryType($sPath)) Func BinaryType($sPath) Local $aRet = DllCall('kernel32.dll','bool','GetBinaryType','str',$sPath,'dword*',0) If $aRet[0] Then Switch $aRet[2] Case 0 Return 'SCS_32BIT_BINARY' Case 1 Return 'SCS_DOS_BINARY' Case 2 Return 'SCS_WOW_BINARY' Case 3 Return 'SCS_PIF_BINARY' Case 4 Return 'SCS_POSIX_BINARY' Case 5 Return 'SCS_OS216_BINARY' Case 6 Return 'SCS_64BIT_BINARY' EndSwitch EndIf EndFunc
    2 points
  2. Jos

    run program within autoit

    Try this version please: Run(@ComSpec & ' /k ""C:\Program Files (x86)\path\winscp\winscp.com" /privatkey="C:\Program Files (x86)\path\winscp\ftp_ppk_mm.ppk" "user@host:/data_in" /script="c:\Program Files (x86)\path\winscp\scp_script.txt""') Jos
    1 point
  3. IanN1990

    FF.au3 (V0.6.0.1b-10)

    I have used FF.au3 a great deal and I am truly greatly to those that wrote it I was sad when Mozilla forced web extensions. Another work around (until that is blocked) is using nightly and about:config extensions.legacy.enabled = True. I would argue though this is a losing battle and its best to move onto a supported platform. Sticking to Firefox 54 - 60 forever will run into compatibility issues sooner or later From this thread the best two alternatives are IUIAutomation and Webdriver. Selenium Webdriver seems to be recognised throughout the testing industry and is similar to FF in the manor of xPaths.
    1 point
  4. TheSaint

    Files Checklist

    Files Checklist updated to v1.3. See first post for download. New screenshot, and a WARNING also added there. EXAMPLES ADDED to checklist - C:\Examples\First\metadata.opf CHECK that with the following. C:\Examples\First\metadata.opf (PASS with No Path, Relative, Full Path) Of course, because it is identical. D:\Examples\First\metadata.opf (PASS with No Path, Relative) (FAIL with Full Path) Different drive only. Parent folder is the same. C:\Examples\Second\metadata.opf (PASS with No Path) (FAIL with Full Path, Relative) Different parent folder. C:\Examples\Third\First\metadata.opf (PASS with No Path, Relative) (FAIL with Full Path) Path contains an extra folder above parent folder. C:\Examples\First\Third\metadata.opf (PASS with No Path) (FAIL with Full Path, Relative) Path contains an extra folder below parent folder. P.S. I actually had another use occur today for the program, but it badly needed that 'Relative' option to speed things up (lots of folders to check). So I added that ability and the changes to 'Remove ALL' while at it. Needs must.
    1 point
×
×
  • Create New...