Search found 128 matches

by Guill
31 Jul 2020, 12:58
Forum: Ask For Help
Topic: AHK doesn't work in Device Manager (devmgmt.msc) Topic is solved
Replies: 1
Views: 793

AHK doesn't work in Device Manager (devmgmt.msc) Topic is solved

Why AHK does not work in Device Manager window (devmgmt.msc)?

Is there any way it can work?
by Guill
24 Jul 2020, 20:01
Forum: Ask For Help
Topic: "GoTo a Label" from a Function Topic is solved
Replies: 2
Views: 859

Re: "GoTo a Label" from a Function Topic is solved

Not only can you not goto a label from inside a function to outside, you wouldn’t want to go to that label because it’s an infinite loop and it would never return. Try using SetTimer to launch a subroutine to display your TrayTip every seven seconds by setting the period to 7000. Thank you very muc...
by Guill
24 Jul 2020, 17:18
Forum: Ask For Help
Topic: "GoTo a Label" from a Function Topic is solved
Replies: 2
Views: 859

"GoTo a Label" from a Function Topic is solved

Hello guys, I would like to know if you can help me with the following problem: I have the following code so that, eventually, after pressing + f1, I temporarily change the function of Numpad0, but not to forget that this function is activated, I would like a Traytip to remind me of this every 7 sec...
by Guill
17 Apr 2020, 07:46
Forum: Ask For Help
Topic: Select a piece of text from a TXT file Topic is solved
Replies: 5
Views: 460

Re: Select a piece of text from a TXT file Topic is solved

Thank you very mucth Boiler!

Very clear and didactic!
by Guill
16 Apr 2020, 21:31
Forum: Ask For Help
Topic: Select a piece of text from a TXT file Topic is solved
Replies: 5
Views: 460

Select a piece of text from a TXT file Topic is solved

Hello guys I need the following: I want that AHK selects a segment from a certain start, to a certain end, of a TXT file in which I have certain email addresses, and which, at the same time, I modify frequently, And after selecting it, copy it to the Clipboard. The FileReadLine command doesn't work ...
by Guill
29 Jan 2020, 21:29
Forum: Ask For Help
Topic: Problem with command send using a string Topic is solved
Replies: 2
Views: 247

Problem with command send using a string Topic is solved

I need to automate this: Send this text "MouseGetPos X, Y Mousemove, %X%, %Y%" And after that, press "Up 3 times" I've tried this, but it doesn't work: Send, {Text} ( MouseGetPos X, Y Mousemove, %X%, %Y% ) Send {Up 3} Warning windows: "This variable has not been assigned a value --- > Send, {Text} M...
by Guill
09 Oct 2019, 21:58
Forum: Ask For Help
Topic: Edit an specific script with Notepad Topic is solved
Replies: 2
Views: 447

Re: Run any script with Notepad Topic is solved

gregster wrote:
09 Oct 2019, 21:43
Try to use the file path of the AHK script as a parameter for notepad.exe:

Code: Select all

^3::Run notepad.exe C:\My Documents\Script 322.ahk
Then Notepad will open it for editing.
Great!

Thank you very much
by Guill
09 Oct 2019, 21:31
Forum: Ask For Help
Topic: Edit an specific script with Notepad Topic is solved
Replies: 2
Views: 447

Edit an specific script with Notepad Topic is solved

First, greetings everyone. I am a newbie in AHK, and I have the following need: I have the ScitE4AutoHotkey program installed, because I usually open Ahk scripts with it. Anyway, occasionally I would like to open a particular script with Notepad. How could I reflect that? Example: ^ 3 :: Run edit C:...
by Guill
12 Sep 2019, 10:20
Forum: Ask For Help
Topic: Adress File or Folder to Clipboard
Replies: 7
Views: 927

Adress File or Folder to Clipboard

Is it feasible to obtain a script that does the following?: When you click on a certain file in any windows folder, it copies its address to the clipboard. The same for the folder. For example: Ex1: Click on file "Activities.txt" Clipboard = C://My Folder/Activities.txt Or Ex2: Click on folder "My F...
by Guill
12 Sep 2019, 07:09
Forum: Ask For Help
Topic: Flashcards game with AHK Topic is solved
Replies: 5
Views: 696

Re: Flashcards game with AHK Topic is solved

Thank you very much!!
by Guill
11 Sep 2019, 23:40
Forum: Ask For Help
Topic: Flashcards game with AHK Topic is solved
Replies: 5
Views: 696

Re: Flashcards game with AHK Topic is solved

I am much closer to reaching my goal. But I need to solve two problems: 1. I found how to make it work for key-values, but I don't know how use both words (strings). 2. I dont know how get random results. Does anyone know how? #!j:: ; array := {house: casa, tree: árbol, sun: sol} ; DOES'NT WORK arra...
by Guill
11 Sep 2019, 16:45
Forum: Ask For Help
Topic: Flashcards game with AHK Topic is solved
Replies: 5
Views: 696

Re: Flashcards game with AHK Topic is solved

AHKStudent wrote:
11 Sep 2019, 16:34
if you add

q::

on top of ButtonOK32: it will change every time you hit q

The back and front idea can be implemented using an associative array


Thank you AHKStudent,

but I can't do the script by myself.
My knowledge in AHK is very elementary.
by Guill
11 Sep 2019, 13:32
Forum: Ask For Help
Topic: Flashcards game with AHK Topic is solved
Replies: 5
Views: 696

Flashcards game with AHK Topic is solved

Hi guys, I would like to know if it is possible to make a kind of FlashCards game with AHK. For example, from the following list, for English-Spanish words: House - Casa Tree - Árbol Sun - Sol I would like random words to appear (example, Tree), and by pressing a hotkey (ex. F1), you can see the bac...
by Guill
02 Sep 2019, 21:58
Forum: Ask For Help
Topic: Help with an Easy loop (I think) Topic is solved
Replies: 2
Views: 494

Help with an Easy loop (I think) Topic is solved

Hi Guys

I need to automate the following:

a).
b).
c).
...
...
z). (up to z)

I think I need a loop like this:

Code: Select all

Loop 26
{
Send "changing letter"
Send {)}. {Enter}
}
What should I put where it says "changing letter"?

Thanks in advance
by Guill
22 Aug 2019, 16:18
Forum: Ask For Help
Topic: Regular expression to apply in a TXT file
Replies: 3
Views: 682

Re: Regular expression to apply in a TXT file

Hi, I just came up with this. I hope it does what you wanted. The Text is just an example, just copy that function and call it whenever you need it. Text := "This Text is `nsplit into two lines!`r`nThere are mutliple sentences too." Text := PolishText(Text) MsgBox % Text return PolishText(Text) { T...
by Guill
22 Aug 2019, 12:04
Forum: Ask For Help
Topic: 5000 lines in my hotkey file!
Replies: 1
Views: 369

Re: 5000 lines in my hotkey file!

I would divide the large script into several small and specific ones (one for Office, another for websites, another for other programs, etc.)

And I would have a general one that activates or deactivates individual and specific scripts.
by Guill
22 Aug 2019, 11:01
Forum: Ask For Help
Topic: Regular expression to apply in a TXT file
Replies: 3
Views: 682

Regular expression to apply in a TXT file

Hi Guys I have text files (*.txt) that I've copied from PDF files, and I need to delete wrong Carriage Returns I suppose I need a Regular Expression, but I can't write it by myself. It should do something like that: "get to the end of the line (Send ^{End}); if there is a point (Full stop), go down ...

Go to advanced search