Search found 478 matches

by braunbaer
27 Jun 2023, 11:16
Forum: Ask for Help (v1)
Topic: How to verify if file is of a certain type
Replies: 18
Views: 668

Re: How to verify if file is of a certain type

What do you want to happen if there are several files matching one of the types?
by braunbaer
27 Jun 2023, 11:11
Forum: Ask for Help (v1)
Topic: Titlematchmode
Replies: 1
Views: 193

Titlematchmode

Hi!

Is it possible somehow to use differnt titlematchmodes for different #ifwinactive commands in the same script?
by braunbaer
05 Dec 2022, 12:13
Forum: Ask for Help (v1)
Topic: Accesss firefox bookmarks through ahk
Replies: 4
Views: 364

Re: Accesss firefox bookmarks through ahk

Thank you for these helpful links. I have not yot yet started searching for infos, so with these links, maybe I can skip this step :)
by braunbaer
04 Dec 2022, 10:48
Forum: Ask for Help (v1)
Topic: Accesss firefox bookmarks through ahk
Replies: 4
Views: 364

Re: Accesss firefox bookmarks through ahk

Thanky you for your answer. That's about what I feared...
So I'll have to find out what is the structure of the sqlite database and how to access it (I haven't worked with sqlite yet)
by braunbaer
04 Dec 2022, 09:45
Forum: Ask for Help (v1)
Topic: Accesss firefox bookmarks through ahk
Replies: 4
Views: 364

Accesss firefox bookmarks through ahk

Hi! I have not yet found a way to access the firefox bookmarks: Add or remove an url in some bookmark folder, check if a given title or url is already a bookmark etc
Is that possible with AHK?
by braunbaer
22 Nov 2022, 07:53
Forum: Ask for Help (v1)
Topic: RegExReplace, substitution challenge, multiple subpaterns Topic is solved
Replies: 18
Views: 2095

Re: RegExReplace, substitution challenge, multiple subpaterns Topic is solved

When I search, for example, for "/s,/s" it replaces with nothing (" , " just disappears) I don't understand what you are exactly looking for. Could you give a complete example: How does the input string look like, what should be the replacement rules, and what is the expected output? you could just...
by braunbaer
24 Jun 2022, 12:50
Forum: Ask for Help (v1)
Topic: Can't calculation of Clipboard, how to let Autohotkey know ( arr1, arr2, arr3, arr4) are the number?
Replies: 9
Views: 1227

Re: Can't replace one part of clipboard…

Use msgbox to check if the variables really contain what you expect. I suppose at least one of the variables is null (empty string), then the result of such a calculation also becomes null.
by braunbaer
23 Jun 2022, 12:33
Forum: Ask for Help (v1)
Topic: Develop a point of sale or ERP System using AHK? Topic is solved
Replies: 7
Views: 939

Re: Develop a point of sale or ERP System using AHK? Topic is solved

This is the first time I heard about RAD platform and Lazarus, I searched on Google and found that they are a platform for building only the GUI and not the back-end, Is this true? and What programming language is required for the back-end when creating a GUI using Lazarus? No, you got it wrong. La...
by braunbaer
20 Jun 2022, 04:13
Forum: Ask for Help (v1)
Topic: Develop a point of sale or ERP System using AHK? Topic is solved
Replies: 7
Views: 939

Re: Develop a point of sale or ERP System using AHK, Is it easy or possible to do؟ Topic is solved

While you can do virtually everything with AHK, the programming language is not designed to do that kind of stuff. Rather use a RAD platform, like for example Lazarus.
by braunbaer
30 May 2022, 14:06
Forum: Ask for Help (v1)
Topic: BEEP when ENABLED (but not when DISABLED)
Replies: 2
Views: 369

Re: BEEP when ENABLED (but not when DISABLED)

Code: Select all

~F20:: 	;"toggles" script (using pause instead of suspend; not sure if this works properly yet)
	Pause, toggle, 1
	if not A_IsPaused
		SoundPlay, *-1
return

