Search found 1147 matches

by A_AhkUser
17 Jun 2019, 13:02
Forum: Pedir Ayuda
Topic: Una ayudita? Topic is solved
Replies: 1
Views: 1098

Re: Una ayudita? Topic is solved

Hola ARTEL,
ARTEL wrote:
08 Jun 2019, 19:04
Infortunadamente, no existe medio directo in ahk para "remapear", es decir reasignar un botón del mando a otros determinados botones del mando (vid. Trying to remap or "send" as a joystick?).

Saludos
by A_AhkUser
15 Jun 2019, 16:49
Forum: Off-topic Discussion
Topic: Can equaly reasonable minds think differently?
Replies: 16
Views: 6223

Re: Can equaly reasonable minds think differently?

So that there is no ambiguity: I made the cynical politician speak. My goal was to show that each choice is choice of the finitness. The militarization is actually a political problem ; which must in any case be denounced - and it begins with the refusal of the common, pious explication: 'the count...
by A_AhkUser
15 Jun 2019, 15:00
Forum: Off-topic Discussion
Topic: Can equaly reasonable minds think differently?
Replies: 16
Views: 6223

Re: Can equaly reasonable minds think differently?

(I really need to stop with such fussy writing; I barely understand what I wrote above... :? :terms: Sorry) - Should our country (USSR) spend more or less on military? - The most important thing is that we stay in power! Regarding your question: difficult to say; for historical reasons, our country...
by A_AhkUser
13 Jun 2019, 09:17
Forum: Ask for Help (v1)
Topic: How to store variables outside a function ? Topic is solved
Replies: 4
Views: 2029

Re: How to store variables outside a function ? Topic is solved

