Search found 440 matches
- 13 Jul 2018, 06:59
- Forum: Ask for Help (v1)
- Topic: Prevent the Shortcut from Writing to the Text Field.
- Replies: 10
- Views: 1913
Re: Prevent the Shortcut from Writing to the Text Field.
You could do this #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.uytu #SingleInstance Force ; Allow only one running instance of script. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensur...
- 12 Jul 2018, 13:45
- Forum: Ask for Help (v1)
- Topic: Is there a simple way to simulate a MouseClick in a coord on the absolute screen size regardlees the window I select? Topic is solved
- Replies: 2
- Views: 584
Re: Is there a simple way to simulate a MouseClick in a coord on the absolute screen size regardlees the window I select Topic is solved
I could be mistaken here, but you could use Screen as your parameter 2 Screen: Coordinates are relative to the desktop (entire screen). Which is taken from https://autohotkey.com/docs/commands/CoordMode.htm But this also depends if you click on a window that will only accepts raw mouse inputs. Lets ...
- 12 Jul 2018, 11:03
- Forum: Ask for Help (v1)
- Topic: Another option for #Includes + Extra!
- Replies: 4
- Views: 726
Re: Another option for #Includes + Extra!
Ah I see. You are just using pastebin as the example for where the code and version number is located. What about with external variables? Could the user grab the variable information and be able to access it in a similar way like so? #SingleInstance, Force Version := "0.2" WebVersion := CheckVersio...
- 12 Jul 2018, 08:54
- Forum: Ask for Help (v1)
- Topic: Another option for #Includes + Extra!
- Replies: 4
- Views: 726
Re: Another option for #Includes + Extra!
So what you are saying is something similar to this? If !FileExist(M:\AppData.ini) { MsgBox, 20, Error in Connection, There was an error connecting to the server. Would you like to run in offline mode? IfMsgBox Yes Continue IfMsgBox No ExitApp } Else If FileExist(M:\AppData.ini) { IniRead, Script, M...
- 11 Jul 2018, 18:39
- Forum: Ask for Help (v1)
- Topic: Another option for #Includes + Extra!
- Replies: 4
- Views: 726
Another option for #Includes + Extra!
So my main question is there another option than #Include for a list of variables. I update these variables on a regular basis when someone finds a character that cannot be represented. I currently use a #Includes at the beginning of the script however some have asked for an offline version of the s...
- 11 Jul 2018, 09:51
- Forum: Ask for Help (v1)
- Topic: How do I select from Dropdown list by text not the value
- Replies: 6
- Views: 4191
Re: How do I select from Dropdown list by text not the value
Have you tried a Gui, Submit , NoHide? This should grab the text that you want from the drop down list.
Code: Select all
Gui, Add, DropDownList, gSubmit vMyDropDownList, Option 1|Option 2|Option 3|Option 4|Option 5
Gui, Show
Return
Submit:
Gui, Submit, NoHide
MsgBox % MyDropDownList
Return
- 11 Jul 2018, 09:28
- Forum: Ask for Help (v1)
- Topic: button that does sth
- Replies: 4
- Views: 894
Re: button that does sth
I have edited the post and fixed the comma error. It should work now.
- 11 Jul 2018, 08:33
- Forum: Ask for Help (v1)
- Topic: button that does sth
- Replies: 4
- Views: 894
Re: button that does sth
The first thing you need to add to your code is a g label found here https://autohotkey.com/docs/commands/Gui.htm#label Adding it to your code is pretty simple, make your Gui button line as follows Gui, Add, Button, w120 h40 gActivate, Repeat Audio This will make it so whenever you press the button ...
- 06 Jul 2018, 10:00
- Forum: Ask for Help (v1)
- Topic: Json reading from website query (Remake due to unable to view) Topic is solved
- Replies: 2
- Views: 772
Re: Json reading from website query (Remake due to unable to view) Topic is solved
Awesome, this is what I was looking for. Besides setting batch lines to -1 (which I have done) I am guessing there is no way to speed up the the HTTP request via Autohotkey? If I am correct on this it has to be defined by the speed at which both their site can locate the data and how fast my compute...
- 06 Jul 2018, 07:24
- Forum: Ask for Help (v1)
- Topic: Json reading from website query (Remake due to unable to view) Topic is solved
- Replies: 2
- Views: 772
Json reading from website query (Remake due to unable to view) Topic is solved
Hello, I am looking to try and grab Json data from a search specifically from this website: https://koordinates.com/services/query/v1/vector.json?key=039b79bb26104e128575d7fcb441de84&layer=1294&x=0&y=0&max_results=3&radius=10000&geometry=true&with_field_names=true this produces a Json data format th...
- 05 Jul 2018, 20:13
- Forum: Ask for Help (v1)
- Topic: Json reading from website query
- Replies: 0
- Views: 1726
Json reading from website query
Hello, I have been recently working on a code that will allow me to search coordinates from a layer using the koordinates.com website which has a nice Json query. I have been trying to use this query to try and get the data of the layer name, specifically "FeatureCla": "ocean", "Name": "NORTH ATLANT...
- 13 Jun 2018, 07:01
- Forum: Ask for Help (v1)
- Topic: Adobe Acrobat Pro via COM
- Replies: 28
- Views: 14323
Re: Adobe Acrobat Pro via COM
Thanks FG, I indeed tested the code this morning and it works as I intended it too. I had also tested with just the PDDoc := AVDoc.GetPDDoc() part to see if it would work (but seems I was more off than I thought LOL). burque505, I indeed tried to do something similar to what you had, but when you ru...
- 12 Jun 2018, 16:56
- Forum: Ask for Help (v1)
- Topic: Adobe Acrobat Pro via COM
- Replies: 28
- Views: 14323
Re: Adobe Acrobat Pro via COM
Specifically it has to do with the saveAs part of the code oAcrobat.saveAs(A_ScriptDir "FileToRead.xml", "com.adobe.acrobat.xml-1-00") The documentation is a little confusing to me on the subject (just because I am still learning all the commands). Also I do indeed have the paid version of Acrobat. ...
- 12 Jun 2018, 12:42
- Forum: Ask for Help (v1)
- Topic: Adobe Acrobat Pro via COM
- Replies: 28
- Views: 14323
Re: Adobe Acrobat Pro via COM
http://www.planetpdf.com/forumarchive/40476.asp --> I Found this link with a bunch of them, but I cannot prove that they work. Still on the topic, I had a question about the https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_Dev_PDFCreation%2FConverting_PDF_d...
- 25 May 2018, 11:48
- Forum: Scripts and Functions (v1)
- Topic: AutoXYWH() - Move control automatically when GUI resized
- Replies: 107
- Views: 86935
Re: AutoXYWH() - Move control automatically when GUI resized
Hello, I greatly appreciate the function you have made for the control of resizing, however in my script I am having a problem with getting things to resize the way I want to. Right now I only have 3 out of the 8 controls created that I want. Basically I want each control to be re sizable for a sele...
- 12 May 2018, 16:18
- Forum: Ask for Help (v1)
- Topic: creating text file by iteration
- Replies: 2
- Views: 481
Re: creating text file by iteration
You could also use A_Index as well,
Since A_Index will always equal the number of times that loop has run.
Code: Select all
Loop, 20 {
FileAppend,, a%A_Index%.txt
}
- 07 May 2018, 19:48
- Forum: Ask for Help (v1)
- Topic: #Include confusion
- Replies: 4
- Views: 1015
Re: #Include confusion
I forgot about two things with this, the first was that I needed to parse the testing then I needed to do the for loop for it to work. First := ["I'm the First!"] Second := ["I'm the Second", "Also in the second"] Third := ["I'm the Third, well fourth"] Testing := First|Second|Third Loop, Parse, Tes...
- 05 May 2018, 20:13
- Forum: Ask for Help (v1)
- Topic: #Include confusion
- Replies: 4
- Views: 1015
#Include confusion
Hello, I was confused on the topic of #Include in a script. Here is an example of the code I have. Main Script Test_This: #Include Setting.ahk For i, v in Testing { MsgBox % i "`t" v } MsgBox %Test% Return SubScript Test := "Hello" First := ["I'm the First!"] Second := ["I'm the Second", "Also in th...
- 28 Apr 2018, 22:42
- Forum: Ask for Help (v1)
- Topic: Help with Multiple Gui Tabs Topic is solved
- Replies: 5
- Views: 2565
Re: Help with Multiple Gui Tabs Topic is solved
Awesome, that worked, thanks!
- 28 Apr 2018, 22:09
- Forum: Ask for Help (v1)
- Topic: Help with Multiple Gui Tabs Topic is solved
- Replies: 5
- Views: 2565
Help with Multiple Gui Tabs Topic is solved
Hello, I have been working with AutoHotKey for a few months now and was working on a GUI. The problem I am having is with the Tabs for a GUI. I have a main set of tabs (4 of them to be specific) and then within each one of those tabs I wish to have another, different, set of tabs inside those. I hav...