Jump to content

Search the Community

Showing results for tags 'srvany'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Member Title




Found 1 result

  1. I'm trying to create an app which will run as a service and appear in the system tray. I've created the service using SRVANY and it works fine until the user logs off, the app closes down. Initial tests at home made me think I had resolved the issue but in work it still fails, this drove me crazy until I replicated the exact environment, i.e. the version of AutoIT. When using the latest version the script will close everytime a user logs off the PC. I then ran a test with one of the help examples (traycreatemenu) compiled in the latest version and an older version ( which I was using at home. Lo and behold the script remains when the user logs off then back on etc. using the old version of autoit (aut2exe) but running the same script compiled in the latest version the script closes everytime. Unfortunately I can't compile my script using the old version of autoit due to the commands and 'includes' used, so I'm stuck. I've read numerous postings about using SRVANY and even contemplated using the service.au3 options but this although more impressive as a service doesn't work well with GUI's (at least with what I've tried). There may be something written somewhere in the myriad of text, small print and help which may explain this but does anyone have any ideas as to why an older version of this great tool should allow me run a GUI interactively as a service but the latest not? Is this something to do with complying more rigidly with Microsoft or other coding standards?
  • Create New...