Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

[For Work] Autoit application close when Windows session close

$
0
0
Hi all,

I had developped a script for my work and i have a problem.

The script is compiled. The problem is it can't stay loaded when i close TSE session to this server.
If i don't logoff, but close the TSE windows the script work well ( tested for seven day )

What i have tried :

- Launch by planified task, with local user account
- Launch by planified task, with local user account, task created in console mode
- Launch as service
- Launch with planified task at windows startup


The finality is to have the script always running in the machine and got access to graphical interface anytime
( it's why i have integrated minimize to systray in my script )


Nothing is working...

Here are function that I use :

#include <_AutoItErrorTrap.au3>
#include <Array.au3>
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <Constants.au3>
#include <Crypt.au3>
#include <Date.au3>
#include <Debug.au3>
#include <EditConstants.au3>
#Include <File.au3>
#include <GuiConstantsEx.au3>
#include <GUIListBox.au3>
#include <GuiListView.au3>
#include <SFTPEx_denis.au3>
#include <StaticConstants.au3>
#include <SQLite.au3>
#include <SQLite.dll.au3>
#include <WindowsConstants.au3>


The script run under a Windows Server 2003 R2 standard Edtition with Service Pack 2

Does someone have idea, i think the solution is stupid, but for now i am very annoyed by this problem, and my client too :(


Thanks !

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>