Search found 111 matches

by HIAC
09 Nov 2017, 13:52
Forum: Ask For Help
Topic: Status bar change Topic is solved
Replies: 3
Views: 573

Re: Status bar change Topic is solved

Yes, I want to update the text.. so what would be the working code?
by HIAC
09 Nov 2017, 13:18
Forum: Ask For Help
Topic: Status bar change Topic is solved
Replies: 3
Views: 573

Status bar change Topic is solved

Code: Select all

Gui Add, StatusBar,, Status: ...
after button is pressed, change to

Code: Select all

Gui Add, StatusBar,, Status: Done
by HIAC
09 Nov 2017, 11:48
Forum: Scripts and Functions
Topic: Youtube to MP3
Replies: 25
Views: 5438

Re: Youtube to MP3

I've improved the script now, as well as the regex code which determines whether youtube link is valid, try again please OK so now atleast were getting somewhere, I had to run the script as admin, then when i use it it works but its only saves 4KB mp3. it has the song names and everything but theyr...
by HIAC
09 Nov 2017, 10:03
Forum: Scripts and Functions
Topic: Youtube to MP3
Replies: 25
Views: 5438

Re: Youtube to MP3

Not all videos/songs can be downloaded or have the correct format , the ahk code works flawless ( except the download folder coded is non existent on my system....) on win10 pro . You can try downloading a link that works https://www.youtube.com/watch?v=fMR4fp4A2Ew or paste your link into http://co...
by HIAC
08 Nov 2017, 22:30
Forum: Scripts and Functions
Topic: Youtube to MP3
Replies: 25
Views: 5438

Re: Youtube to MP3

Updated again, check it up
Just press F8 while listening to youtube song, no selection is needed anymore.
by HIAC
08 Nov 2017, 21:30
Forum: Ask For Help
Topic: Is it possible to do something until UrlDownloadToFile finish downloading?
Replies: 1
Views: 379

Is it possible to do something until UrlDownloadToFile finish downloading?

Is it possible to do something until UrlDownloadToFile finish downloading?
by HIAC
08 Nov 2017, 20:49
Forum: Ask For Help
Topic: Small increments but rapid mouse movement when a key is pressed?
Replies: 2
Views: 479

Re: Small increments but rapid mouse movement when a key is pressed?

Hope this helps:

Code: Select all

Loop,
{
While (GetKeyState("a", "P") && GetKeyState("r", "P"))
	MouseMove, 1279, 308 ; X,Y Coordinates
While (GetKeyState("d", "P") && GetKeyState("r", "P"))
	MouseMove, 0, 418 ; X,Y Coordinates
}
by HIAC
08 Nov 2017, 20:14
Forum: Ask For Help
Topic: Msgbox and Gui - simple question
Replies: 8
Views: 1063

Re: Msgbox and Gui - simple question

Hey, hope this helps #NoEnv #SingleInstance Force SetWorkingDir, %A_ScriptDir% Gui Show, w225 h62, Window Gui Add, Button, x9 y10 w95 h40, Yes Gui Add, Button, x111 y9 w95 h40, No Return GuiClose: ExitApp ButtonYes: MsgBox, You pressed button Yes return ButtonNo: MsgBox, You pressed button No return
by HIAC
08 Nov 2017, 19:52
Forum: Scripts and Functions
Topic: Youtube to MP3
Replies: 25
Views: 5438

Re: Youtube to MP3

