Search found 42 matches

by frd
18 Jul 2019, 15:04
Forum: Ask For Help
Topic: [Solved] ListView search / filter
Replies: 24
Views: 5435

Re: [Solved] ListView search / filter

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...
by frd
13 Jul 2019, 00:25
Forum: Ask For Help
Topic: FileAppend raw option Topic is solved
Replies: 2
Views: 611

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....
by frd
12 Jul 2019, 15:04
Forum: Ask For Help
Topic: Image Search Function is unstable Topic is solved
Replies: 2
Views: 496

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
by frd
12 Jul 2019, 15:03
Forum: Ask For Help
Topic: FileAppend raw option Topic is solved
Replies: 2
Views: 611

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...
by frd
11 Jul 2019, 08:36
Forum: Ask For Help
Topic: Image Search Function is unstable Topic is solved
Replies: 2
Views: 496

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...
by frd
04 Jul 2019, 08:40
Forum: Ask For Help
Topic: Rookie question : hold key triggers keystroke Topic is solved
Replies: 7
Views: 967

Re: Rookie question : hold key triggers keystroke Topic is solved

lordextra wrote:
03 Jul 2019, 15:16
One quick thing, what would the syntax exactly look like for sending Ctrl-Shift-K for instance?
I guess so! Please mark as solved if it works properly =)
by frd
04 Jul 2019, 08:37
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2143

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...
by frd
03 Jul 2019, 07:56
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2143

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...
by frd
03 Jul 2019, 07:13
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2143

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...
by frd
28 Jun 2019, 08:22
Forum: Ask For Help
Topic: Find text and check radio button which is right side to it
Replies: 4
Views: 816

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...
by frd
26 Jun 2019, 10:35
Forum: Ask For Help
Topic: Find text and check radio button which is right side to it
Replies: 4
Views: 816

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...
by frd
24 Jun 2019, 16:55
Forum: Ask For Help
Topic: Google Sheets
Replies: 3
Views: 947

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?
by frd
24 Jun 2019, 16:16
Forum: Ask For Help
Topic: How do i make a script with find image and click in background?
Replies: 1
Views: 388

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 ...
by frd
20 Jun 2019, 20:41
Forum: Ask For Help
Topic: Directive if question (#IF) Topic is solved
Replies: 4
Views: 760

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!
by frd
20 Jun 2019, 16:16
Forum: Ask For Help
Topic: Directive if question (#IF) Topic is solved
Replies: 4
Views: 760

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...
by frd
20 Jun 2019, 15:14
Forum: Ask For Help
Topic: Directive if question (#IF) Topic is solved
Replies: 4
Views: 760

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:

Code: Select all

language = 1

#if (language = 1)
a::b

#if (language = 2)
a::c
And it doesn't work. What am I doing wrong? Also, is this the ideal approach to this problem? Thanks in advance!
by frd
16 Jun 2019, 08:36
Forum: Ask For Help
Topic: search list of words and trigger hotkey Topic is solved
Replies: 2
Views: 553

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...
by frd
16 Jun 2019, 01:29
Forum: Scripts and Functions
Topic: AHK Command Picker
Replies: 2
Views: 1648

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)...
by frd
16 Jun 2019, 00:31
Forum: Ask For Help
Topic: search list of words and trigger hotkey Topic is solved
Replies: 2
Views: 553

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...

Go to advanced search