Jump to content

Search the Community

Showing results for tags 'windows xp'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 2 results

  1. Should the ability to check if a drive is an SSD even work in Windows XP? (And yes, I know it's a can of worms to look into this on XP, trust me I am only doing what I am asked to do by someone else). E.g., If I do the following: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.0 Script Function: Checks if a drive letter is an SSD drive #ce ---------------------------------------------------------------------------- #RequireAdmin #include <AutoItConstants.au3> $s_chkDrv = "E:" $s_isDrive = DriveGetType($s_chkDrv, $DT_DRIVETYPE) $s_isSSD = DriveGetType($s_chkDrv, $DT_SSDSTATUS) $s_whatBus = DriveGetType($s_chkDrv, $DT_BUSTYPE) ConsoleWrite("$s_isDrive=" & $s_isDrive & @CRLF & "$s_isSSD=" & $s_isSSD & @CRLF & "$s_whatBus=" & $s_whatBus & @CRLF) My results are as follows (and I know for certain the drive is an SSD): --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop $s_isDrive=Fixed $s_isSSD= $s_whatBus=SCSI +>12:44:17 AutoIt3.exe ended.rc:0 +>12:44:17 AutoIt3Wrapper Finished. >Exit code: 0 Time: 0.4762
  2. Hi, In windows XP I'm running a program wich reads a barcode from a PDF file. For this I'm using a DLL (from Bytescout) which I have registered. The program looks like this: global $barcode $barReader = ObjCreate("Bytescout.BarCodeReader.Reader") $barReader.TypeToFind = 32 $barReader.ReadFromFile("\apps\example.pdf") $barcode = $barReader.GetFoundBarcodeValue(0) msgbox(0,"barcode= ",$barcode) The VBS code that does the same is: Set barReader = CreateObject("Bytescout.BarCodeReader.Reader") barReader.TypeToFind = 32 barReader.ReadFromFile "\apps\example.pdf" barcode=barReader.GetFoundBarcodeValue(0) Msgbox "barcode= " & barcode But when I'm running the autoit executable on a Windows server 2008 it gives an error on line 3, saying that the variable must be of type "object". The VBS code doesn't give this error and works fine. Anyone having an idea what the problem could be?
×
×
  • Create New...