Search found 1460 matches

by TLM
18 Nov 2020, 15:22
Forum: Ask for Help (v1)
Topic: Basic Incremental Laptop Brightness Up/Down
Replies: 18
Views: 15089

Re: Basic Incremental Laptop Brightness Up/Down

Here's a pretty simple approach using AHk + WMI ; Variables Increments := 10 ; < lower for a more granular change, higher for larger jump in brightness CurrentBrightness := GetCurrentBrightNess() ; Hot Keys F6::ChangeBrightness( CurrentBrightness -= Increments ) ; decrease brightness F7::ChangeBrigh...
by TLM
18 Nov 2020, 12:34
Forum: Off-topic Discussion
Topic: « What's on your mind? » Topic is solved
Replies: 4894
Views: 1395640

Re: « What's on your mind? » Topic is solved

joedf wrote:
18 Nov 2020, 12:33
big ooof.. wow... :facepalm:
riiite ughhh
guest3456 wrote:
12 Nov 2020, 10:35
...i may build an AHK cryptocurrency just for fun
DUUUUDE YES!! DO ITTTTT!! :D
by TLM
28 Oct 2020, 09:46
Forum: Off-topic Discussion
Topic: « What's on your mind? » Topic is solved
Replies: 4894
Views: 1395640

Re: « What's on your mind? » Topic is solved


No Man's Sky -- Next Generation Trailer (0_0 )...
by TLM
28 Oct 2020, 09:02
Forum: Off-topic Discussion
Topic: « What's on your mind? » Topic is solved
Replies: 4894
Views: 1395640

Re: « What's on your mind? » Topic is solved


holy mother of papers :lol:
by TLM
21 Oct 2020, 14:05
Forum: Off-topic Discussion
Topic: « What's on your mind? » Topic is solved
Replies: 4894
Views: 1395640

Re: « What's on your mind? » Topic is solved

Image
I wish there was pics of the dilapidated roadster with star man inside slowwwley dying in space :lol:
by TLM
18 Apr 2020, 20:20
Forum: Ask for Help (v1)
Topic: Trying to create a list of windows users
Replies: 1
Views: 357

Re: Trying to create a list of windows users

