Search found 2143 matches

by wolf_II
16 Oct 2018, 05:20
Forum: Ask For Help
Topic: Removing Duplicates from Multi-Dimensional Array
Replies: 2
Views: 65

Re: Removing Duplicates from Multi-Dimensional Array

Try this: answers := [["fruugo.co.uk","Croud"],["b","c"],["fruugo.co.uk","Croud"]] NEW_array := removeDuplicates(answers) ;------------------------------------------------------------------------------- removeDuplicates(Arr2D) { ; remove duplicates from a 2-dimensional array ;-----------------------...
by wolf_II
15 Oct 2018, 23:46
Forum: Ask For Help
Topic: Help needed
Replies: 41
Views: 422

Re: Help needed

You can try to use coordinates for clicking, you can try to use ClassNN, or wait til someone else gives you a solution. I would probably try to get a list of all controls and take it from there, if that is possible. It may work, it may not. possible quick-fix: If there is just one button, it would n...
by wolf_II
15 Oct 2018, 13:27
Forum: Ask For Help
Topic: Help needed
Replies: 41
Views: 422

Re: Help needed

The name of the exe changed. Do you still get info about the target button with WinSpy? If that changed too, the script can't work. You would have to fall back onto more sophisticated scripts. If that did not change, try to copy the name of the button from WinSpy and paste it in the script or in a e...
by wolf_II
15 Oct 2018, 10:43
Forum: Ask For Help
Topic: Help needed
Replies: 41
Views: 422

Re: Help needed

The original script is broken Do I get this right? The "original" script is the one where I claim that it works for me ? I tried again, it works OK for me, and I can not reproduce the error. After-thought: Did anything change between your initial tests and now? Maybe you use a different "whatever.e...
by wolf_II
14 Oct 2018, 23:42
Forum: Ich brauche Hilfe
Topic: Herausfinden, wie oft mit Mausrad gescrollt worden ist Topic is solved
Replies: 2
Views: 64

Re: Herausfinden, wie oft mit Mausrad gescrollt worden ist Topic is solved

Versuchs mal so: ; define two separate counters Up_Counter := Dn_Counter := 0 ~WheelDown:: show_WheelCounters(Up_Counter, Dn_Counter++) ; increment counter ~WheelUp:: show_WheelCounters(Up_Counter++,Dn_Counter) ; increment counter show_WheelCounters(Up, Down) { ToolTip, Up:`t%Up%`nDown:`t%Down% } Ic...
by wolf_II
14 Oct 2018, 02:05
Forum: Scripts and Functions
Topic: CustomBoxes: a collection of helper functions
Replies: 10
Views: 1043

Re: CustomBoxes: a collection of helper functions

I'm glad you like these little helpers. :D

Thanks for pointing out the missing translations. OOPS.
CustomBoxes.zip
(52.71 KiB) Downloaded 16 times
by wolf_II
14 Oct 2018, 01:28
Forum: Scripts and Functions
Topic: CustomBoxes: a collection of helper functions
Replies: 10
Views: 1043

Re: CustomBoxes: a collection of helper functions

Update:
by wolf_II
13 Oct 2018, 09:16
Forum: Ask For Help
Topic: Building simple GUI's
Replies: 5
Views: 78

Re: Building simple GUI's

Try this also: #NoEnv #SingleInstance, Force Title := "start a program" Prompt := "choose one of 8 different configurations" List := "One|Two|Three|Four|Five|Six|Seven|Nine" WantNumeric := True return ; end of auto-execute section ;--------------------------------------------------------------------...
by wolf_II
11 Oct 2018, 13:02
Forum: Ask For Help
Topic: Test if a date is between two dates
Replies: 3
Views: 89

Re: Test if a date is between two dates

Try this:

Code: Select all

if A_MM in 2,3,4,5,6,7
    output_date := A_YYYY "0701"
else
    output_date := A_YYYY + 1 "0101"

FormatTime, european_date_format, %output_date%, dd.MM.yyyy

MsgBox % european_date_format
I hope that helps.
by wolf_II
09 Oct 2018, 17:37
Forum: Ask For Help
Topic: Must be the most stupid question ever.. Topic is solved
Replies: 2
Views: 62

Re: Must be the most stupid question ever.. Topic is solved

Try this:

Code: Select all

Clean:
Gui, Submit ; <<< here <<<
FileAppend,%Input%,email_dump_a.txt
return
I hope that helps.
by wolf_II
08 Oct 2018, 20:37
Forum: Ask For Help
Topic: How to check focused control changes with OnMessage() rather than gLabel SetTimer? Topic is solved
Replies: 14
Views: 224

Re: How to check focused control changes with OnMessage() rather than gLabel SetTimer? Topic is solved

DRocks wrote:Can you confirm that it does not act like a SetTimer loop that is constantly repeating no matter what?
In other words, this WinEventHook is only reacting and using CPU ressources when prompted on a window event?
Yes. That is my understanding of a callback function.
by wolf_II
08 Oct 2018, 10:57
Forum: Ask For Help
Topic: Process Notifier Topic is solved
Replies: 4
Views: 92

Re: Process Notifier Topic is solved

Please use AHK v1.1 ANSI or AHK v1.1 Unicode ! The original script was written for AHK Basic . I changed the script and it now uses AHK v1.1 32bits. AHK Basic does not work and AHK x64 does not work. TrayTip tested OK with Win 10 x64. I noticed the amount of text from before does not fit, so I remov...
by wolf_II
08 Oct 2018, 08:50
Forum: Ask For Help
Topic: Process Notifier Topic is solved
Replies: 4
Views: 92

Re: Process Notifier Topic is solved

Try this: ; Script Name: New Process Notifier ; Language: English ; Platform: Windows XP or later ; Script Version: 1.1.0 on Aug 31, 2010 ; Script Function: This script notifies newly launched processes via tooltip. ; Copyright (C) 2010 sbc <http://sites.google.com/site/littlescripting/> ; Licence: ...
by wolf_II
08 Oct 2018, 03:46
Forum: Ask For Help
Topic: How to check focused control changes with OnMessage() rather than gLabel SetTimer? Topic is solved
Replies: 14
Views: 224

Re: How to check focused control changes with OnMessage() rather than gLabel SetTimer? Topic is solved

Maybe you could try to set WinEvent hooks instead. DllCall("SetWinEventHook","UInt",0x8005,"UInt",0x8005,"Ptr",0,"Ptr",RegisterCallback("THE_HOOK","F"),"UInt",DllCall("GetCurrentProcessId"),"UInt",0,"UInt",0) CoordMode ToolTip,Client Gui Add,Edit Gui Add,Button,,OK Gui Show TT_Off: ToolTip Esc:: Gui...
by wolf_II
06 Oct 2018, 02:30
Forum: Scripts and Functions
Topic: Print(), PrintDebug(), Stdout() & Stdin()
Replies: 10
Views: 419

Re: Print(), PrintDebug(), Stdout() & Stdin()

OK, I see now. Thanks.
... and no, I don't know how to make AHK use the stdin feature of the SciTE console.
by wolf_II
05 Oct 2018, 21:59
Forum: Scripts and Functions
Topic: Print(), PrintDebug(), Stdout() & Stdin()
Replies: 10
Views: 419

Re: Print(), PrintDebug() & Stdout()

Thanks for sharing those functions.
I changed the CONOUT$ to * and running the script from SciTE4AHK is also supported.
by wolf_II
02 Oct 2018, 17:33
Forum: Ask For Help
Topic: How to display scrolling text area?
Replies: 2
Views: 55

Re: How to display scrolling text area?

I would start with constant width/height for the scrollable Edit, maybe make it ReadOnly.
by wolf_II
02 Oct 2018, 16:23
Forum: Ask For Help
Topic: Gui for adding days to the current date Topic is solved
Replies: 5
Views: 49

Re: Gui for adding days to the current date Topic is solved

For 2nd question and im also curious if you can prevent the "date" selection from being a drop down so it just shows the current date that's ReadOnly format Try this: Gui, Add, Text, x30 y464 w100, Lead Time= Gui, Add, Edit, x95 y460 w100 h20 vN Gui, Add, Text, x23 y424 w71, Current Date= Gui, Add, ...
by wolf_II
02 Oct 2018, 16:16
Forum: Ask For Help
Topic: Gui for adding days to the current date Topic is solved
Replies: 5
Views: 49

Re: Gui for adding days to the current date Topic is solved

Try this:

Code: Select all

ButtonGet_Date:
    Gui, Submit, NoHide
    EnvAdd, O, N, days
    GuiControl,, P, % SubStr(O, 1, 8)
Return
I hope that helps.

Go to advanced search