by braunbaer
25 May 2022, 20:40
Forum: Ask for Help (v1)
Topic: Desktop Grid Topic is solved
Replies: 13
Views: 882

Re: Desktop Grid Topic is solved

An idea: First minimize all open windows While your mouse is over an icon, the icon borders are displayed in a specific color, I suppose it depends on how you configured the screen colors. Use Window spy to check what color that is. Move the mouse near the left upper corner of the screen, so that it...
by braunbaer
19 May 2022, 11:16
Forum: Ask for Help (v1)
Topic: How do I fire a prefix key only if it's released within a period of time?
Replies: 2
Views: 255

Re: How do I fire a prefix key only if it's released within a period of time?

Capslock & j:: send down Justpressed:=true settimer, forgetpressed, -1000 ; one second return forgetpressed: Justpressed := false return #if Justpressed Capslock:: Send, {escape} Justpressed := false return #if
by braunbaer
19 May 2022, 11:05
Forum: Ask for Help (v1)
Topic: If and or expression Topic is solved
Replies: 4
Views: 298

Re: If and or expression Topic is solved

This expression will always return true, because part.1 can't be at the same time equal to "abc" and to "aaa" , so at least one subexpression on one side of the or must be true.
by braunbaer
17 May 2022, 16:54
Forum: Ask for Help (v1)
Topic: Url download produces chinese characters Topic is solved
Replies: 3
Views: 356

Re: Url download produces chinese characters Topic is solved

Thank you both!

Both ways work fine.
As myip.is shows the IP address and in addition the host name, I will use teadrinkers function.
by braunbaer
17 May 2022, 11:31
Forum: Ask for Help (v1)
Topic: Url download produces chinese characters Topic is solved
Replies: 3
Views: 356

Url download produces chinese characters Topic is solved

Hi, I use the following funtion with code that I found here in the forum, and that normally works: UrlDownload(Url) { whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") whr.Open("GET", Url, true) whr.Send() ; Using 'true' above and the call below allows the script to remain responsive. whr.WaitForRes...
by braunbaer
03 Apr 2022, 14:13
Forum: Ask for Help (v1)
Topic: Best approach to queue incoming files
Replies: 3
Views: 344

Re: Best approach to queue incoming files

You create an array of filenames. When a new file appears, you add the file name to the array.
another routine checks periodically if the array is nonempty and processes the files in the array, one after the other (after processing a file, of course it has to remove the file name from the array.
by braunbaer
26 Mar 2022, 10:21
Forum: Ask for Help (v1)
Topic: extract text lines after word1 and before word2 from text file
Replies: 10
Views: 1150

Re: extract text lines after word1 and before word2 from text file

not from in the script The idea of this board is to help people to find solutions to their problems. Your problem was not how to read a string from a file, but how to to extract text from a string. That is what the script of mikeyww shows you. One would expect that after you get this help, you are ...
by braunbaer
15 Feb 2022, 18:47
Forum: Ask for Help (v1)
Topic: Window position
Replies: 1
Views: 590

Re: Window position

I don't understand what you want to achieve with this script, but the way it is programmed does not seem to make much sense. The variable stop is initialized to 0 and never changed, so the loops are endless loops IniRead, %winX% %winY%, Test.ini, Position, GuiPosition The first parameter of iniread ...
by braunbaer
10 Feb 2022, 12:17
Forum: Ask for Help (v1)
Topic: How to Call a function on change of input box of a desktop application Topic is solved
Replies: 6
Views: 896

Re: How to Call a function on change of input box of a desktop application Topic is solved

You can use a timer to periodically check the content of the control that you want to monitor.
Use controlget to read the content of the control in the timer subroutine.
by braunbaer
09 Feb 2022, 15:38
Forum: Ask for Help (v1)
Topic: fake frequency in array table 2nd column Topic is solved
Replies: 23
Views: 1930

Re: fake frequency in array table 2nd column Topic is solved

Can you please try to explain in an understandable way what you want?

Go to advanced search