Search found 72 matches

by foxhunter
26 Nov 2022, 01:23
Forum: Scripts and Functions (v1)
Topic: GDI+ standard library 1.45 by tic
Replies: 441
Views: 253146

Re: GDI+ standard library 1.45 by tic

I have a strange issue: Using old Gdip_All_dropbox.ahk the script works, but updating to the new version on github it saves a black screenshot (with correct width/height) I am using AHK 1.1.35.00 with Win7 32 bit. Could please give a a hand? Thank you. ;dont work, black output: #include Gdip_All.ahk...
by foxhunter
02 Mar 2021, 07:02
Forum: Ask for Help (v1)
Topic: Regex replace accented characters problem
Replies: 2
Views: 323

Re: Regex replace accented characters problem

Use UTF-8-BOM file encoding, not UTF-8 encoding
by foxhunter
23 Jan 2018, 05:02
Forum: Ask for Help (v1)
Topic: RegEx Question Topic is solved
Replies: 7
Views: 1935

Re: RegEx Question Topic is solved

Thanks for the explanation!!!
by foxhunter
20 Jan 2018, 12:26
Forum: Ask for Help (v1)
Topic: RegEx Question Topic is solved
Replies: 7
Views: 1935

Re: RegEx Question Topic is solved

Oh I see, both solutions works ! Maybe you could comment out a little bit for understanding, as it is unclear to me : - Why `a is required in the regex options, but \R does not (" \R means "any single newline of any type", namely those listed at the `a option")? - Why join`r`n is needed, although th...
by foxhunter
20 Jan 2018, 08:29
Forum: Ask for Help (v1)
Topic: Imagesearch not working! Topic is solved
Replies: 6
Views: 1620

Re: Imagesearch not working! Topic is solved

This should work normally, so please check if your file exists (this is one of the reasons why Imagesearch could not conduct the search). Maybe close the Image program, which could block this file. In addition sometimes could help, to active the program before doing an Imagesearch inside the program...
by foxhunter
20 Jan 2018, 08:03
Forum: Ask for Help (v1)
Topic: RegEx Question Topic is solved
Replies: 7
Views: 1935

RegEx Question Topic is solved

Hello, I need help for regex expressions. I want to remove all Lines with having a trailing Backslash and starting with two spaces using this code: needle:= "m) .*?\\\R" haystack= ( Line01 Line02 Line03\ Line04\ Line05\ Line06\ ) NewStr := Regexreplace(haystack, needle) msgbox %NewStr% The result fo...
by foxhunter
20 Jan 2018, 05:53
Forum: Ask for Help (v1)
Topic: Imagesearch not working! Topic is solved
Replies: 6
Views: 1620

Re: Imagesearch not working! Topic is solved

Probably it wasnt found as you use jpg. Try other lossless formats like bmp or png or specify with *n the variations.
by foxhunter
03 Jan 2018, 16:09
Forum: Ask for Help (v1)
Topic: Clicking Buttons Topic is solved
Replies: 5
Views: 1642

Re: Clicking Buttons Topic is solved

With Citrix you'll have no luck with Odlanir's solution. You can either try PixelSearch or ImageSearch
by foxhunter
03 Jan 2018, 15:57
Forum: Ask for Help (v1)
Topic: Want to choose to bypass or passing on the ~LButton Topic is solved
Replies: 7
Views: 1934

Re: Want to choose to bypass or passing on the ~LButton Topic is solved

With #IfWinActive you can assign different LButton for different windows.
by foxhunter
28 Jan 2017, 05:25
Forum: Ask for Help (v1)
Topic: Enable_Disable Control Panel and Settings using AutoHotkey
Replies: 6
Views: 2060

Re: Enable_Disable Control Panel and Settings using AutoHotkey

Run your script as admin, this works for me
by foxhunter
31 Dec 2016, 10:24
Forum: Ask for Help (v1)
Topic: Progress is slower than counter
Replies: 3
Views: 1577

Re: Progress is slower than counter

