isn't processpath supposed to be provided with a name of a process first ?
this is exactly what I want to avoid, providing hardcoded process names as parameters.
Search found 116 matches
- 29 Aug 2021, 02:05
- Forum: Ask for Help (v1)
- Topic: dinamically switch power plan
- Replies: 2
- Views: 267
- 28 Aug 2021, 01:59
- Forum: Ask for Help (v1)
- Topic: dinamically switch power plan
- Replies: 2
- Views: 267
dinamically switch power plan
I'm trying to create a script that auto swich a power plan to balanced when a process or more from a specific path is active and then switch back to power saving when not running. while I got the power switching part, I'm can't find a way for ahk to monitor that the process is running from the path ...
- 29 Nov 2018, 09:05
- Forum: Ask for Help (v1)
- Topic: Download file from link with redirect Topic is solved
- Replies: 8
- Views: 2555
Re: Download file from link with redirect Topic is solved
hi again.
could anybody help me translate this to C# ?
really need it for a project that is created in that language.
could anybody help me translate this to C# ?
really need it for a project that is created in that language.
- 04 Aug 2018, 07:43
- Forum: Ask for Help (v1)
- Topic: Download file from link with redirect Topic is solved
- Replies: 8
- Views: 2555
- 03 Aug 2018, 07:28
- Forum: Ask for Help (v1)
- Topic: Download file from link with redirect Topic is solved
- Replies: 8
- Views: 2555
Re: Download file from link with redirect Topic is solved
Cool, but it doesn't work for bleepingcomputer redirect link... any clues how to get that going? bleepingcomputer mirrors are way faster... #SingleInstance, Force WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1") WebRequest.Option(6) := False ; No redirects WebRequest.Open("GET", "https://ww...
- 02 Aug 2018, 08:55
- Forum: Ask for Help (v1)
- Topic: Download file from link with redirect Topic is solved
- Replies: 8
- Views: 2555
Re: Download file from link with redirect Topic is solved
Many thanks. I think it this will do.
One more question, not realy related to this... any way to download files async ? the way System.Net.WebClient.DownloadFileAsync works in powershell. It downloads the files in parallel.
One more question, not realy related to this... any way to download files async ? the way System.Net.WebClient.DownloadFileAsync works in powershell. It downloads the files in parallel.
- 02 Aug 2018, 08:30
- Forum: Ask for Help (v1)
- Topic: Download file from link with redirect Topic is solved
- Replies: 8
- Views: 2555
Re: Download file from link with redirect Topic is solved
Cool, but it doesn't work for bleepingcomputer redirect link...
any clues how to get that going?
bleepingcomputer mirrors are way faster...
any clues how to get that going?
bleepingcomputer mirrors are way faster...
- 02 Aug 2018, 06:38
- Forum: Ask for Help (v1)
- Topic: Download file from link with redirect Topic is solved
- Replies: 8
- Views: 2555
Download file from link with redirect Topic is solved
Is it possible for UrlDownloadToFile to handle downloads from redirected links.
Ex: https://downloads.malwarebytes.com/file/adwcleaner or https://www.bleepingcomputer.com/downlo ... ol/dl/293/
thanks in advance.
Ex: https://downloads.malwarebytes.com/file/adwcleaner or https://www.bleepingcomputer.com/downlo ... ol/dl/293/
thanks in advance.
- 06 Jun 2018, 01:15
- Forum: Ask for Help (v1)
- Topic: Sending email with AHK Topic is solved
- Replies: 32
- Views: 18680
Re: Sending email with AHK Topic is solved
Eureka ! I have it working :-) There are probably much better ways of doing it, but it works. Now you can add CC / BCC / HTML and an attachment. #SingleInstance Force SetBatchLines, -1 SendMode, Input FileDelete, email.ps1 ;#####################Variables####################### fromaddress = "someon...
- 06 Jun 2018, 00:59
- Forum: Ask for Help (v1)
- Topic: Antivirus & Antispyware WMI Query as string
- Replies: 4
- Views: 1130
Re: Antivirus & Antispyware WMI Query as string
lifesaver
Probabily would have got it after 100 trial and error retries
Probabily would have got it after 100 trial and error retries
- 06 Jun 2018, 00:45
- Forum: Ask for Help (v1)
- Topic: Antivirus & Antispyware WMI Query as string
- Replies: 4
- Views: 1130
Re: Antivirus & Antispyware WMI Query as string
Thanks. Getting somewhere. Trying to adapt it to my needs as I don't need msgbox that come 1 by one for each type. I need the results as strings This is what I came up with so far: For objItem in selectFrom("AntiVirusProduct") { Antivirus .= "," objItem.displayName Antivirus := SubStr(Antivirus, 2) ...
- 05 Jun 2018, 09:53
- Forum: Ask for Help (v1)
- Topic: Antivirus & Antispyware WMI Query as string
- Replies: 4
- Views: 1130
Antivirus & Antispyware WMI Query as string
I'm trying to adapt jNizM's wmi snippets to get results as strings and I'm having trouble getting more the results as strings if they are more than one ( more than one AV , more than one Antispyware on the system): For objItem in ComObjGet("winmgmts:\\.\root\SecurityCenter2").ExecQuery("SELECT * FRO...
- 03 Jun 2018, 10:06
- Forum: Ask for Help (v1)
- Topic: autohotkey interact with google drive
- Replies: 7
- Views: 2275
Re: autohotkey interact with google drive
I would be ok with onedrive interaction too if that is possible...
- 01 Jun 2018, 22:45
- Forum: Ask for Help (v1)
- Topic: Gdrive download progress bar
- Replies: 5
- Views: 1404
Re: Gdrive download progress bar
Since gdrive direct download links don't seem to have "Content-Length" header included, how would one go to modify the script to define the size of the file manually and make the progress bar reflect that(comparing the downloaded size vs the defined size). I'm thinking that this is the simpler way t...
- 01 Jun 2018, 11:38
- Forum: Scripts and Functions (v1)
- Topic: Super simple download with progressbar
- Replies: 27
- Views: 15636
Re: Super simple download with progressbar
could this be adapted to work with gdrive links?
I'm getting error 0x80072F76 - Source:WinHttp.WinHHTpRequest , Description: The requested header was not found, Specifically: GetResponseHeader
I'm getting error 0x80072F76 - Source:WinHttp.WinHHTpRequest , Description: The requested header was not found, Specifically: GetResponseHeader
- 01 Jun 2018, 09:26
- Forum: Ask for Help (v1)
- Topic: Gdrive download progress bar
- Replies: 5
- Views: 1404
Re: Gdrive download progress bar
I just posted an example of a script I found. A script that doesn't fully work.
Downloading the file from drive with urldownloadtofile was never the issue. Attaching a progress bar to it was.
That's what I am aiming for
Downloading the file from drive with urldownloadtofile was never the issue. Attaching a progress bar to it was.
That's what I am aiming for
- 31 May 2018, 21:30
- Forum: Ask for Help (v1)
- Topic: Gdrive download progress bar
- Replies: 5
- Views: 1404
Re: Gdrive download progress bar
I have found an old script for something like what I need , but I get an error when I start it. Then again it seems to download if I opt continue the script and some progress bar that doesn't fill as it should The error is : 0x80072F76 - Source:WinHttp.WinHHTpRequest , Description: The requested hea...
- 30 May 2018, 22:26
- Forum: Ask for Help (v1)
- Topic: Gdrive download progress bar
- Replies: 5
- Views: 1404
Re: Gdrive download progress bar
Any ideeas?
- 30 May 2018, 10:38
- Forum: Ask for Help (v1)
- Topic: Gdrive download progress bar
- Replies: 5
- Views: 1404
Gdrive download progress bar
How to display a progress bar inside a gui reflecting the status of downloading a file from gdrive ?
Is it possible?
I have found some very old threads from an older ahk forum that state filegetsize will not work with a file located in the web.
Is it possible?
I have found some very old threads from an older ahk forum that state filegetsize will not work with a file located in the web.
- 28 May 2018, 16:20
- Forum: Ask for Help (v1)
- Topic: Sending email with AHK Topic is solved
- Replies: 32
- Views: 18680
Re: Sending email with AHK Topic is solved
Would it be possible to adapt the script so it doesn't create any email.ps1 external file.I would like as little footprint as possible