Search found 2688 matches
- 08 Jul 2019, 16:01
- Forum: Ask for Help (v1)
- Topic: Passing variables/values between scripts
- Replies: 5
- Views: 1987
Re: Passing variables/values between scripts
Not sure if this alternative is acceptable, but with ComObjCreate("HTMLfile") you get access to write and read to "JavaScript arrays". Obj := ComObjCreate("HTMLfile") Obj.Write("<script></script>") _JS := Obj.parentWindow _JS.Var1 := [11, 22, 33] Var2 := _JS.Var1 MsgBox, % Var2[1] MsgBox, % Var2[2] ...
- 08 Jul 2019, 15:28
- Forum: Ask for Help (v1)
- Topic: Simple Load/Save Character Dialog Topic is solved
- Replies: 4
- Views: 1333
Re: Simple Load/Save Character Dialog Topic is solved
When temp.exe is done, the variables which were available in temp.exe are lost, I think.RunWait temp.exe
You might be better off with Ini-files.
- 07 Jul 2019, 19:43
- Forum: Ask for Help (v1)
- Topic: Run paint with only letters
- Replies: 2
- Views: 687
Re: Run paint with only letters
Try this:
I hope that helps.
Code: Select all
:*:ppp::
Run, mspaint.exe
return
- 07 Jul 2019, 11:50
- Forum: Off-topic Discussion
- Topic: utilities/websites to test a PC's speed
- Replies: 3
- Views: 2249
Re: utilities/websites to test a PC's speed
I would recommend to write an algorithm with fixed outcome. eg: add up all primes below 2,000/20,000/200,000/2,000,000.
You can go as high as you want, but I expect around 100,000 is enough.
Test the script on both PC, the faster PC will need less time.
You can go as high as you want, but I expect around 100,000 is enough.
Test the script on both PC, the faster PC will need less time.
- 06 Jul 2019, 23:03
- Forum: Ask for Help (v1)
- Topic: Checked Radio Won't Update GUI Winset Transparent Topic is solved
- Replies: 5
- Views: 1121
Re: Checked Radio Won't Update GUI Winset Transparent Topic is solved
last improvement: get rid of New . not needed. without it, you can easily move my line to between the blocks. only thing your missing is this: GuiThreads get LastFound window set automatically, AHK does it for us. Falling into the same procedure, AHK does not set the LastFound window, we do it ourse...
- 06 Jul 2019, 22:01
- Forum: Ask for Help (v1)
- Topic: Checked Radio Won't Update GUI Winset Transparent Topic is solved
- Replies: 5
- Views: 1121
Re: Checked Radio Won't Update GUI Winset Transparent Topic is solved
second attempt: makes use of your "falling through" setup: just one line added to the brginning of the block: Gui, Main: New, +LastFound Gui,Main: Add, Radio, x5 y160 %Trans1% Group vTrans1 gTransSet, 0 Gui,Main: Add, Radio, x45 y160 %Trans2% vTrans2 gTransSet, 10 ; ... should work for all Values, o...
- 06 Jul 2019, 21:44
- Forum: Ask for Help (v1)
- Topic: Checked Radio Won't Update GUI Winset Transparent Topic is solved
- Replies: 5
- Views: 1121
Re: Checked Radio Won't Update GUI Winset Transparent Topic is solved
I added a line before your block, and three lines after. Is that what you are after? Gui, Main: New, HWNDhGui Gui,Main: Add, Radio, x5 y160 %Trans1% Group vTrans1 gTransSet, 0 Gui,Main: Add, Radio, x45 y160 %Trans2% vTrans2 gTransSet, 10 Gui,Main: Add, Radio, x5 y183 %Trans3% vTrans3 gTransSet, 25 G...
- 06 Jul 2019, 20:10
- Forum: Ask for Help (v1)
- Topic: Can AHK draw a GUI from BottomRight to TopLeft? Topic is solved
- Replies: 4
- Views: 890
Re: Can AHK draw a GUI from BottomRight to TopLeft? Topic is solved
I'm glad to have been able to nudge you in the right direction, You made a full step out of that. Way to go.Thank you Wolf, That did help out! Here's what I was able to do with your suggestion.
But in terms of performance, teadrinker's script is miles ahead and shows us the way!!
- 06 Jul 2019, 13:49
- Forum: AutoHotkey Development
- Topic: async method ?
- Replies: 11
- Views: 4166
Re: async method ?
Try this: #Persistent SetTimer, WorkerThread, -1 WorkerThread: ToolTip, WorkerThread at work sleep, 2000 ToolTip, WorkerThread done return I hope that helps. This is AHK v1 code! AHK v2 does not yet offer multithreading, As far as I know. If your question is not aimed at me, ignore please and sorry....
- 06 Jul 2019, 13:44
- Forum: Ask for Help (v1)
- Topic: Can AHK draw a GUI from BottomRight to TopLeft? Topic is solved
- Replies: 4
- Views: 890
Re: Can AHK draw a GUI from BottomRight to TopLeft? Topic is solved
maybe try this:
I hope that helps.
Code: Select all
If ((X2 <= -1) AND (Y2 <= -1)) ;Left & Up
{ Y2 *= -1, x2 *=-1
Gui, 1: Show, NA x%Xpos% y%Ypos% H%Y2% W%X2%, Horizontal ;EndPoint
SoundBeep, 500, 10
Sleep, 5
}
- 06 Jul 2019, 13:08
- Forum: Ask for Help (v1)
- Topic: SendMessage to a Toolbar
- Replies: 7
- Views: 1169
Re: SendMessage to a Toolbar
I see. But this is above and beyond me. I can only imagine some acc library might help.
Forum user Jeeswg and many others have more experience using the acc library. Wait for better advice, I guess.
Sorry, and good luck again.
Forum user Jeeswg and many others have more experience using the acc library. Wait for better advice, I guess.
Sorry, and good luck again.
- 06 Jul 2019, 12:41
- Forum: Ask for Help (v1)
- Topic: SendMessage to a Toolbar
- Replies: 7
- Views: 1169
Re: SendMessage to a Toolbar
more explicit: Sendmessage will interpret all the parameters as documented. Your original script did not have a WinTitle parameter. adding a comma there, has shifted Sierra to be interpreted as the WinTitle parameter. I hope to have made that a bit more clear. Now we know the control of the correct ...
- 06 Jul 2019, 12:08
- Forum: Ask for Help (v1)
- Topic: SendMessage to a Toolbar
- Replies: 7
- Views: 1169
Re: SendMessage to a Toolbar
try
changes: empty control parameter, Sierra is now WinTitle.
Most likely, you need to start again trying to find the correct WinTitle, or use LastFoundWindow
ahk_exe would be a good candidate
Better yet: find the correct control as well. Good Luck
Code: Select all
SendMessage, 0x1330, 0, 0,, Sierra
Most likely, you need to start again trying to find the correct WinTitle, or use LastFoundWindow
ahk_exe would be a good candidate
Better yet: find the correct control as well. Good Luck
- 06 Jul 2019, 11:08
- Forum: Ask for Help (v1)
- Topic: Triggerin Actions with Hotstrings instead of Hotkeys Topic is solved
- Replies: 8
- Views: 2224
Re: Triggerin Actions with Hotstrings instead of Hotkeys Topic is solved
I found this in documentation: https://www.autohotkey.com/docs/Hotstrings.htm#intro
@ gregster Thx for sharing, I was not aware of the x option, which is on the same page
@ gregster Thx for sharing, I was not aware of the x option, which is on the same page
- 06 Jul 2019, 10:54
- Forum: Ask for Help (v1)
- Topic: Triggerin Actions with Hotstrings instead of Hotkeys Topic is solved
- Replies: 8
- Views: 2224
Re: Triggerin Actions with Hotstrings instead of Hotkeys Topic is solved
Hotstrings will not interpret AHK command like that. The commands must be on separate lines to achieve that:
Code: Select all
::test::
MsgBox Hotstring "test" detected
return
- 06 Jul 2019, 08:34
- Forum: Ask for Help (v1)
- Topic: Is it possible to limit the visible menus
- Replies: 2
- Views: 514
Re: Is it possible to limit the visible menus
Try this: (option +Break ) example on how to use Loop, 30 { if Mod(A_Index-1, 6) = 0 Menu, MainMenu, Add, #%A_Index%, Handler, +Break else Menu, MainMenu, Add, #%A_Index%, Handler } F1:: Menu, MainMenu, Show Handler: return This does not display any files, this is an example to demonstrate the use o...
- 05 Jul 2019, 22:39
- Forum: Ask for Help (v1)
- Topic: screen buttons to launch AHK scripts?
- Replies: 5
- Views: 1353
Re: screen buttons to launch AHK scripts?
you can do a new Toolbar like this: Choose a folder, put your favorite scripts in there.
- 05 Jul 2019, 21:27
- Forum: Ask for Help (v1)
- Topic: [solved] TrayTip not working anymore with Win 10 (1903) Topic is solved
- Replies: 30
- Views: 8714
Re: [solved] TrayTip not working anymore with Win 10 (1903) Topic is solved
lexikos Thx for tuning in. I do not know where the settings are stored or what causes them to become corrupt. This settles my mind. I will stop looking for settings. I honestly don't even know for sure, if ClassicShell was the culprit and uninstalling that was the solution, I now realize it could h...
- 05 Jul 2019, 20:06
- Forum: Ask for Help (v1)
- Topic: [solved] TrayTip not working anymore with Win 10 (1903) Topic is solved
- Replies: 30
- Views: 8714
Re: TrayTip not working anymore with Win 10 (1903) Topic is solved
I changed the accepted answer to what started my penny
Jo, thanks for the Flash-drive tip and the download link, this will be very useful to me.
Jo, thanks for the Flash-drive tip and the download link, this will be very useful to me.
- 05 Jul 2019, 19:06
- Forum: Ask for Help (v1)
- Topic: A_Now versus FileGetTime() timestamps
- Replies: 11
- Views: 3331
Re: A_Now versus FileGetTime() timestamps
I have not tested my script recently, I used to have some problems with TrayTip, which are gone now.
If have problems with my class, please come back, and paste a script of yours, and I can now start to test again.
There is an Init() function in there that might not be of interest to you.
If have problems with my class, please come back, and paste a script of yours, and I can now start to test again.
There is an Init() function in there that might not be of interest to you.