Frage zu einer compilierten .exe

  • Hallo,

    wenn man eine .au3 in eine .exe compiliert ist es ja eine Anwendung. Wenn ich die Anwendung starte und klicke auf das Trayicon, kommt das Menü von AutoIT (Script paused und Exit). Wie kann ich dies Menü ersetzen durch ein anderes oder gegebenfalls ganz wegmachen?

  • Und was ist wenn ich selber ein traymenü erstelle und opt("traymenumode","3") weglasse, kommt dann das von AutoIt nicht mehr?

  • Code
    Extend the behaviour of the script tray icon/menu. This can be done with a combination (adding) of the following values.
    0 = default menu items (Script Paused/Exit) are appended to the usercreated menu; usercreated checked items will automatically unchecked; if you double click the tray icon then the controlid is returned which has the "Default"-style (default).
    1 = no default menu
    2 = user created checked items will not automatically unchecked if you click it
    4 = don't return the menuitemID which has the "default"-style in the main contextmenu if you double click the tray icon
    8 = turn off auto check of radio item groups

    Also wenn du 'opt("traymenumode","3") ' weglässt, dann ist automatisch Mode 0 (Dafault) aktiv und das heißt einfach Standard-Menü von Autoit. Nimmst du Mode 1(3) dann ist dein selbst erstelltes Menü aktiv.