My code was a breakdown to a simple version. Therefore I thought a loop with 1000 iterations is more practical to show the problem. I don't like to slow down my script with sleep only because the loop is faster than the visualizion of bar.
by foxhunter
31 Dec 2016, 09:32
Forum: Ask for Help (v1)
Topic: Progress is slower than counter
Replies: 3
Views: 1577

Progress is slower than counter

Hello, when using this code, you will mention, that the Counter(A_index) reaches 1000, but Progressbar has not reached the even half of the bar. Reason seems that bar "slowly" fills. Is there a possibility the speed this up, having an immediate fill? https://s23.postimg.org/va722t5jf/Counter_Demo.jp...
by foxhunter
08 Dec 2016, 01:04
Forum: Ask for Help (v1)
Topic: AHK Clipboard & Excel returns "The picture is too large and will be truncated" Topic is solved
Replies: 3
Views: 1731

Re: AHK Clipboard & Excel returns "The picture is too large and will be truncated" Topic is solved

OFC this script itsself would make no sense. The script is only a "cleared" example, which is reduced to/showing the core problem. I have this problem with Win7 + Excel 2010 and 2013 (no other Excel/OS tested). Also I though of an check if Excel is activce, but the reason for use that script is to s...
by foxhunter
20 Nov 2016, 10:12
Forum: Ask for Help (v1)
Topic: Problem with IF
Replies: 0
Views: 653

Problem with IF

Sound strange, I don't understand the following behaviour: var := "test" if var="test" ; will NOT be executed { msgbox IF1 statement executed } if (var="test") ; will be executed !! { msgbox IF2 statement executed } I know, it's a matter of brackets, but in my mind both IF statements should work... ...
by foxhunter
15 Oct 2016, 04:23
Forum: Ask for Help (v1)
Topic: Messagebox stays in front Topic is solved
Replies: 2
Views: 1369

Re: Messagebox stays in front Topic is solved

Thanks for the help..I was sure I tested Settimer,,off , but obviously not...
by foxhunter
14 Oct 2016, 12:20
Forum: Ask for Help (v1)
Topic: Messagebox stays in front Topic is solved
Replies: 2
Views: 1369

Messagebox stays in front Topic is solved

I've this example for a messagebox with specific buttontexts (using functions without global variables). Unfortunalely it stays always in front, as the SetTimer, %obj% , off doesn't work as expected. Does somebody has a hint? MyMsgBox(4, "Add or Delete", "Choose a button:", "&Add|Delete") IfMsgBox, ...
by foxhunter
06 Sep 2016, 13:27
Forum: Ask for Help (v1)
Topic: ComObjGet Topic is solved
Replies: 1
Views: 1509

ComObjGet Topic is solved

Hello, I don't understand the documentation example of ComObjGet . There is the line if queryEnum[process] where I don't know where the process -Variable is going to be initialized. Rename process to another variablename (e.g. queryprocess ) will fail. Could someone please explain? ; Example: Press ...
by foxhunter
30 Aug 2016, 14:10
Forum: Ich brauche Hilfe
Topic: Problem mit ComObjCreate
Replies: 7
Views: 2474

Re: Problem mit ComObjCreate

Bei mir komm ich zumindest bis Zeile 009 = wb.document.getElementById("char").value := Loginname
by foxhunter
27 Aug 2016, 17:55
Forum: Ask for Help (v1)
Topic: How to Click Button on Wunderlist - List
Replies: 6
Views: 2234

Re: How to Click Button on Wunderlist - List

Use WinRestore or WinMaximize to unminimize a window.
by foxhunter
27 Aug 2016, 17:39
Forum: Ask for Help (v1)
Topic: How to return and use result of StringSplit?
Replies: 3
Views: 1580

Re: How to return and use result of StringSplit?

Don't use pseudo arrays for function returns. ExtractAction(Action, Contents) { RegExMatch(Contents, "%Action%((.*))", ActionResult) RegExMatch(ActionResult, "\((.*?)\)", parenthesis) StringReplace, parenthesis, parenthesis, (, ``, All StringReplace, parenthesis, parenthesis, ), ``, All StringSplit,...

Go to advanced search