Search found 29 matches

by letacio
15 Jun 2019, 12:35
Forum: Ask For Help
Topic: Return focus to selected items on Desktop Topic is solved
Replies: 10
Views: 613

Re: Return focus to selected items on Desktop Topic is solved

This worked for me. F1:: if _class { Send, {Esc} if _class in Progman,WorkerW { WinActivate, ahk_class %_class% } _class := "" } else { WinGetClass, _class, A Send, !{Enter} } Return Could you elucidate for me what _class does, or what i could search about on the topic? Thanks!
by letacio
15 Jun 2019, 12:29
Forum: Ask For Help
Topic: Way to control CMD in reliable way (like using COM) Topic is solved
Replies: 2
Views: 187

Re: Way to control CMD in reliable way (like using COM) Topic is solved

Thanks for the reply it helped!

Actually, i didnt find a way to do exactly what i intended, but found another estable way.

Instead of running the comands on the fly, i did file appends to create a .txt comand list. after that, it can be executed.

Thanks!
by letacio
12 Jun 2019, 16:21
Forum: Ask For Help
Topic: Way to control CMD in reliable way (like using COM) Topic is solved
Replies: 2
Views: 187

Way to control CMD in reliable way (like using COM) Topic is solved

Hello there! I want to execute some comands in cmd, BUT, my issue is: there is a chunk of code i can execute right away, that never changes. i start ftp, and log in/navigate to folder. after that, i want to copy files depending on some logic. i would like to get a handle to CMD, so i can make each o...
by letacio
14 May 2019, 19:49
Forum: General Discussion
Topic: About AHK and RPA tools - Is AHK one of them? Is it robust enough?
Replies: 1
Views: 276

About AHK and RPA tools - Is AHK one of them? Is it robust enough?

Hello everybody! I've been using AHK for 2,5 years now, and i would like to use it for a living (or most of it) in RPA (which would be the main use i think, maybe some automate testing as well). But i've got some questions. For instance, i don't know if i should focus on AHK, or if i should focus on...
by letacio
14 May 2019, 19:00
Forum: Ask For Help
Topic: Automate windows folders (sort by date, name, etc)
Replies: 8
Views: 520

Re: Automate windows folders (sort by date, name, etc)

