Jump to content

Recommended Posts

Posted

Hi,

what's that? Is there a question or did you just want to show the link?

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

Step 1: Insert a transistor connected to the data out cable

Step 2: Write a driver for the thingy that would send data to the data out cable, then stop sending data, then start sending data again!

Just some ideas.

#)

Posted

Hi,

next question. Do oyu want to disable USB during executing your script, or disable it generally?

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

Hi,

next question. Do oyu want to disable USB during executing your script, or disable it generally?

So long,

Mega

th.meger,

I think what amdead wants to do is turn the usb port off and back on using a script in order to blink his Christmas lights in any pattern he likes.

I too would be interested in knowing if this is possible with AutoIt.

I think it would be rather easy to do in assembly, but I am not sure.

taurus905

"Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs

Posted

Here is info how to switch USB off:

http://ask-leo.com/is_there_a_way_to_safel...batch_file.html

Here is working link to neat deveject CLI utility that mentioned in link above.

http://members.at.infoseek.co.jp/winpx/DevEject.zip

But likely enabling device back is not possible without reboot. At least I can't found any way to do that.

Posted

Thanks to all, I will have a go, am not to good at auto it. its just something where i can turn the lights on and off.

Posted

First, download devcon: http://support.microsoft.com/?kbid=311272

Next, you have to find the device ID for the lights thingy.

command from the console:

devcon.exe status *

Find the appropriate ID and copy it down somewhere safe.

Okay, let's go through the program:

while 1
   ;;Run the command "devcon enable " & $deviceID
   Sleep(4000)
   ;;Run the command "devcon disable " & $deviceID
   Sleep(4000)
wend

#)

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...