I cant get this to work :( I have IE 11, windows 10. Not sure why it wont....its pretty straight forward and simple to use LOL. I push F9 and nothing happens at all. I thought maybe I was doing something wrong :/ URL copied to clipboard, push F9 it saves to my docs correct ? LOL Uhmmm.. :think: May...
by HIAC
08 Nov 2017, 19:22
Forum: Ask For Help
Topic: Click on a button
Replies: 5
Views: 1035

Re: Click on a button

Okay sure man, no problem.

Meanwhile, check out this easy tool to get webpage info.
https://autohotkey.com/board/topic/8425 ... bbrowser2/
by HIAC
08 Nov 2017, 19:04
Forum: Ask For Help
Topic: Click on a button
Replies: 5
Views: 1035

Re: Click on a button

I've tried opening that webpage but unsuccessfully.. I notice few mistakes in your script; While pwb.busy or pwb.ReadyState !=4 ; Waits for the webpage to finish loading Sleep 10 There must be space before Sleep, so it determines which codes will execute while "while-loop" is active WinMaximize, It ...
by HIAC
08 Nov 2017, 18:38
Forum: Ask For Help
Topic: Fill different passwords for different Windows
Replies: 3
Views: 360

Re: Fill different passwords for different Windows

Maybe something like this? Just fill password instead of these msgboxes

Code: Select all

Loop,
{
IfWinActive, WINTITLEA
	MsgBox, Active window is A
IfWinActive, WINTITLEB
	MsgBox, Active window is B
IfWinActive, WINTITLEC
	MsgBox, Active window is C
}
Return
by HIAC
08 Nov 2017, 17:45
Forum: Scripts and Functions
Topic: Youtube to MP3
Replies: 25
Views: 5438

Re: Youtube to MP3

Very nice ! Thanks for sharing, i use http://convert2mp3.net/en/ but that takes a bit of work ( but it enters info in the tags). Glad that you like it! Yeah, i started off with that site first too, but this one turned out to be easier a lot.. :thumbup: How can I modify this for use with Chrome? Unf...
by HIAC
08 Nov 2017, 13:54
Forum: Ask For Help
Topic: Outputting date format - literals are in wrong place
Replies: 6
Views: 751

Re: Outputting date format - literals are in wrong place

Code: Select all

FormatTime, timestring, DD-mm-yyyy
timestring := strReplace(timestring,".", "-")
MsgBox % timestring
by HIAC
08 Nov 2017, 12:36
Forum: Scripts and Functions
Topic: Youtube to MP3
Replies: 25
Views: 5438

Youtube to MP3

Hello, I made this simple Youtube to MP3 downloader and decided to share it :) Note: Works only with IE 11 or newer #NoEnv #SingleInstance, Force SetWorkingDir, %A_ScriptDir% pwb := ComObjCreate("InternetExplorer.Application") pwb.Visible := false Gui, +AlwaysOnTop Gui, Show, x200 y750 w465 h153, Yo...
by HIAC
07 Nov 2017, 21:54
Forum: Ask For Help
Topic: Help regarding URLDownloadToFile containing variables Topic is solved
Replies: 6
Views: 753

Re: Help regarding URLDownloadToFile containing variables Topic is solved

Masonjar13 wrote:RegEx is not needed. We just need StrReplace.

Code: Select all

name:=strReplace(name,"|")
If you need to do this for multiple characters, RegEx might be better. Alternatively, you could have multiple StrReplace calls.
Working excellent, thanks mate.
by HIAC
07 Nov 2017, 18:07
Forum: Ask For Help
Topic: Help regarding URLDownloadToFile containing variables Topic is solved
Replies: 6
Views: 753

Re: Help regarding URLDownloadToFile containing variables Topic is solved

Thanks for the reply! My IE 11 is completely working, and what I am saying is that if for e.g. I do this: Clipboard = URLDownloadToFile, %DirectUrl%, %Name%.mp3 Result is: URLDownloadToFile, https://quq.ymcdn.cc/b7bdd49462ef87eee1b5ecfc6bd1bd8e/VkYXor2ncW0, Nedeljko Bajić - Baja | Kljuc (2017).mp3 ...
by HIAC
07 Nov 2017, 15:36
Forum: Ask For Help
Topic: Help regarding URLDownloadToFile containing variables Topic is solved
Replies: 6
Views: 753

Re: Help regarding URLDownloadToFile containing variables Topic is solved

Thanks for the reply! My IE 11 is completely working, and what I am saying is that if for e.g. I do this: Clipboard = URLDownloadToFile, %DirectUrl%, %Name%.mp3 Result is: URLDownloadToFile, https://quq.ymcdn.cc/b7bdd49462ef87eee1b5ecfc6bd1bd8e/VkYXor2ncW0, Nedeljko Bajić - Baja | Kljuc (2017).mp3 A...
by HIAC
07 Nov 2017, 14:57
Forum: Ask For Help
Topic: Help regarding URLDownloadToFile containing variables Topic is solved
Replies: 6
Views: 753

Help regarding URLDownloadToFile containing variables Topic is solved

Code: Select all

DirectUrl := pwb.document.getElementById("file").href
Name := pwb.document.getElementById("title").innertext
URLDownloadToFile, %DirectUrl%, %Name%.mp3
Both variables are full, however the download doesn't start..
What am I doing wrong?
by HIAC
07 Nov 2017, 07:22
Forum: Ask For Help
Topic: variables Topic is solved
Replies: 2
Views: 534

Re: variables Topic is solved

I thought I already tried that, but somehow it does work now.. thanks a lot

Go to advanced search