Car-PC.info

Microsoft Windows - Suche "Programmstarter" (single Instance)

nisp - Sa 07 Mai, 2005 16:26
Titel: Suche "Programmstarter" (single Instance)
Tag zusammen,
ich benutze Frodo wirklich gern, habe nur ein Problem: Navibook ist natürlich nicht integriert, genauso wie PhoneControl. Wenn ich nun auf meinen Navibook-Button klicke, wird das Programm ein zweites, drittes usw. Mal gestartet. Das will ich natürlich nicht wirklich, vielmehr sollte auf das laufende Prog gewechselt werden. Und nur wenn es noch nicht läuft, soll es gestartet werden.
Ich kenne mich mit XP nicht sonderlich aus: Gibt es da vielleicht schon eine Möglichkeit, das irgendwo festzulegen? Oder kann ich das irgendwie über Batch steuern? Nur wie?
Kann mir wer helfen? Da wäre ich sehr dankbar!
Niklas
fuchs - Sa 07 Mai, 2005 20:27
Titel:
hi,
ich glaub nicht, dass man das mit windows einstellungen ändern kann.
es muß schon im programm abgefragt werden, ob die entsprechende applikation schon läuft.

bist du auf frodo festgelegt?
ansonsten probier doch mal cPOS aus, das kann das.

gruß,
fuchs
nisp - Sa 07 Mai, 2005 21:11
Titel: Gelöst
Yes, danke für Deine Hilfe, aber ich will erst mal bei Frodo bleiben. Habe mir da gerade meinen Skin zurechtgeschneidert.

Das Problem lässt sich hiermit lösen:
http://www.p6c.com/Products/P6Just1.html

Könnte mir vorstellen, dass das auch anderen hilft:
Zitat:

Synopsis
P6Just1 "FQPgmName PgmArgs" "WindowTitle"

Where: FQPgmName = Fully qualified name of program file or existing shortcut
PgmArgs = Command line arguments passed to program, unless included in shortcut
WindowTitle = Title (Caption) of main window displayed by FQPgmName

Purpose:
Ensure that one instance only of FQPgmName runs. Brings existing instance into foreground or starts a new one.

Description
FQPgmName is the fully qualified name of a program, such as "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" that you want to run. This may be any program, even a MS-DOS program.

PgmArgs is parameters (arguments), if any, that you would pass to the program if you ran it from the command line or the Run box.

WindowTitle is the title, or caption, seen in the program's main window. Use only enough to uniquely identify the program.


Gruß
Niklas
Alle Zeiten sind GMT + 1 Stunde
Powered by phpBB2 Plus and Kostenloses Forum based on phpBB