Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/12/2022 in all areas

  1. Just a wager at the no password issue. https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/accounts-limit-local-account-use-of-blank-passwords-to-console-logon-only
    1 point
  2. https://www.autoitscript.com/forum/topic/209305-why-cant-i-switch-back-to-function-one/?do=findComment&comment=1510252
    1 point
  3. i don't know Try plan B #include <TrayConstants.au3> Opt("TrayOnEventMode", 1) TraySetOnEvent($TRAY_EVENT_MOUSEOVER, "_MouseOnTray") Local $TrayTip While 1 ToolTip($TrayTip) Sleep(300) WEnd func _MouseOnTray() if $TrayTip = "one" Then $TrayTip = "pausing" Else $TrayTip = "one" EndIf EndFunc
    1 point
  4. the previous one is a good one , but this one is even better .thx
    1 point
  5. Sorry, but the code snippet from my previous post is not the solution that works. This is a solution that works: #include <AutoItConstants.au3> #include <TrayConstants.au3> Opt("TrayMenuMode", 3) ; The default tray menu items will not be shown and items are not checked when selected. These are options 1 and 2 for TrayMenuMode. Opt("TrayOnEventMode", 1) ; Enable TrayOnEventMode. Global $tray_exit=TrayCreateItem("exit_the_program--") TrayItemSetOnEvent(-1, "Exit_the_program") Global $tray_pause=TrayCreateItem("pause_the_program--") TrayItemSetOnEvent(-1, "pause") TraySetState($TRAY_ICONSTATE_SHOW) ; Show the tray menu. task() Func pause() $e=0 Opt("TrayOnEventMode", 0) while $e=0 $nmsg=TrayGetMsg() Switch $nmsg Case $tray_pause $e=1 Case $tray_exit Exit EndSwitch ToolTip("the script has PAUSED") WEnd Opt("TrayOnEventMode", 1) Return 0 EndFunc Func task() while 1 ToolTip("task") WEnd EndFunc Func Exit_the_program() Exit EndFunc
    1 point
  6. Jon

    Forum Information and FAQs

    User Groups and Rights New Members - New members with that joined the forum within the last day. While in this group there are certain restrictions on the number of posts/PMs that can be made. This is to reduce the impact of spammers. After 24 hours members of this group will be promoted the Members group. Members - Members older than one day but with less than 20 posts. Standard access to the forum. Active Members - Members with more than 20 posts have additional rights No advertsSlightly more generous attachment and PM limitsAccess to the Chat forumAbility to upload files to the Downloads section MVPs - Members who are judged by the community to be helpful, who write and share useful code, who help the development of AutoIt. These users have the same rights as normal members but get a team icon, a little more attachment and PM space, and access to the MVP Chat forum section. Moderators - The forum police. This is not a democracy and each of the mods has their own distinct personality. They have the rights to edit posts, delete posts, ban users, delete users, IP ban, etc. Let the poster beware. Developers - A small group of users with access to the AutoIt source code and who have contributed significantly to the internal development of AutoIt. Some of them are also Moderators. Post Count and Rankings Ranks based on increasing post count are as follows: SeekerWayfarerAdventurerProdigyPolymathUniversalistThese titles are auto-generated and have no relation to actual skill level. Once you reach 300 posts you can change the title to whatever you like.
    1 point
×
×
  • Create New...