Please test this old function I used ( not sure if it still works ) Users := GetUsersArray() For Each, User in Users UserList .= "User " Each ": " User "`n" if UserList Msgbox % UserList "`nCalling User 2 From Array: " Users.2 ; function GetUsersArray() { err := DllCall( "Netapi32\NetUserEnum", "Str...
by TLM
18 Apr 2020, 00:45
Forum: Ask for Help (v1)
Topic: Run args - for RunWait schtasks.exe Topic is solved
Replies: 7
Views: 883

Re: Run args - for RunWait schtasks.exe Topic is solved

Seems that you're missing a space after /tn"
Try: RunArgs := "/run /tn " """" DirUAC "\" NameUAC """"
by TLM
06 Mar 2020, 17:35
Forum: Ask for Help (v1)
Topic: Excel Chart resize
Replies: 2
Views: 648

Re: Excel Chart resize

try this at the end of the script:

Code: Select all

Chart 		:= XL.ActiveSheet.Shapes[ 1 ]
Chart.Left 	:= XL.Range( "C2" ).Left
Chart.Top 	:= XL.Range( "C2" ).Top 
Chart.ScaleWidth( 3.5, 0, 0 )
Chart.ScaleHeight( 2.5, 0, 0 )
Chart 		:= ""
by TLM
06 Mar 2020, 15:56
Forum: Ask for Help (v1)
Topic: Count characters - GUI Edit
Replies: 7
Views: 1125

Re: Count characters - GUI Edit

Any linefeeds (`n) in Value that lack a preceding carriage return (`r) are automatically translated to CR+LF (`r`n) to make them display properly. However, this is usually not a concern because the Gui Submit and GuiControlGet OutputVar commands will automatically undo this translation by replacing...
by TLM
06 Mar 2020, 08:44
Forum: Ask for Help (v1)
Topic: Count characters - GUI Edit
Replies: 7
Views: 1125

Re: Count characters - GUI Edit

NoChr := MaxChar - StrLen( StrReplace( myString, "`n", ".." ) )
by TLM
04 Mar 2020, 15:11
Forum: Ask for Help (v1)
Topic: Correct syntax for combination if statement
Replies: 4
Views: 557

Re: Correct syntax for combination if statement

The Manual wrote:Caution: The operators "between", "is", "in", and "contains" are not supported in expressions.
You'd have to use:if ( SelectOption > StartList and SelectOption < EndList and Menu = "Save" or Menu = "Load" )
by TLM
04 Mar 2020, 12:40
Forum: Ask for Help (v1)
Topic: Keyboard Layout Issue
Replies: 3
Views: 596

Re:

Try a context-sensitive hotkey:

Code: Select all

#If (condition = true)
a::
; Do something cool
return
#If
by TLM
04 Mar 2020, 11:59
Forum: Ask for Help (v1)
Topic: Excel Text to column script not working? Topic is solved
Replies: 5
Views: 892

Re: Excel Text to column script not working? Topic is solved

I was going by the op.

@flyingDman I just tested this:

Code: Select all

xl.Range( "A1" ).value := "abc~def~ghi"
xl.Range( "A1" ).EntireColumn.TextToColumns( xl.range("A10") ,1,1,0,1,0,0,0,1,"~")
It works just fine.
by TLM
03 Mar 2020, 20:43
Forum: Ask for Help (v1)
Topic: Control command doesn't work
Replies: 7
Views: 1082

Re: Control command doesn't work

I didn't see your reply so I went ahead and brute forced WM_Command wParams and found the specific one for Save As Jpg Try this: ^!I:: PostMessage, 0x111, 0xc3ca, 0x0,, ahk_class MSPaintApp Return It should open the Save As dialog set to jpg. Feel free to add file naming and saving after the PostMes...
by TLM
03 Mar 2020, 16:20
Forum: Ask for Help (v1)
Topic: I do not close the script when trying to open an application that does not exist on the computer
Replies: 9
Views: 1160

Re: I do not close the script when trying to open an application that does not exist on the computer

Place the ExitApp command outside of the condition: If !(A_ComputerName = "STARBLOOD") { run, C:\Program Files (x86)\AnyDesk\XXX.exe } ExitApp or check if the program exists first Prog = C:\Program Files (x86)\AnyDesk\XXX.exe If !FileExist( Prog ) ExitApp If !(A_ComputerName = "STARBLOOD") { Run % P...
by TLM
03 Mar 2020, 15:32
Forum: Ask for Help (v1)
Topic: Excel Text to column script not working? Topic is solved
Replies: 5
Views: 892

Re: Excel Text to column script not working? Topic is solved

Assuming the text delimiter is | ( eg. abc|def|ghi )
try: xl.Range( "A1" ).EntireColumn.TextToColumns( xl.range("A1") ,1,1,0,1,0,0,0,1,"|")

If the delimiter is something else ( eg. abc~def~ghi )
use: xl.Range( "A1" ).EntireColumn.TextToColumns( xl.range("A1") ,1,1,0,1,0,0,0,1,"~")
by TLM
02 Mar 2020, 01:06
Forum: Ask for Help (v1)
Topic: Changing a DropDownList depending on another DropDownList?
Replies: 3
Views: 542

Re: Changing a DropDownList depending on another DropDownList?

..for example, how would I remove 'four' when the user selects 'one'? I will also need to remove multiple options sometimes Again, there's more than one way to achieve this. Here's an example using a conditional statement : RemoveItem: Gui Submit, NoHide if ( List1 = "One" ) ; removes item 4 { Post...
by TLM
01 Mar 2020, 22:59
Forum: Ask for Help (v1)
Topic: Changing a DropDownList depending on another DropDownList?
Replies: 3
Views: 542

Re: Changing a DropDownList depending on another DropDownList?

Welcome. There's several ways you can do this, all of which consist of using a g-label . For instance: ( note the extra options I've added to each DropDownList control ) ListItems = One|Two|Three|Four|Five Gui, Add, Text, x12 y59 w330 h30 , Select item 1 Gui, Add, DropDownList, vList1 x12 y99 w160 h...

Go to advanced search