Search found 42 matches
- 18 Jul 2019, 15:04
- Forum: Ask for Help (v1)
- Topic: ListView search / filter Topic is solved
- Replies: 29
- Views: 13295
Re: [Solved] ListView search / filter Topic is solved
Can someone help me to make this code run the file on the listview? #NoEnv #SingleInstance force SetBatchLines, -1 LVArray := [] Gui, Add, Text, ,Search: Gui, Add, Edit, w400 vSearchTerm gSearch Gui, Add, ListView, grid r20 w400 vLV, FileName Loop, %A_WinDir%\System32\*.* { LV_Add("", A_LoopFileName...
- 13 Jul 2019, 00:25
- Forum: Ask for Help (v1)
- Topic: FileAppend raw option Topic is solved
- Replies: 2
- Views: 1121
Re: FileAppend raw option Topic is solved
var1 := "Hello World" var2 := "Hello Mars" ; Option 1 - selectively: escape % using backtic ` - see https://www.autohotkey.com/docs/commands/_EscapeChar.htm FileAppend, ( %var1%, `%var2`% SetWorkingDir `%A_ScriptDir`% ), Test.txt ; Option 2 - simply all: see https://www.autohotkey.com/docs/Scripts....
- 12 Jul 2019, 15:04
- Forum: Ask for Help (v1)
- Topic: Image Search Function is unstable Topic is solved
- Replies: 2
- Views: 621
Re: Image Search Function is unstable Topic is solved
It will take me a while to see if this is the final solution to the problem. I will mark it as solved by now. Thanks a lot for helping me out and the time spent on it! I'm grateful for that!!! Ps: I will read a bit now about the ByRef parameter hehe
- 12 Jul 2019, 15:03
- Forum: Ask for Help (v1)
- Topic: FileAppend raw option Topic is solved
- Replies: 2
- Views: 1121
FileAppend raw option Topic is solved
Hello there! This code works fine. It changes %var1% to the actual value found in the csv cell I want. However, sometimes I want the file append to write the exactly thing (for instance, i want it to write %variable%) and it will simply skip it . Another thing, I want it to write exactly "%A_ScriptD...
- 11 Jul 2019, 08:36
- Forum: Ask for Help (v1)
- Topic: Image Search Function is unstable Topic is solved
- Replies: 2
- Views: 621
Image Search Function is unstable Topic is solved
Hello there! This is the code that works fine: Loop, { CoordMode, Pixel, Screen CoordMode, Mouse, Screen SetWorkingDir %A_ScriptDir% ImageSearch, xxx, yyy, 0, 0, 2731, 763, finalizar1.png Sleep, 500 if ErrorLevel = 2 MsgBox Não consegui nem pesquisar a imagem if ErrorLevel = 1 Sleep, 700 if ErrorLev...
- 04 Jul 2019, 08:40
- Forum: Ask for Help (v1)
- Topic: Rookie question : hold key triggers keystroke Topic is solved
- Replies: 7
- Views: 1379
- 04 Jul 2019, 08:37
- Forum: Ask for Help (v1)
- Topic: image
- Replies: 19
- Views: 2662
Re: image
I rarely use Imagesearch , but I know that a lossless format like bmp or png is usually better than lossy jpg. Also try to play around with the options, like: *n (variation): Specify for n a number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either directi...
- 03 Jul 2019, 07:56
- Forum: Ask for Help (v1)
- Topic: image
- Replies: 19
- Views: 2662
Re: image
This should do the job: CoordMode, Pixel, Screen CoordMode, Mouse, Screen SetWorkingDir %A_ScriptDir% ImageSearch, coordx, coordy, 0, 0, A_ScreenWidth, A_ScreenHeight, image.bmp if (ErrorLevel = 2) msgbox theres something wrong ; script is messed up if (ErrorLevel = 1) msgbox cant see it ; script i...
- 03 Jul 2019, 07:13
- Forum: Ask for Help (v1)
- Topic: image
- Replies: 19
- Views: 2662
Re: image
This should do the job: CoordMode, Pixel, Screen CoordMode, Mouse, Screen SetWorkingDir %A_ScriptDir% ImageSearch, coordx, coordy, 0, 0, A_ScreenWidth, A_ScreenHeight, image.bmp if (ErrorLevel = 2) msgbox theres something wrong ; script is messed up if (ErrorLevel = 1) msgbox cant see it ; script is...
- 01 Jul 2019, 10:19
- Forum: Ask for Help (v1)
- Topic: Rookie question : hold key triggers keystroke Topic is solved
- Replies: 7
- Views: 1379
Re: Rookie question : hold key triggers keystroke Topic is solved
This should work:
Source: https://stackoverflow.com/questions/38615765/autohotkey-send-only-once-when-held-down
Code: Select all
v::
send, hello
keywait, v
return
v up::
send, goodbye
return
- 28 Jun 2019, 08:22
- Forum: Ask for Help (v1)
- Topic: Find text and check radio button which is right side to it
- Replies: 4
- Views: 1147
Re: Find text and check radio button which is right side to it
Hello frd, many thanks for the help. Where should I put the word in this script which I want to find? You should take a screenshot and make a picture of the word you're looking for (you´ve got to create a jpeg or a BMP of it). That's probably the easiest path to do what you're trying to do. Does th...
- 26 Jun 2019, 10:35
- Forum: Ask for Help (v1)
- Topic: Find text and check radio button which is right side to it
- Replies: 4
- Views: 1147
Re: Find text and check radio button which is right side to it
Hello there! You find the word or the image you're looking for and add a few pixels or subtract a few pixels. Like this: CoordMode, Pixel, Screen CoordMode, Mouse, Screen SetWorkingDir %A_ScriptDir% ImageSearch, coordx, coordy, 0, 0, A_ScreenWidth, A_ScreenHeight, image.bmp if (ErrorLevel = 2) msgbo...
- 24 Jun 2019, 16:55
- Forum: Ask for Help (v1)
- Topic: Google Sheets
- Replies: 3
- Views: 2460
Re: Google Sheets
I use Google Sheets a lot, I just go to "File" and "Download as" - ".CSV", then I work with AHK. Am I overlooking something?
- 24 Jun 2019, 16:16
- Forum: Ask for Help (v1)
- Topic: How do i make a script with find image and click in background?
- Replies: 1
- Views: 645
Re: How do i make a script with find image and click in background?
Hello, i need make a script that if have an image or text on the screen it clicks in the image and press enter, but it would be in the background, would it have? Image or text i need to click on tibia window imgur.com/5y8VK25.png [img /img] doesn't work As long as I know, AHK is not currently able ...
- 20 Jun 2019, 20:41
- Forum: Ask for Help (v1)
- Topic: Directive if question (#IF) Topic is solved
- Replies: 4
- Views: 1108
Re: Directive if question (#IF) Topic is solved
This is world-class help. Now I can fully understand why it didnt work! Yes, my variable was in the middle of the script... Getting no love haha thanks again!
- 20 Jun 2019, 16:16
- Forum: Ask for Help (v1)
- Topic: Directive if question (#IF) Topic is solved
- Replies: 4
- Views: 1108
Re: Directive if question (#IF) Topic is solved
Yes I do have code not shown. But there are no directives before that one, only two functions and a few hotkeys. I tried again and put the [variable := 1] in the very beginning of the code and now it´s working! So this is a solved issue now. Thanks for helping me out. Also, Ive been learning a lot w...
- 20 Jun 2019, 15:14
- Forum: Ask for Help (v1)
- Topic: Directive if question (#IF) Topic is solved
- Replies: 4
- Views: 1108
Directive if question (#IF) Topic is solved
Hello there! I have two interfaces to deal with: one for each language. I tried to do the following:
And it doesn't work. What am I doing wrong? Also, is this the ideal approach to this problem? Thanks in advance!
Code: Select all
language = 1
#if (language = 1)
a::b
#if (language = 2)
a::c
- 16 Jun 2019, 08:36
- Forum: Ask for Help (v1)
- Topic: search list of words and trigger hotkey Topic is solved
- Replies: 2
- Views: 1208
Re: search list of words and trigger hotkey Topic is solved
I'm not familiar with AHKCommandPicker but you might want have a look at Lintalist as it can search for text and execute a script using variables. Thread here https://www.autohotkey.com/boards/viewtopic.php?f=6&t=3378 incl. intro video ;) A snippet can have several parts: Part1 (John Doe) or John D...
- 16 Jun 2019, 01:29
- Forum: Scripts and Functions (v1)
- Topic: AHK Command Picker
- Replies: 2
- Views: 2231
Re: AHK Command Picker
Reason for this post - CodePlex is shutting down - and our fellow AHKgeek deadlydog has hosted his script out there ...(where I've found it a minute ago) :) AHK Command Picker - An AutoHotkey (AHK) script that allows you to easily call AHK functions to run other AHK scripts. (Requires AutoHotkey_L)...
- 16 Jun 2019, 00:31
- Forum: Ask for Help (v1)
- Topic: search list of words and trigger hotkey Topic is solved
- Replies: 2
- Views: 1208
search list of words and trigger hotkey Topic is solved
Hi folks! I hope you´re all doing fine! My problem: I have 50 email adresses and everyday I have to send emails to them. Not to all of them, but for some and its quite random. I want AHK to help me like this: if I have a someone registered as John Doe, i type "doe" and it shows "John Doe", "Mary Doe...