Search found 40 matches

by sinbad
30 Jan 2019, 09:07
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 309
Views: 154581

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Soft wrote:
23 Jan 2015, 14:47
Pleasant Notify original post http://ahkscript.org/boards/viewtopic.php?f=6&t=6056
Image
This looks great, but I just tried this on XP and it doesn't do anything. Any idea how I should fix it?

Thanks!
by sinbad
25 Jan 2019, 08:11
Forum: Ask For Help
Topic: Tickcount rounding Topic is solved
Replies: 2
Views: 615

Re: Tickcount rounding Topic is solved

If you need more precision than A_TickCount's 10ms, use QueryPerformanceCounter(). ; Example: Demonstrates QueryPerformanceCounter(), which gives more precision than A_TickCount's 10ms. DllCall("QueryPerformanceFrequency", "Int64*", freq) DllCall("QueryPerformanceCounter", "Int64*", CounterBefore) ...
by sinbad
25 Jan 2019, 05:37
Forum: Ask For Help
Topic: Tickcount rounding Topic is solved
Replies: 2
Views: 615

Tickcount rounding Topic is solved

Hello!
Is there a way to get exact tickcount without rounding to 10ms?

Thanks
by sinbad
21 Dec 2018, 05:39
Forum: Editors
Topic: Visual studio Vs Sublime Vs Scite. Fight!
Replies: 23
Views: 9462

Visual studio Vs Sublime Vs Scite. Fight!

Good day!

I'm having issues with NPP and I've decided to move. But I can't decide between VS, Sublime and Scite :roll: I know people can be (oddly?) passionate about their technology choices so which is your weapon of choice and what's so great about it?
by sinbad
19 Dec 2018, 06:24
Forum: Ask For Help
Topic: Sublime Text code folding broken
Replies: 1
Views: 502

Sublime Text code folding broken

Hello! I just spent a few hours playing with sublime text 3 after seeing it mentioned positively in the forums. But code folding is still broken for me (I first tried it a couple of years ago and it was same then.) I've searched and tried a few suggestions but nothing so far works. Here's an example...
by sinbad
18 Dec 2018, 05:51
Forum: Ask For Help
Topic: Difference between GUI and InputBox
Replies: 4
Views: 948

Re: Difference between GUI and InputBox

Oh of course it works, I just copied wrong. Egg on my face, sorry for wasting your time and thanks again.

wolf_II wrote:
17 Dec 2018, 18:47
works for me. I start the script, enter "qwerty", close the Gui => and I get the expected result.
by sinbad
17 Dec 2018, 18:44
Forum: Ask For Help
Topic: Difference between GUI and InputBox
Replies: 4
Views: 948

Re: Difference between GUI and InputBox

Try this: MsgBox, % GuiTest() GuiTest() { global GUI, 1: New, +LastFound Gui, Add, Text,, Please enter your name: Gui, Add, Edit, vName Gui, Show WinWaitClose return Name GuiClose: Gui, Submit Gui, Destroy return } I hope that helps. Thanks for trying wolf, it's waiting, but the gui now won't submit.
by sinbad
17 Dec 2018, 17:35
Forum: Ask For Help
Topic: Difference between GUI and InputBox
Replies: 4
Views: 948

Difference between GUI and InputBox

