Jump to content

Recommended Posts

Posted

Hi,

Im starting to use Autoit recently and, im still learning to make my scripts using some examples and reading alot from this forum.

But, sometimes I get "stuck" with some things that generally are newbie related issues... :)

Said that, I need help to convert this batch file into Autoit script, if someone could help me out, i would appreciate it.

---------------

SETLOCAL
SET LT=
FOR /F "tokens=2 delims=:()" %%A IN ('DEVCON find * ^| FIND /I "Logitech"') DO SET LT=%%A
IF DEFINED LT (
    ECHO.%LT%
) ELSE (
    ECHO  No Logitech Keyboard driver installed
)
ENDLOCAL
GOTO:EOF

--------------

Basically I need to check if USB keyboard, named "Logitech" its connected to PC.

Thanks.

Massires

 

 

Posted

Did you try a forum search before posting? A simple search of Devcon shows almost 300 posts on the subject.

​Yes, i did had searched the last few days for devcon related sources, while the forum, i believe had some kind of issues, because sometimes ot was not possible to see plain text...

I understand your point, and i know that sometimes people are lazy to search before ask for help in forums.

Im asking for help for this devcon issue, because i already spent some days trying to figure out how to get my script working...

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
  • Recently Browsing   0 members

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