Modify

Opened 12 years ago

Closed 12 years ago

#317 closed Bug (No Bug)

ShellExecute/ShellExecuteRun verb-keyword "run" missing in helpfile.

Reported by: Hubertus72 Owned by:
Milestone: Component: AutoIt
Version: 3.2.12.0 Severity: None
Keywords: ShellExecute keyword "run" missing helpfile Cc:

Description

When running this script in SciTE (F5), it works OK.
When omiting the "run" keyword in the ShellExecute statement,
the "second instance" message will not occour, but the SciTE window overlays the first message. This means, that the script was again edited by the ShellExecute. It should be mentioned in the help file, that the "run" verb can be used to force the execution of a script.

#include "Misc.au3"
If _Singleton(@ScriptName, 1) = 0 Then Exit MsgBox(0, "","Second instance")
ShellExecute(@ScriptFullPath, "", "", "run")
MsgBox(0, "First instance", "First instance")

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Valik

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

There's no reason to mention it. It's nothing interesting or special. There are also better ways of re-running the same script than this.

Closing as no bug.

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.