HI WalkerOfTheDay , I want to store the MouseGetPos coordinates outside of the function so I can use them later on in the script to click the position. How do I do this ?? Parameters are always implicitly locals, simply remove their declaration in the function definition: ClickPosition("Invoicenumbe...
by A_AhkUser
12 Jun 2019, 20:42
Forum: Off-topic Discussion
Topic: Can equaly reasonable minds think differently?
Replies: 16
Views: 6223

Re: Can equaly reasonable minds think differently?

Gio Allow me to see this as a feedback of the symptomatic discussion " Gods don't exist . Dot.". So, what happened there? An unscrupulous emphasis on freedom, what is more using an obsolete metaphysic of freedom... A prejudicial nihilification of other's speech by subsuming it summoning ideal types...
by A_AhkUser
12 Jun 2019, 19:45
Forum: Скрипты для Игр
Topic: Нужно, значит, написать один скрипт...
Replies: 5
Views: 8629

Re: Нужно, значит, написать один скрипт...

привет jojoadventure,
jojoadventure wrote:
11 Jun 2019, 15:36
А как возможно передвинуть курсор после этого?
> MouseMove (на русском).
в некоторых разделах русской документации могут быть приведены устаревшие сведения. Поэтому не исключено, что вам необходимо будет также рассмотреть документацию на английском языке.
by A_AhkUser
12 Jun 2019, 19:31
Forum: Ask for Help (v1)
Topic: Javascript Retrieve Value Without Assigning Variable Topic is solved
Replies: 3
Views: 844

Re: Javascript Retrieve Value Without Assigning Variable Topic is solved

Btw, for this specific example, you can write, for example:

Code: Select all

doc := ComObjCreate("htmlfile")
doc.write("<meta http-equiv=""X-UA-Compatible"" content=""IE=9"">")
MsgBox, % doc.parentWindow.JSON.stringify(doc.parentWindow.Array(5))
by A_AhkUser
11 Jun 2019, 10:46
Forum: Ask for Help (v1)
Topic: Differentiating between a label and a function.
Replies: 6
Views: 1194

Re: Differentiating between a label and a function.

for k, v in ObjClone(SomeClass.instances) instance.dispose(), SomeClass.instances.delete(k) k would be a instances of the class, and v would be the keys (right?). How would I get the keys and values to be represented by k and v? This is how SomeClass.instances is populated: SomeClass.instances[ hwn...
by A_AhkUser
09 Jun 2019, 17:53
Forum: Ask for Help (v1)
Topic: Differentiating between a label and a function.
Replies: 6
Views: 1194

Re: Differentiating between a label and a function.

I notice that you are using Local I had assumed that even without adding that they would be local. [...] I have the feeling that this will create a local variable even if there is a super global declared elsewhere. You're right about that - see also assume-global mode and force-local mode for more ...
by A_AhkUser
08 Jun 2019, 10:27
Forum: Ask for Help (v1)
Topic: Differentiating between a label and a function.
Replies: 6
Views: 1194

Re: Differentiating between a label and a function.

Hi Hellbent , As I see it, your implementation is consistent and cogent. However, you missed at least two things in the current one: if the label is a function it can optionally accept parameter(s) ; also, in this case, the return value can be significant . Some other suggestions: the user-defined l...
by A_AhkUser
07 Jun 2019, 19:48
Forum: Off-topic Discussion
Topic: Do you have any religion? | What's your religion?
Replies: 36
Views: 18658

Re: Do you have any religion? | What's your religion?

Here's some ideas about atheism since I "voted" atheist. I see atheism by excellence as nothing other than the criticism of the theistic theses. This being said, it is, especially in this case, interesting to always have in mind the etymology of criticism (critical etc.): crisis . First of all, crit...
by A_AhkUser
07 Jun 2019, 19:01
Forum: Ask for Help (v1)
Topic: Can't stop Timer object from instance Topic is solved
Replies: 3
Views: 787

Re: Can't stop Timer object from instance Topic is solved

Hi josemaloco , I'm not sure to fully understand what you're trying to implement. Here's a code more or less based on yours: #NoEnv #SingleInstance force #Warn SendMode, Input OnExit, handleExit return F1::new Timer(1000, Func("send").bind("1")) F2::new Timer(2000, Func("send").bind("2")) F3:: hand...
by A_AhkUser
07 Jun 2019, 18:17
Forum: Ask for Help (v1)
Topic: Can you move the mouse in a random curved path?
Replies: 27
Views: 10052

Re: Can you move the mouse in a random curved path?

wolf_II wrote:
07 Jun 2019, 15:46
Example:
Nice one wolf_II, thanks for sharing.
by A_AhkUser
27 May 2019, 11:02
Forum: Ask for Help (v1)
Topic: Who can give an example of a simple User-defined function objects? Topic is solved
Replies: 4
Views: 1019

Re: Who can give an example of a simple User-defined function objects? Topic is solved

I don't know about function objects. I don't understand what Call(a, b) and __Call(method, args*) are used for. Can anyone explain or give a simple example? Example 1: #NoEnv #SingleInstance force #Warn SetTitleMatchMode, 2 fn := new FObject("WinActive") return !i::MsgBox % %fn%("(.*- )?YouTube(?= ...
by A_AhkUser
24 May 2019, 23:49
Forum: Off-topic Discussion
Topic: Gods don't exist.
Replies: 64
Views: 16785

Re: Gods don't exist.

[...] a being capable of "seeing the fourth dimension" or rather "seeing time"[...] Another more earthly example is a being the size of bacteria, whose entire lifetime is not enougth to cross a few "gigantic" grains of sand.[...] [...] Consider a superior being [...] how would this being experience...
by A_AhkUser
24 May 2019, 21:48
Forum: Ask for Help (v1)
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 5022

Re: Remap joystick (axis) to turn around how to use

I already got this script to remap the axis to do cursor keys, so i know it is possible Hi Ataricx , If I understand correctly, what you're trying to do is slightly different and more problematic: you're trying to remap or "send" as a joystick (correct me if I'm wrong). If so, you might be interest...
by A_AhkUser
24 May 2019, 21:33
Forum: Ask for Help (v1)
Topic: Pls help. How to read inactivity?
Replies: 2
Views: 572

Re: Pls help. How to read inactivity?

You might also find useful to take advantage of User Idle Time built-in variables.

Hope this helps.
by A_AhkUser
22 May 2019, 21:52
Forum: Off-topic Discussion
Topic: Gods don't exist.
Replies: 64
Views: 16785

Re: Gods don't exist.

There is hope in our souls There is no such thing as a soul. There is only our brain [...] Cuadrix Interestingly, as I see it, the previous statement could be expressed as follows: We are, at heart, nothing more than 'our' brain. I consider, for my part: there is nothing but our world (this time I ...
by A_AhkUser
21 May 2019, 18:40
Forum: Ask for Help (v1)
Topic: Joystick Key Combo -- Almost There!
Replies: 1
Views: 704

Re: Joystick Key Combo -- Almost There!

Hi M7CC , I'm trying to replicate this with Joy1 and Joy2 but it doesn't work. For now I just want a message saying "1+2" but I'll replace that with something else. It's probably a syntax thing. The syntax is correct. You may simply have confused the GetKeyState command 's expected return value with...
by A_AhkUser
17 May 2019, 15:32
Forum: Ask for Help (v1)
Topic: hopefully simple math formula
Replies: 2
Views: 650

Re: hopefully simple math formula

I am the one that complicated matters more... I find the following formula in one of evilC's code: angle := GetKeyState("JoyPOV") angle := (angle = -1 ? -1 : round(angle / 4500) + 1) which actually returns 0,1,2,3,4,5,6,7,8 depending on the joyPOV 's press state. My goal was to convert the 8-point c...

Go to advanced search