The inputBox waits for user input, but the GUI does not. How can I make GUI behave like input box and wait until submitted? Thanks! InputBox(Prompt) { InputBox, Out, % this.Title, %Prompt% return Out } GuiTest(){ global GUI, New Gui, Add, Text,, Please enter your name: Gui, Add, Edit, vName Gui, Sho...
by sinbad
16 Dec 2018, 06:45
Forum: Ask For Help
Topic: WatchFolder() not detecting changes in network folder
Replies: 0
Views: 419

WatchFolder() not detecting changes in network folder

Good day! When I add a file over the network the WatchFolder() does not detect the change.... #persistent #include watchFolder.ahk global destinationFolder := "E:\1newImage\" receiveFolder := "C:\ReceivedFromPhone" WatchFolder(receiveFolder, "ReportFunction") ; WatchFolder - Reportfunctions ReportFu...
by sinbad
15 Dec 2018, 18:12
Forum: Scripts and Functions
Topic: WatchFolder() - updated on 2016-11-30
Replies: 106
Views: 51186

Re: WatchFolder() - updated on 2016-11-30

Hi this is great but I've found a slight problem. Mine does not always detect a change if I coy a file across the network. Has anyone else experienced this?
by sinbad
15 Dec 2018, 10:38
Forum: Ask For Help
Topic: Wait for GUI input
Replies: 4
Views: 1276

Re: Wait for GUI input

I think my solution will fail if a large file takes more than 10 seconds to copy....
by sinbad
15 Dec 2018, 10:17
Forum: Ask For Help
Topic: Wait for GUI input
Replies: 4
Views: 1276

Re: Wait for GUI input

Hi. As far as I can see, probably you need to specify "Files" just after the Loop command. In Help, it says, Loop, Files, FilePattern [, Mode] https://autohotkey.com/docs/commands/LoopFile.htm I hope it will prevent from looping. But why do you need to use settimer if you want to loop the block all...
by sinbad
15 Dec 2018, 05:11
Forum: Ask For Help
Topic: Wait for GUI input
Replies: 4
Views: 1276

Wait for GUI input

Good morning! I want to monitor a folder for new png files and then popup a gui for data entry. I just cobbled this together with stuff from the forum to test, but the script keeps looping while the GUI is onscreen and then it complains about duplicate declarations. Edit: This works but it feels lik...
by sinbad
24 Oct 2018, 10:28
Forum: Ask For Help
Topic: Looking for examples of great GUI's made in autohotkey
Replies: 2
Views: 506

Re: Looking for examples of great GUI's made in autohotkey

MannyKSoSo wrote:
24 Oct 2018, 08:57
My first recommendation is this https://autohotkey.com/boards/viewtopic.php?f=6&t=3851
Its a growing list of Non standard GUI's, but definitely does give some good ideas of what you can do! Personally in that list I like the Windows 10 style one.
Thanks Manny!
by sinbad
24 Oct 2018, 08:51
Forum: Ask For Help
Topic: Looking for examples of great GUI's made in autohotkey
Replies: 2
Views: 506

Looking for examples of great GUI's made in autohotkey

Hello gang,

As the subject says I'm looking for your favourite examples of GUI's made in ahk. I'm after some inspiration (and some code borrowing :))

Thanks!
by sinbad
06 Apr 2018, 07:29
Forum: Ask For Help
Topic: Mouse control in Android X86
Replies: 1
Views: 365

Re: Mouse control in Android X86

I'm going to see if I can do some correction by moving the mouse to 0,0 and then using the values from MouseGetPos to correct the coordinates.
by sinbad
06 Apr 2018, 07:08
Forum: Ask For Help
Topic: Mouse control in Android X86
Replies: 1
Views: 365

Mouse control in Android X86

I'm trying to control a mouse inside of Android-X86 in a vbox. But the mouse coordinates are all messed up. I don't know how else to explain except that the vbox is not reporting the correct coordinates and whatever coordmode I use the cursor always ends up in a different spot. Has anyone else exper...
by sinbad
06 Mar 2018, 17:27
Forum: Ask For Help
Topic: Prevent a script crashing
Replies: 2
Views: 507

Re: Prevent a script crashing

It closes right away, because it reaches Return . Perhaps make a Loop or SetTimer with the if-run login? Or paste your primary script to figure out why it stops in first place. Ah of course I need a loop, I feel silly now. My main script is quite large but if problems persist I will post it. Many t...
by sinbad
06 Mar 2018, 14:11
Forum: Ask For Help
Topic: Prevent a script crashing
Replies: 2
Views: 507

Prevent a script crashing

So I have a script which runs happily for an hour or so and then randomly stops. I haven't been able to figure out why, so I thought I could deal with it by having a second script like this: SetTitleMatchMode, 2 DetectHiddenWindows, On IfWinNotExist, mainscript.ahk Run C:\ahk\mainScript.ahk Return B...
by sinbad
01 Mar 2018, 09:41
Forum: Ask For Help
Topic: Simple loop function doesn't work. Topic is solved
Replies: 1
Views: 411

Simple loop function doesn't work. Topic is solved

Can anyone tell me why this doesn't work?

Code: Select all

TabLoop(10)

TabLoop(x) {
	loop, x
	{
	send {shift down}
	sleep 10
	send {tab} 
	sleep 10
	send {shift up}
	sleep 10
	}
}

Go to advanced search