Search found 11 matches

by Rayth
11 Dec 2017, 05:14
Forum: Ask For Help
Topic: Refresh System tray Icons Topic is solved
Replies: 21
Views: 9166

Re: Refresh System tray Icons Topic is solved

@masato : Work great on windows 10, thx !
by Rayth
14 Mar 2017, 13:50
Forum: Ask For Help
Topic: Rapid method to share between scripts ?
Replies: 11
Views: 3327

Re: Rapid method to share between scripts ?

This is a link to a hidden Gui solution: https://autohotkey.com/boards/viewtopic.php?t=3275 It is not as technically sophisticated but it is simple and works. It allows you to do GuiVar_Set("Customer","Fanatic Guru') in any script to set a value to "Customer" and then use GuiVar_Get("Customer") in ...
by Rayth
12 Mar 2017, 07:49
Forum: Ask For Help
Topic: Rapid method to share between scripts ?
Replies: 11
Views: 3327

Re: Rapid method to share between scripts ?

Take your pick: 0. clipboard and/or hidden Gui 1. fileappend / fileread or iniwrite/read 2. same for dumping objects to files and read them back - https://github.com/ahkscript/awesome-AutoHotkey/#data-format 3. talk() https://autohotkey.com/board/topic/94321-talk-interscript-communication-provider-...
by Rayth
12 Mar 2017, 04:38
Forum: Ask For Help
Topic: random Topic is solved
Replies: 1
Views: 863

Re: random Topic is solved

Code: Select all

#persistent
SetTimer, Timer, %time%
Return

timer:
	Soundbeep
	Random, time , 100, 10000
	SetTimer, Timer, %time%
Return
by Rayth
11 Mar 2017, 17:34
Forum: Ask For Help
Topic: Set infinite or finite number of loops.
Replies: 5
Views: 2023

Re: Set infinite or finite number of loops.

TAC109 wrote:If you are using the word 'infinite' in its true sense, be aware that variables such as A_Index will eventually overflow.
I suppose that in this case the variable will return an error, it will never be equal to 0 and will not therefore prevent the loop, right?
by Rayth
11 Mar 2017, 16:58
Forum: Wish List
Topic: Rapid method to share between scripts
Replies: 2
Views: 2848

Re: Rapid method to share between scripts

I understand, i try to use your ObjRegisterActive function but ... I am not a professional programmer, I use primarily autohotkey for its simplicity, but there seriously it's not noob friendly :p I add the function in my lib, the two tests scripts work and i got that hello world, okay. But as simply...
by Rayth
11 Mar 2017, 15:06
Forum: Wish List
Topic: Rapid method to share between scripts
Replies: 2
Views: 2848

Rapid method to share between scripts

Hello, To share the contents of a variable from another script, I found a long time ago on this forum this methode : objShell := ComObjCreate("WScript.Shell") objEnv := objShell.Environment("Volatile") Then using this format to read or write : objEnv.Item("Test") := 1 It works well for reading, but ...
by Rayth
11 Mar 2017, 14:40
Forum: Ask For Help
Topic: Set infinite or finite number of loops.
Replies: 5
Views: 2023

Re: Set infinite or finite number of loops.

Code: Select all

InputBox, times, Enter number of loops ,,,200,100

Loop
{
	Soundbeep
	Sleep, 500
	
	
	If (times <> 0 AND A_Index == times)
		Break
}
this work i think
by Rayth
11 Mar 2017, 12:49
Forum: Ask For Help
Topic: Rapid method to share between scripts ?
Replies: 11
Views: 3327

Re: Rapid method to share between scripts ?

Thank you, I did not know this method, I look if I can use it.
It seems rather complicated to use compared to objShell method. :/
by Rayth
11 Mar 2017, 12:05
Forum: Ask For Help
Topic: Rapid method to share between scripts ?
Replies: 11
Views: 3327

Re: Rapid method to share between scripts ?

Using an ini file requires reading and writing to the hard disk, I suppose that realize this very regularly and for a very long time must certainly be bad.

I prefer not to use this method and keep the work in RAM.
by Rayth
11 Mar 2017, 11:14
Forum: Ask For Help
Topic: Rapid method to share between scripts ?
Replies: 11
Views: 3327

Rapid method to share between scripts ?

Hello, I need to find the contents of a variable from another script. I found a long time ago on this forum the possibility to do it by adding this to my scripts: objShell := ComObjCreate("WScript.Shell") objEnv := objShell.Environment("Volatile") Then using this format to read or write : objEnv.Ite...

Go to advanced search