Jump to content

AutoIt with Smart Card and FingerPrint reader


gadzail
 Share

Recommended Posts

Hi All,

my boss asked me to develop software for smart card (as login for a software) and fingerprint reader (microsoft fingerprint reader) on XP/Vista systems.

I really like AutoIt and I would like to use it for these "issues" but I don't know if it's possible. :whistle:

Any type of help would be appreciated (links, dll, etc.).

Thanks in advance...

:)

Link to comment
Share on other sites

Is it a Digital Persona reader? Are you privy to the SDK for Digital Persona? Same for the Smart Card.

If the API requires any "callback" functionality, then you will want to use a more robust language. But, I have written utilities for the Secugen fingerprint reader using AutoIt and fplib.dll...

Lar.

Hi Lar,

thanks for the reply.

No, it is not Digital Persona reader. It is MICROSOFT FINGERPRINT READER, my boss want to use it as secure login for an application (simple gui front-end to insert, delete, manipulate and update data in a DB, SQLITE) and I would like to develop the entire application in AutoIt.

Same about the smart Card but I don't know what model is.

Could you give some more infos about fplib.dll? I didn't find in the forum or in Google.

Godzail

Link to comment
Share on other sites

  • Moderators

Could you give some more infos about fplib.dll? I didn't find in the forum or in Google.

FPLib.dll

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

here is a little thing i put together to run my network tools i wrote with my smartcard. Weird thing is that it will not work if you click on the button, you have to press enter. dont ask me why i still havent figured that out yet :-)

#NoTrayIcon
#include <GUIConstants.au3>

Opt("GUIOnEventMode", 1)

GUICreate("OUAdmin Login",240,150)

GUICtrlCreateLabel ("Username", 20,  5, 200, 15)
$input1=GUICtrlCreateInput ("", 20,  20, 200, 20)
GUICtrlCreateLabel ("Password", 20,  45, 200, 15)
$input2=GUICtrlCreateInput ("", 20,  60, 200, 20, $ES_PASSWORD)
$input3=GuiCtrlCreateCombo(@LogonDomain, 20, 90, 130, 20)
GuiCtrlSetData($input3, "list|your|domains|here")
$button1=GUICtrlCreateButton ("Login", 160, 90, 60, 20,$BS_DEFPUSHBUTTON)
GUICtrlSetOnEvent($button1,"logon")
$button2=GUICtrlCreateButton ("Smart Card Login", 20, 120, 200, 20)
GUICtrlSetOnEvent($button2,"smartcard")
GUISetOnEvent($GUI_EVENT_CLOSE,"OnExit")
GUISetState()
While 1
    Sleep(10)
Wend


;--------------- Functions ---------------

Func OnExit()
    GUIDelete()
    Exit
EndFunc

Func logon()
;MsgBox(0,$user,GUICtrlRead($input1))
    RunAsSet (GUICtrlRead($input1), GUICtrlRead($input3), GUICtrlRead($input2))
    Run ("what you want to run.exe")
    exit
EndFunc


Func smartcard()
    MsgBox(0,"Smart Card Logon","Insert your Smart Card, and press Enter "&@CRLF&" do not click ok with your mouse")
    RunWait(@ComSpec & " /q /c runas /smartcard ""c:\what you want to run.exe""")
    exit
EndFunc
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...