Modify

Opened 16 years ago

Closed 16 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 Changed 16 years ago by Valik

You need to read WikiStart.

comment:2 Changed 16 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.