Search found 1437 matches

by TLM
28 Oct 2020, 09:46
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4404
Views: 1052098

Re: « What's on your mind? »


No Man's Sky -- Next Generation Trailer (0_0 )...
by TLM
28 Oct 2020, 09:02
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4404
Views: 1052098

Re: « What's on your mind? »


holy mother of papers :lol:
by TLM
21 Oct 2020, 14:05
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4404
Views: 1052098

Re: « What's on your mind? »

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
Topic: Trying to create a list of windows users
Replies: 1
Views: 248

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
Topic: Run args - for RunWait schtasks.exe Topic is solved
Replies: 7
Views: 574

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
Topic: Excel Chart resize
Replies: 2
Views: 331

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
Topic: Count characters - GUI Edit
Replies: 7
Views: 609

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
Topic: Count characters - GUI Edit
Replies: 7
Views: 609

Re: Count characters - GUI Edit

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

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
Topic: Keyboard Layout Issue
Replies: 3
Views: 396

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
Topic: Excel Text to column script not working? Topic is solved
Replies: 5
Views: 516

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
Topic: Control command doesn't work
Replies: 7
Views: 654

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
Topic: I do not close the script when trying to open an application that does not exist on the computer
Replies: 9
Views: 678

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
Topic: Excel Text to column script not working? Topic is solved
Replies: 5
Views: 516

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
Topic: Changing a DropDownList depending on another DropDownList?
Replies: 3
Views: 307

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
Topic: Changing a DropDownList depending on another DropDownList?
Replies: 3
Views: 307

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...
by TLM
01 Mar 2020, 19:46
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4404
Views: 1052098

Re: « What's on your mind? »

by TLM
01 Mar 2020, 04:11
Forum: Ask For Help
Topic: Control command doesn't work
Replies: 7
Views: 654

Re: Control command doesn't work

hrm, it works for me.. try adding the dialog window title to the control command like this: Control, ChooseString, JPEG (*.jpg;*.jpeg;*.jpe;*.jfif), ComboBox2, Save As ahk_class #32770 ; or 保存为 ahk_class #32770 also try without the ahk_class: Control, ChooseString, JPEG (*.jpg;*.jpeg;*.jpe;*.jfif), ...
by TLM
01 Mar 2020, 00:16
Forum: Ask For Help
Topic: Control command doesn't work
Replies: 7
Views: 654

Re: Control command doesn't work

Add a WinWait command after the Send command like this: ^!I:: Send ^s WinWait, Save As ahk_class #32770 ; Waits for the SaveAs dialog to appear Control, ChooseString, JPEG (*.jpg;*.jpeg;*.jpe;*.jfif), ComboBox2 Return htms edit: you may have to change WinWait, Save As to WinWait, https://i.imgur.com...

Go to advanced search