No news on this issue? =(
by letacio
13 May 2019, 16:53
Forum: Ask For Help
Topic: Automate windows folders (sort by date, name, etc)
Replies: 8
Views: 520

Re: Automate windows folders (sort by date, name, etc)

I get it! About typo, that might not be saved on code, so as you said, it's no problem (it was me activating hotkey). About the message, i would love that, but i dont know how to send them, nor how to access the column element. Tried winspy spector to get messages to the window, but no success eithe...
by letacio
13 May 2019, 15:04
Forum: Ask For Help
Topic: Automate windows folders (sort by date, name, etc)
Replies: 8
Views: 520

Re: Automate windows folders (sort by date, name, etc)

Hello, thanks a lot! Only a question: i've made a flag, to change between asc and desc orders. for name it works fine, but for dates, it works only for asc order, would you have any insights on it? i've checked, it enters both loops, but does not do the sorting! full code #IfWinActive, ahk_class Cab...
by letacio
09 May 2019, 21:45
Forum: Ask For Help
Topic: Automate windows folders (sort by date, name, etc)
Replies: 8
Views: 520

Automate windows folders (sort by date, name, etc)

Hello there! Is there a way (system messages probably?) to make a folder to be sorted by last modified date, for example? I would like to open a folder and sort it automatically (instead of clicking on the "sort by date" button. I've looked a lot but couldnt find nothing that works I tried this http...
by letacio
05 May 2019, 13:32
Forum: Ask For Help
Topic: Instr() DOES NOT WORK, ALWAYS TRUE
Replies: 4
Views: 240

Instr() DOES NOT WORK, ALWAYS TRUE

Hello there! Im for more then 12 hours trying lots of combinations of sintaxes and functions and im getting mad. What i have: a list of items in a text file (FILE A) example: 111220,32302,3020203,1203030,1110,443403 each one of this have a wav file that should be downloaded to a folder. What i want:...
by letacio
02 Feb 2019, 10:46
Forum: Ask For Help
Topic: Sendmessage does not actually insert data in Edit control
Replies: 4
Views: 435

Re: Sendmessage does not actually insert data in Edit control

I've tried it, but with no sucess.

What i think is strange, is that on top of that, i send messages to control 1 and control 2. and BOTH texts are displayed in control 1.
It makes no sense.
by letacio
01 Feb 2019, 21:01
Forum: Ask For Help
Topic: Sendmessage does not actually insert data in Edit control
Replies: 4
Views: 435

Sendmessage does not actually insert data in Edit control

Hello there, i want to insert login and password on a little window, with 2 edit controls. Nothing special. The point is: when i run script (another application calls it), yes, it has elevation (i think, as the caller has elevation), the data is inserted. But what happens: A) If i click the enter bu...
by letacio
01 Feb 2019, 09:28
Forum: Ask For Help
Topic: Encrypt ?
Replies: 4
Views: 860

Re: Encrypt ?

Hi again, i've tested again, and really, looks like the slower part is only reloading script. the rest looks fine.
Sorry about it =(
by letacio
31 Jan 2019, 21:21
Forum: Ask For Help
Topic: Encrypt ?
Replies: 4
Views: 860

Re: Encrypt ?

I've got a question about it: It looks like the script gets VERY slow when compressed. is that so, or i did something wrong? i was happy to know i would be able to protect my code to sell some applications, but given the performance (like 2 or 3 seconds to activate a hotkey/hotstring), i kind of gav...
by letacio
30 Jan 2019, 19:21
Forum: Ask For Help
Topic: How to determine our AHK skill level? Topic is solved
Replies: 9
Views: 888

Re: How to determine our AHK skill level? Topic is solved

this is hard to judge since a lot of the more powerful functionality lies outside the scope of ahk in and of itself. eg, COM and DllCall s(basically the entire winapi), html guis, programming practices, etc so purely in terms of ahk: basic: makes simple Send , Click , Image/PixelSearch hotkey/hotst...
by letacio
30 Jan 2019, 07:27
Forum: Ask For Help
Topic: How to determine our AHK skill level? Topic is solved
Replies: 9
Views: 888

How to determine our AHK skill level? Topic is solved

Hello there! I was wondering, i've been using ahk for 2 years now, and besides doing very nice stuff, i find new nice features (like message passing/http calls) everyday. So i never know how much "good" or "experienced" in ahk I am. I want to put this on my resume actually, but i'm not sure what to ...
by letacio
17 Dec 2018, 13:33
Forum: Ask For Help
Topic: [SOLVED] Guicontrol does not work when i create a new gui
Replies: 2
Views: 264

[SOLVED] Guicontrol does not work when i create a new gui

Hello everybody! I have this flow: create GUI click a button in this gui (glabel) { my script looks for data on a server, and then: IF data exists, updates it in the gui to display it. ELSE, a second gui is created showing options for the user to create the new data. } the problem is: when the secon...
by letacio
22 Nov 2018, 19:24
Forum: AutoHotkey_H
Topic: Error while running compiled program
Replies: 2
Views: 728

Re: Error while running compiled program

With your answer i could figure it out and it worked!
Thanks a lot!
by letacio
22 Nov 2018, 07:51
Forum: AutoHotkey_H
Topic: Error while running compiled program
Replies: 2
Views: 728

Error while running compiled program

Hello there!

I've got a script which runs ok.

When i compile it, it is ok as well.

But when i try to run the .exe (even with "run as admin"), it gives me this error:
ahk1_001.png
ahk1_001.png (6.59 KiB) Viewed 728 times
Could anyone share a light?

Thanks!

Go to advanced search