Jump to content

Is AutoIt capable of that?


 Share

Recommended Posts

Hi everybody, how are you?

I hope you and your loves ones are safe and sound.

I was wondering if only with Autoit we are capable to create a powerful window manager(managing VLC, latest version of Browsers like FF/Chrome, Excell / PPt, PDF, Photoshop where we can trigger the scripts from another computer.

Can we manage that only using WIN32API (C/C++ libs) or needs to deal with more API, DLL, Drivers. like Selenium Driver?

The only control I want for now is to customize how those apps will open/size/location on a dual or tripple display and to close them and be able to save a layout with 4,6,8 apps open to quickly recall, maybe on a DB?

Is it possible to trigger those presets/layouts saved on the computer running Autoit and from my cell, make a Curl call ou JS call, or from a remote call from the same network?

Is it better to use Python and mix with Autoit?

What would be the best tools to achieve that?

Thanks. 

Link to comment
Share on other sites

Hi,

AutoIt is a very powerful language. It can manage many of the tasks you described. In the Example Scripts section of this forum, there are UDFs (user defined functions) that make it easier to work with MS Word/Excel, VLC, PDFs, FF/Chrome (some UDFs won't work perfectly with newer browser versions, but AutoIt can work with Selenium, which does) and a lot more. AutoIt can interact with a lot of APIs and DLLs. Drivers? What do you want to do with them? Install them, then most likely, yes. AutoIt can work with databases, there are UDFs for that and native support for SQL Lite. I am not sure about working with dual or triple monitors. I saw someone ask a question about that yesterday, but I didn't even read it because I know absolutely nothing about the subject. It is possible to trigger events from one computer to another. However, AutoIt is Windows-based only, so it cannot be used on a cell phone (as far as I understand). It might be possible to write a phone app to interact with AutoIt, but I cannot say for sure. Perhaps one of the smarter forum users can better inform you.

In any case, if AutoIt cannot fill all your needs, it could certainly be very useful to you. It is probably the easiest language to learn. And the support here is great.

Good luck and we will help if we can!

 

Link to comment
Share on other sites

In the wiki you can find a list of available UDFs.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Hi everybody, Thanks for the answers.

The UDF'S are based on win32, winapi ? Why doesn't work for everything installed on Windows, third party apps as well? 

When we hook up several monitors on windows we can a have 3 displays like a one big display, right?

So autogui could open the apps based on x,y pixels coordinates right? 0,0 ; 1000, 1920; 

I would like to trigger autogui scripts, layouts from a remote computer on the same network, via curl of javascript, doent need to create a cellphone app to that, just a webapp.

If all this is too advanced, where I would find a professional to program something like that for me?

examples: 

https://tinyurl.com/y4aqcnlg

https://tinyurl.com/y389kbaj

Edited by derekG
Link to comment
Share on other sites

35 minutes ago, derekG said:

If all this is too advanced, where I would find a professional to program something like that for me?

How is anyone supposed to know what is "too advanced" for you to implement?  I guess the fact that you question how advanced it may be, is a pretty good sign that it is probably too advanced.  :think::huh2:

Link to comment
Share on other sites

12 minutes ago, derekG said:

answer the questions

That is not very polite, giving orders is the best way to never receive help.   But since I am there, the answer is yes.  Do not ask me to write it for you, I will not.

Link to comment
Share on other sites

On 8/29/2020 at 7:43 AM, derekG said:

create a powerful window manager

 

On 8/29/2020 at 7:43 AM, derekG said:

customize how those apps will open/size/location on a dual or tripple display and to close them and be able to save a layout with 4,6,8 apps open to quickly recall

 

unfortunately i do not speak your language, so i did not quite understand your video demonstrations. but it seems to me the above quotes are the core of your question, and yes, AutoIt alone can do all that very easily. for that you do not need any special functions or UDF, or external libraries.

STEP 1

start by looking at the AutoIt superb help file for the functions Run() and WinMove(). write a simple script to launch a program with Run() and then move and resize that program window with WinMove().

STEP 2

once you have that working, decide on a data representation to store the coordinates of each window in a file. a simple INI format comes to mind, where your file looks something like this:

[VLC]
X=200
Y=60
W=800
H=600

[Word]
X=0
Y=0
W=2000
H=1800

 

STEP 3

show what you come up with, then we can continue from there.

P.S. i did not quite understand your desire to run that over network.

 

 

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

  • Developers

This topic is locked as the OP has no intrest in getting support.
Use PM when you want to do the coding for the OP for a hefty fee. ;)

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...