Modify

Opened 17 years ago

Closed 17 years ago

#945 closed Bug (No Bug)

script hangs the pc if run multiple time

Reported by: farooqhasny@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

clipPut(StringTrimLeft(@YEAR,2) & @mon & @MDAY  & @Hour &  @Min &@SEC)
send("^v")
Exit(0)

i have built this code and created a short cut to the created exe and assign a Function key (F11) in that shortcut
when ever i press the that short key for few time in a short period it will hang the computer.

Attachments (0)

Change History (2)

comment:1 by Valik, 17 years ago

You need to read WikiStart.

comment:2 by J-Paul Mesnage, 17 years ago

Resolution: No Bug
Status: newclosed

This script cannot work as is as it is sending to desktop. Not so useful.
More the multiple send can be interspeeded and the hang can occur of desynchronization on multiple execution as the last execution can be in the entering state Ctrl down and will not do an Ctrl-Up
To suppress the hang just push on ctrl key that will restore the keyboard typing.

to be simple you cannot do script like that.

If you have follow the Valik advice It would have simplify my analysing task.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.