monitoring program
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By pete_wilde
Hi Guys,
As I am still finding my feet with AutoIT, I thought that I would do a quick test.
I therefore created some HTML code to create a small yellow non-functioning test button on a web page.
<td><div class="wg-button"><a style="position:relative" href="javascript:void(1)"><img src="button.png" alt=""> <span style="position:absolute;left:17px;top:31px; cursor:pointer; width:126px;">TEST</span></a></div></td> I then tried to see if AutoIT could detect if I clicked on the button link.
#include <Misc.au3> #include <Msgboxconstants.au3> LOCAL $sPos LOCAL $sColor LOCAL $sYellow = "#FFFF00" While 1 $sPos = MouseGetPos() $sColor = Hex(PixelGetColor($sPos[0], $sPos[1])) $sColor = "#" & StringMid($sColor,3) ToolTip($sColor) If (_IsPressed("01") = True) And ($sColor = $sYellow) Then MsgBox (262144,"Found it","X=" & $sPos[0] & " Y=" & $sPos[1]) EndIf Wend The code correctly detects when I click on the button.
However, it also highlights on anything else yellow (e.g. a yellow background) that I click on, not just the button.
I did change the link from "empty" to "www.google.com" and then checked if the current browser URL changed also, thereby indicating that I clicked on a yellow link rather than just a yellow background. That worked fine.
However, as it is about improving my knowledge of AutoIT rather than for a specific project, can anyone think of another way which I could do it?
Detecting a URL change is fine, but I then end up on a new page i.e. www.google.com.
I would like to see if I can do it without changing the size.
Any ideas?
Many thanks,
Pete
-
By vargheseg
I am new to AutoIT but I do use Sikuli. Decided to use AutoIT for this project as all the required can be created in an .exe file, does not need Java like Sikuli.
Also which can be pushed to tool bar of Windows 10 desktop.
Our users will interact with a client/server application and normally work on dual screen. The script needs to detect the c/s application from the dual screen, needs to do three mouse clicks based of image/pixel comparison, will need to wait till the click object is available and then finally take screen capture of the top 40 rows and save the .jpeg file to windows file share location.
once the file save is completed, pop up message - the screen capture is completed. Then the users can do their regular work.
Potentially other factor that will play are the screen resolution.
Can anyone guide me to some relevant scripts already in the forum. In the meantime I am learning the basics of the tool.
Appreciate feedback and any help
George V
-
By nooneclose
Good morning, I have been thinking about trying to make my Autoit script run in the background. I found out today that it is impossible due to the UIA and mouseclick functions that I use. However, while reading other posts about running Autoit scripts in the background I saw a reply mentioning how a script like mine might be able to run on a VM while still giving me the ability to work on my Host OS. Can someone confirm this?
Here is a link to the thread where I saw VM mentioned.
the person who mentioned it was @ViciousXUSMC
-
By faldo
"The why"
I've been working over 15 years in the IT industry and have realised that the best way of streamlining operations and support is by combining the concept of selling services (instead of hours) along with a tool built for managing those services.
For the past 10 years i've been working with some of the leading providers of MSP-tools. The prize set on these comercial tools is quite high and there are usually few licence models to choose from. A smaller it-company will find the cost hard to motivate and in turn have dificulties converting its busines model in order to make more money, classic catch 22
"The how"
During the years, i've gathered the pros and cons of these tools, dissected their core and realised there is no magic or rocket science going on. There is however a whole lot of scripting used and that's why i feel AutoIT would be a great foundation for a new project.
So, i've decided to compile my years of experiance and create a tool for remote management and monitoring of machines over WAN. Instead of monetizing it and try to compete with the big companies i felt it more efficiant to make it open source and hope for community interest and development.
"The what"
The following features are under development, some arn't started, some are finished. Check the changelog for more info.
Base components
- Agent running as service
- Central server with MySQL (hub engine)
- Management client (AutoitGUI/WebGUI)
Main features
- Remote execution of shell commands as system or specific user
- File transfer from/to agent
- Live monitoring of system resources
Consequential features (based on main features)
- Hardware/software inventory
- Software deployment/updating
- Patch management
- Antivirus management
- OS deployment
- Disaster recovery
- Hardware/software/network monitoring
- Wake on LAN
- Reporting
- Remote registry, event viewer, task manager
- Scripting (obviously)
Additional features (stand-alone modules)
- Remote control
- Servicedesk (based on ITIL)
- AD-integration
Security
- Secure communication with SSL and rotating key for every session.
- SHA256 encryption.
Remmanaut network overview
My knowledge of AutoIT is average but i'm novice when it comes to programing structure for collaboration, so if you're willing to help me out in making the project easy to share, i'd be very thankfull. Unfortunatly i'm no php-guru so i'll be concentrating on the AutoitGUI until the agent and hub engine reaches an adequate version.
If you feel that this tool could benefit you in any way or just want to join the project for the fun of development, don't hesitate to post constructive feedback or hit me a PM.
Code optimisation to do:
Download:
-
By maddogrsf
hi everyone . Learning more and more of autoit and i have to say it is VERY powerful. now im into a small automation project
Here is what i plan : i want , using while/ wend to monitor a log file of an application and when there is a line added i need that auto it " exports" that line
i need this for an automation of my ftp server. it checks sfv files and when an upload is " COMPLETE " the ftp server logs it . i need that when there is written this log entry to extract it and run unrar is some regex parameters are met. the hard part is the real time monitoring
at the moment my code is very unsuccessful (if required i can paste it here)
plus after 40 sec of run time i usually get an out of memory error
can you please me show some effective ways of to monitor a file and extract last written line (guess using readline -1) in real time ?
thx and regards
-
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now