Search found 14 matches

by ScripterBoi
12 Dec 2022, 11:13
Forum: Ask for Help (v1)
Topic: simulate a Xbox 360 controller's joystick movement
Replies: 2
Views: 252

Re: Control a Xbox 360 controller's joystick

swagfag wrote:
12 Dec 2022, 11:10
an Xbox 360 controller's joystick doesnt have pitch/roll/yaw servos attached to it for u to "control"
sorry for my horrible english, i didn't mean to move physically, is it possible to emit something like an joystick movement?for example, moving the right joystick down..
by ScripterBoi
12 Dec 2022, 10:04
Forum: Ask for Help (v1)
Topic: simulate a Xbox 360 controller's joystick movement
Replies: 2
Views: 252

simulate a Xbox 360 controller's joystick movement

Hello, as you saw in the title, i want to simulate a xbox controller joystick movement my current code is (xinput's code is hidden) XInput_Init() SetTimer, update, 100 return update() { Loop, 4 { if State := XInput_GetState(A_Index-1) { LT := State.bLeftTrigger RT := State.bRightTrigger if (LT = 255...
by ScripterBoi
14 May 2022, 15:10
Forum: Ask for Help (v1)
Topic: Sleep Stopping whole script execution
Replies: 12
Views: 1011

Re: Sleep Stopping whole script execution

I guess that's how you set up your AHK extension in VSCode, but I doubt that's the file it uses when you run scripts from File Explorer (i.e., the way AutoHotkey is set up). You probably should have selected AutoHotkey.exe as the file when you set up that VSCode extension. If you double-click on a ...
by ScripterBoi
14 May 2022, 14:37
Forum: Ask for Help (v1)
Topic: Sleep Stopping whole script execution
Replies: 12
Views: 1011

Re: Sleep Stopping whole script execution

I don't know what test you did, but you probably aren't using the AutoHotkeyU64.exe file. You are probably using a copy of it that got named AutoHotkey.exe when you installed AutoHotkey and selected the 64-bit Unicode version. So you want to take the .exe file (whichever one you want if there is mo...
by ScripterBoi
14 May 2022, 13:37
Forum: Ask for Help (v1)
Topic: Sleep Stopping whole script execution
Replies: 12
Views: 1011

Re: Sleep Stopping whole script execution

That page has the AHK_H v1 download link on it. Download it and replace the AutoHotkey.exe file you currently have in your AutoHotkey installation folder with one from that zip file (you may have to choose one if it has Unicode/ANSI and 32/64-bit options and rename it to AutoHotkey.exe). I did an t...
by ScripterBoi
14 May 2022, 12:36
Forum: Ask for Help (v1)
Topic: Sleep Stopping whole script execution
Replies: 12
Views: 1011

Re: Sleep Stopping whole script execution

mikeyww wrote:
14 May 2022, 11:34
https://hotkeyit.github.io/v2/
Thanks but how can i replace my AHK v1 with AHK_H?
i mean, replacing the global ahk v1 with ahk_h...
by ScripterBoi
14 May 2022, 11:27
Forum: Ask for Help (v1)
Topic: Sleep Stopping whole script execution
Replies: 12
Views: 1011

Re: Sleep Stopping whole script execution

AHK v1 is actually single-threaded, so you could think of execution as linear or one-dimensional. As far as I know, AutoHotkey_H can do more (multi-thread). Running a timer (timed subroutine) can simulate parallel activity. Loop { Sleep, 500 Send y } F1:: Send abcdefg SetTimer, Next, -2000 Return N...
by ScripterBoi
13 May 2022, 19:52
Forum: Ask for Help (v1)
Topic: Sleep Stopping whole script execution
Replies: 12
Views: 1011

Sleep Stopping whole script execution

I wanted to know if its possible to make Sleep only stop the execution of function or key its inside of, instead of stopping the whole script...
by ScripterBoi
30 Apr 2022, 12:57
Forum: Ask for Help (v1)
Topic: Concatenating a string with an variable
Replies: 3
Views: 7353

Re: Concatenating a string with an variable

boiler wrote:
30 Apr 2022, 12:55

Code: Select all

AddText("Test Delay:" testDelay,"testDelay")
Thanks, i thought that the % signs were needed..can you give me the link to the documentation part that explains about it?
by ScripterBoi
30 Apr 2022, 12:51
Forum: Ask for Help (v1)
Topic: Concatenating a string with an variable
Replies: 3
Views: 7353

Concatenating a string with an variable

I've been trying to concatenate a string with an variable (an string with testDelay) My code: #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1,-1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay,...
by ScripterBoi
30 Apr 2022, 11:59
Forum: Ask for Help (v1)
Topic: Unable to add text to gui Topic is solved
Replies: 2
Views: 332

Re: Unable to add text to gui Topic is solved

It’s because of the Gui, New line which usually causes more problems than it solves. Get rid of it. You’ll also need to define a wider width for existing Text controls to take on longer widths of text than their initial text because the initial text sets their width if not specified. after removing...
by ScripterBoi
30 Apr 2022, 11:43
Forum: Ask for Help (v1)
Topic: Unable to add text to gui Topic is solved
Replies: 2
Views: 332

Unable to add text to gui Topic is solved

I'm trying to add and edit text to an gui but somewhy it isn't working.. The coee im using #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1,-1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1...
by ScripterBoi
29 Apr 2022, 18:12
Forum: Ask for Help (v1)
Topic: Increase window limit Topic is solved
Replies: 4
Views: 505

Increase window limit Topic is solved

As the title says i wanted to know if its possible to increase the window limit(for Tooltip more specifically)
by ScripterBoi
06 Feb 2022, 11:40
Forum: Tutorials (v1)
Topic: How to optimize the speed of a script as much as possible.
Replies: 122
Views: 205696

Re: How to optimize the speed of a script as much as possible.

What is the Tick Count?(im dumb)
Ive noticed that SendPlay's Tick Count is the lowest one

Go to advanced search