Search found 1055 matches

by AHKStudent
27 Feb 2021, 15:34
Forum: Ask For Help
Topic: Get value of a progress bar
Replies: 6
Views: 160

Re: Get value of a progress bar

doubt this will help any but here is the way its set in c# I don't know if with this info someone can figure out how to get it https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbaritemprogressstate?view=net-5.0
by AHKStudent
27 Feb 2021, 02:40
Forum: Ask For Help
Topic: Listview Row Height
Replies: 2
Views: 64

Re: Listview Row Height

not thin like a hair but very short

Code: Select all

#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%

Gui Font, s1 ; small font size
Gui Add, ListView, x63 y52 w333 h150, ListView
Gui Font

Gui Show, w481 h276, Window
loop, 50
   Lv_add("","qwerty " a_index)
Return

GuiEscape:
GuiClose:
    ExitApp
by AHKStudent
24 Feb 2021, 18:38
Forum: Ask For Help
Topic: Task Scheduler get Description Topic is solved
Replies: 2
Views: 105

Task Scheduler get Description Topic is solved

found this thanks swagfag that gets the path, need help getting the description. I looked for documentation on this but could not find it on msdn. I found this https://docs.microsoft.com/en-us/windows/win32/taskschd/registrationinfo-description but it didn't help much, might not even be relevant. fo...
by AHKStudent
24 Feb 2021, 05:40
Forum: Ask For Help
Topic: Get task scheduler jobs using WMI Topic is solved
Replies: 2
Views: 72

Re: Get task scheduler jobs using WMI Topic is solved

thanks for explaining and posting a working script :thumbup:
by AHKStudent
24 Feb 2021, 05:06
Forum: Ask For Help
Topic: Get task scheduler jobs using WMI Topic is solved
Replies: 2
Views: 72

Get task scheduler jobs using WMI Topic is solved

I tried the following (as admin too) but it returned nothing. I am trying to get the lists of tasks in Task Scheduler Library > Microsoft > Windows > Application Experience I did a small test to see if I could get anything but didn't succeed at all. Here is the msft documentation on this https://doc...
by AHKStudent
22 Feb 2021, 02:42
Forum: Ask For Help
Topic: What solutions to this kind of download link
Replies: 4
Views: 167

Re: What solutions to this kind of download link

If you share the link i'm sure it will be easier to figure out. Thanks, but the link is on intranet. :?: ok there are several so you should search google for scraping javascript void, even though many links will go to python forums etc the same solution would apply here, you just need to check what...
by AHKStudent
21 Feb 2021, 15:46
Forum: Ask For Help
Topic: Software that creates software?
Replies: 7
Views: 193

Re: Software that creates software?

this is a big trend now called nocode development and with ahk its been done for a while by many programs mentioned above
by AHKStudent
21 Feb 2021, 06:41
Forum: Ask For Help
Topic: InputBox for User and Password (Login dialogue)
Replies: 12
Views: 303

Re: InputBox for User and Password (Login dialogue)

(sorry for my edits, I didn't expect you would answer so fast! :) You got it! That did the trick. I have noticed that the "default" tag sets the "OK" button to be default, that makes sense, but I would obviously like the Username field to be where the cursor starts, so with the below, I have to pre...
by AHKStudent
21 Feb 2021, 03:20
Forum: Ask For Help
Topic: InputBox for User and Password (Login dialogue)
Replies: 12
Views: 303

Re: InputBox for User and Password (Login dialogue)

Thanks, great stuff. I still can't get ESC to operate to close the dialogue like cancel. I've taken the out of a function as I read that it could create some issues, and started giving the gui a label "2", but not quite sure what I'm doing (the gui ability in autohotkey is really fantastic, very fl...
by AHKStudent
20 Feb 2021, 06:07
Forum: Ask For Help
Topic: InputBox for User and Password (Login dialogue)
Replies: 12
Views: 303

Re: InputBox for User and Password (Login dialogue)

Ok, great thanks, I've fumbled about to get this mostly working using the Edit 'password' command that you pointed me at! :) I have a few minor quibbles to a more expected dialogue if you know how, that would be great: - I would like pressing ESC to close this dialogue (i.e. act like pressing 'Canc...
by AHKStudent
19 Feb 2021, 23:19
Forum: Ask For Help
Topic: What solutions to this kind of download link
Replies: 4
Views: 167

Re: What solutions to this kind of download link

If you share the link i'm sure it will be easier to figure out.
by AHKStudent
19 Feb 2021, 17:09
Forum: Scripts and Functions
Topic: HTML Script
Replies: 2
Views: 208

Re: HTML Script

amazing really great work thank you
by AHKStudent
19 Feb 2021, 10:25
Forum: Ask For Help
Topic: How to copy the current webpage's items titles by Ahk? Topic is solved
Replies: 1
Views: 72

Re: How to copy the current webpage's items titles by Ahk? Topic is solved

if you want to use IE this should get you started itemName := "socks" pwb := ComObjCreate("InternetExplorer.Application") pwb.Visible := false pwb.Navigate("https://www.amazon.com/s?k=" itemName) while pwb.busy or pwb.ReadyState != 4 Sleep, 1000 loop, % (pwb.document.getElementsByTagName("h2").lengt...
by AHKStudent
18 Feb 2021, 03:49
Forum: Ask For Help
Topic: Take a url and send it to an archive site
Replies: 2
Views: 126

Re: Take a url and send it to an archive site

one option run script highlight the url u like to check and click w w:: Clipboard := send ^c ClipWait, 2 pwb := ComObjCreate("InternetExplorer.Application") pwb.Visible := false pwb.Navigate("https://archive.vn/" Clipboard) while pwb.busy or pwb.ReadyState != 4 Sleep, 1000 try { msgbox, % clipboard ...
by AHKStudent
17 Feb 2021, 10:02
Forum: Ask For Help
Topic: Pressing an element on a web page
Replies: 2
Views: 78

Re: Pressing an element on a web page

teadrinker 's chromejs method is perfect for this, here is a sample, run the script, come back to this page and hit w (warning: it will click on logo and navigate you away from this page) SetBatchLines, -1 js = ( javascript: document.getElementsByClassName("site_logo")[0].click(); ) Return w:: RunJ...
by AHKStudent
14 Feb 2021, 04:25
Forum: Ask For Help
Topic: Make a lottery program
Replies: 5
Views: 129

Re: Make a lottery program

I don't know what you are looking for but just in case this script will get random numbers numbers := 5 highest := 50 counters := 0 while (counters != 5) { Random, p, 1, % highest { if set contains %p% continue set .= p "," counters++ } } sort, set, N D, msgbox, % RTrim(set,",") ExitApp
by AHKStudent
12 Feb 2021, 03:22
Forum: Ask For Help
Topic: Prevent empty line in listview
Replies: 10
Views: 159

Re: Prevent empty line in listview

try to add

Code: Select all

if (A_LoopField = "")
   Continue
before the lv_add line

Go to advanced search