Search found 111 matches

by HIAC
04 Feb 2018, 21:02
Forum: Ask for Help (v1)
Topic: Ini get max numbers Topic is solved
Replies: 2
Views: 910

Re: Ini get max numbers Topic is solved

Thanks a lot, working perfectly! :)
by HIAC
04 Feb 2018, 20:10
Forum: Ask for Help (v1)
Topic: Ini get max numbers Topic is solved
Replies: 2
Views: 910

Ini get max numbers Topic is solved

[Test]
1=1
87=0
7=5
13=7
43=10
39=30
46=15
45=75

I want to get 7,43,39,46,45 (in different variables, like 7 be VAR1,43 VAR2) because these six numbers hold the largest key value

Help? :)
by HIAC
08 Dec 2017, 18:55
Forum: Gaming Help (v1)
Topic: Anything with which I can have updative text on game window(fullscreen)?
Replies: 1
Views: 798

Anything with which I can have updative text on game window(fullscreen)?

Anything with which I can have updative text on game window(fullscreen)?

But not like Loop ToolTop..
by HIAC
05 Dec 2017, 15:52
Forum: Ask for Help (v1)
Topic: File line Topic is solved
Replies: 2
Views: 779

Re: File line Topic is solved

Thats it! Thank you so much
by HIAC
05 Dec 2017, 14:56
Forum: Ask for Help (v1)
Topic: File line Topic is solved
Replies: 2
Views: 779

File line Topic is solved

How can I delete first line of text file, and the move 2nd line to position 1?
by HIAC
05 Dec 2017, 11:37
Forum: Ask for Help (v1)
Topic: pwb get element from another tab
Replies: 5
Views: 1324

Re: pwb get element from another tab

Thanks.

If I create two different objects, then set both visibility to false, they'll show up no matter
by HIAC
05 Dec 2017, 09:44
Forum: Ask for Help (v1)
Topic: pwb get element from another tab
Replies: 5
Views: 1324

Re: pwb get element from another tab

Example please?
by HIAC
05 Dec 2017, 06:53
Forum: Ask for Help (v1)
Topic: pwb get element from another tab
Replies: 5
Views: 1324

pwb get element from another tab

ypwb := ComObjCreate("InternetExplorer.Application") ypwb.Visible := true ypwb.Navigate("https://ytmp3.cc/") ypwb.Navigate("https://www.youtube.com/results?search_query=Song", 2048) while ypwb.busy or ypwb.ReadyState !=4 sleep, 10 Alright so I have two tabs open, how can I tell which one to get ele...
by HIAC
04 Dec 2017, 17:25
Forum: Ask for Help (v1)
Topic: pwb get element help Topic is solved
Replies: 4
Views: 1556

Re: pwb get element help Topic is solved

God damn!
Thank you both, solved.
by HIAC
04 Dec 2017, 16:32
Forum: Ask for Help (v1)
Topic: pwb get element help Topic is solved
Replies: 4
Views: 1556

pwb get element help Topic is solved

Any ideas how can I get the link of first song on the page? ypwb := ComObjCreate("InternetExplorer.Application") ypwb.Visible := true ypwb.Navigate("https://www.youtube.com/results?search_query=Song") while ypwb.busy or ypwb.ReadyState !=4 sleep, 10 URL := pwb.document.getElementsByClassName("yt-uix...
by HIAC
04 Dec 2017, 12:23
Forum: Ask for Help (v1)
Topic: IfInString help
Replies: 9
Views: 1893

Re: IfInString help

boiler wrote:I just described it above. You need to break your list into an array. You can use StrSplit() to do that. Then you loop through them and check to see if each element is contained in your variable.
And I don't know how exactly to do that.. :eh:
by HIAC
04 Dec 2017, 12:18
Forum: Ask for Help (v1)
Topic: IfInString help
Replies: 9
Views: 1893

Re: IfInString help

boiler wrote:Yes, you can have it do whatever you want when it finds it. It's the part that finds it that you need to change, not the MsgBox.
Exactly, so do you know what should I change it to?
by HIAC
04 Dec 2017, 12:15
Forum: Ask for Help (v1)
Topic: IfInString help
Replies: 9
Views: 1893

Re: IfInString help

You break your list into an array, then loop through the array and check each item to see if it's in the string in your variable A. You're checking to see if the string in your variable A is in the list, which it is not. Do you understand that I need it to popup the MsgBox like this? I may not be u...
by HIAC
04 Dec 2017, 12:08
Forum: Ask for Help (v1)
Topic: IfInString help
Replies: 9
Views: 1893

Re: IfInString help

boiler wrote:No it shouldn't. It doesn't contain "NotApple". You are thinking of it backwards.
So what would be the code to do so?
by HIAC
04 Dec 2017, 11:26
Forum: Ask for Help (v1)
Topic: IfInString help
Replies: 9
Views: 1893

IfInString help

Hello :)

config.ini :
  • Apple
    Banana

    Code: Select all

    A := "NotApple"
    
    IniRead, List, config.ini, LIST
    IfInString, List, %A%
    {
    	MsgBox Ok.
    }
    "NotApple" should also trigger MsgBox as it contains "Apple" in it, but it doesn't do.. how can I modify this to work?
by HIAC
04 Dec 2017, 05:33
Forum: Ask for Help (v1)
Topic: Ini read and output the Key name that has largest amount Topic is solved
Replies: 16
Views: 4005

Re: Ini read and output the Key name that has largest amount Topic is solved

Thanks everyone. @A_AhkUser This is what I need, but just if I could output the Key name too! I saw the code you posted, but I'm just too new so I don't get it :( IniRead, pairs, ini.ini, INFO o := Object(StrSplit("0`n" . pairs . "`n", ["=", "`n"])*) maxToRetieve := 3 Loop % maxToRetieve { var%a_ind...
by HIAC
03 Dec 2017, 20:27
Forum: Ask for Help (v1)
Topic: multiple if
Replies: 8
Views: 2187

Re: multiple if

Thanks but then I can't use Else...
by HIAC
03 Dec 2017, 20:10
Forum: Ask for Help (v1)
Topic: If IsAudioPlaying false for 3 minutes Topic is solved
Replies: 12
Views: 2406

Re: If IsAudioPlaying false for 3 minutes Topic is solved

Got it to work, thank you very much.
by HIAC
03 Dec 2017, 20:02
Forum: Ask for Help (v1)
Topic: multiple if
Replies: 8
Views: 2187

Re: multiple if

Thanks for the reply but it does not work

Code: Select all

A := 0

If A is not number
	MsgBox
by HIAC
03 Dec 2017, 19:26
Forum: Ask for Help (v1)
Topic: multiple if
Replies: 8
Views: 2187

multiple if

Hello again,

If A is not number and If A is not = 0

How can i put this together?

Go to advanced search