Search found 1442 matches
- 21 Feb 2021, 16:32
- Forum: Ask For Help
- Topic: Get multiple fields at end of line
- Replies: 6
- Views: 171
Re: Get multiple fields at end of line
...I would like to populate l4 with "everything after l3" as that part can be a free form string with many spaces in it. How could I do this? Based off of your specific question and to keep it simple, you could use a conditional statement like this: l1 := arrx.1 ; you don't need the %'s here l2 := ...
- 22 Nov 2020, 12:19
- Forum: Offtopic
- Topic: « What's on your mind? »
- Replies: 4493
- Views: 1070172
Re: « What's on your mind? »
omg omg omg O M F G omg omg omg
- 18 Nov 2020, 15:22
- Forum: Ask For Help
- Topic: Basic Incremental Laptop Brightness Up/Down
- Replies: 3
- Views: 167
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...
- 18 Nov 2020, 12:34
- Forum: Offtopic
- Topic: « What's on your mind? »
- Replies: 4493
- Views: 1070172
- 18 Nov 2020, 12:22
- Forum: Offtopic
- Topic: « What's on your mind? »
- Replies: 4493
- Views: 1070172
- 28 Oct 2020, 09:46
- Forum: Offtopic
- Topic: « What's on your mind? »
- Replies: 4493
- Views: 1070172
Re: « What's on your mind? »
No Man's Sky -- Next Generation Trailer (0_0 )...
- 28 Oct 2020, 09:02
- Forum: Offtopic
- Topic: « What's on your mind? »
- Replies: 4493
- Views: 1070172
Re: « What's on your mind? »
holy mother of papers

- 21 Oct 2020, 14:05
- Forum: Offtopic
- Topic: « What's on your mind? »
- Replies: 4493
- Views: 1070172
- 18 Apr 2020, 20:20
- Forum: Ask For Help
- Topic: Trying to create a list of windows users
- Replies: 1
- Views: 255
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...
- 18 Apr 2020, 00:45
- Forum: Ask For Help
- Topic: Run args - for RunWait schtasks.exe Topic is solved
- Replies: 7
- Views: 602
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 """"
Try: RunArgs := "/run /tn " """" DirUAC "\" NameUAC """"
- 06 Mar 2020, 17:35
- Forum: Ask For Help
- Topic: Excel Chart resize
- Replies: 2
- Views: 347
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 := ""
- 06 Mar 2020, 15:56
- Forum: Ask For Help
- Topic: Count characters - GUI Edit
- Replies: 7
- Views: 648
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...
- 06 Mar 2020, 08:48
- Forum: Ask For Help
- Topic: Autohotkey w/Curl and authentication of http requests
- Replies: 1
- Views: 307
Re: Autohotkey w/Curl and authentication of http requests
You have to store and recall a session cookie. See this: https://stackoverflow.com/a/37983702/5156546
Also see the curl docs: https://curl.haxx.se/docs/manpage.html#-c
Also see the curl docs: https://curl.haxx.se/docs/manpage.html#-c
- 06 Mar 2020, 08:44
- Forum: Ask For Help
- Topic: Count characters - GUI Edit
- Replies: 7
- Views: 648
Re: Count characters - GUI Edit
NoChr := MaxChar - StrLen( StrReplace( myString, "`n", ".." ) )
- 04 Mar 2020, 15:11
- Forum: Ask For Help
- Topic: Correct syntax for combination if statement
- Replies: 4
- Views: 390
Re: Correct syntax for combination if statement
You'd have to use:if ( SelectOption > StartList and SelectOption < EndList and Menu = "Save" or Menu = "Load" )The Manual wrote:Caution: The operators "between", "is", "in", and "contains" are not supported in expressions.
- 04 Mar 2020, 12:40
- Forum: Ask For Help
- Topic: Keyboard Layout Issue
- Replies: 3
- Views: 415
Re:
Try a context-sensitive hotkey:
Code: Select all
#If (condition = true)
a::
; Do something cool
return
#If
- 04 Mar 2020, 11:59
- Forum: Ask For Help
- Topic: Excel Text to column script not working? Topic is solved
- Replies: 5
- Views: 539
Re: Excel Text to column script not working? Topic is solved
I was going by the op.
@flyingDman I just tested this:It works just fine.
@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,"~")
- 03 Mar 2020, 20:43
- Forum: Ask For Help
- Topic: Control command doesn't work
- Replies: 7
- Views: 688
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...
- 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: 720
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...
- 03 Mar 2020, 15:32
- Forum: Ask For Help
- Topic: Excel Text to column script not working? Topic is solved
- Replies: 5
- Views: 539
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,"~")
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,"~")