Search found 79 matches

by thenasos
15 Aug 2017, 06:55
Forum: Ask for Help (v1)
Topic: Im dumb pls hulp Toggle help Topic is solved
Replies: 7
Views: 1730

Re: Im dumb pls hulp Toggle help Topic is solved

You are trying to assign values of "Toggle" when you should be comparing them

Code: Select all

if (Toggle = 1) 
	SoundPlay, "d:\speakers.mp3", wait
if (Toggle = 0) 
	SoundPlay, "d:\headphones.mp3", wait
by thenasos
14 Aug 2017, 08:42
Forum: Ask for Help (v1)
Topic: Need a script made (Will pay $$$)
Replies: 4
Views: 1277

Re: Need a script made (Will pay $$$)

Ah, it has been some time, I've seen eGain window.. (and memories tent to fade) If I remember it runs on JavaScript, but should not be to hard to point to stuff. As BoBo said, you need to find an object that will be your trigger ( Chat status, Time waiting for reply, Activity Duration, Open activiti...
by thenasos
02 Aug 2017, 01:13
Forum: Ask for Help (v1)
Topic: parse links
Replies: 10
Views: 2230

Re: parse links

thank you thenasos , works fine how can I find all url's ( more then one url per line ) ? Hi, bla bla bla this link http://vk1.com xxxx https://vk2.com yyyyy So, bla bla bla bla https://vk1.com/omg1 aaaaa https://vk1.com/omg2 this group. For my example, just change this line, to enambe multiple url...
by thenasos
01 Aug 2017, 08:57
Forum: Ask for Help (v1)
Topic: parse links
Replies: 10
Views: 2230

Re: parse links

Something like this?

Code: Select all

FileRead, SomeText, somefile.txt
StringSplit,SplitText,SomeText,`n,`r
i := 0

Loop, % SplitText0
{
i++
if (RegExMatch(SplitText%i%,"((w{3}.)|(https?))(:\/{2})?\S+", foundURL))
	listUpdate .= foundURL "`r"
}
MsgBox, %  listUpdate
return
Pretty sure, can be written better...
by thenasos
01 Aug 2017, 07:21
Forum: Gaming Help (v1)
Topic: How to script this Tekken commands?
Replies: 4
Views: 4449

Re: How to script this Tekken commands?

Or this E:: while(getKeyState("E","P")){ Send {a down} while(getKeyState("E","P")){ sleep 50 while(getKeyState("E","P")){ send {a up} while(getKeyState("E","P")){ Send d return }}}} return But in honesty, 30 minutes in practice mode, should help with the accuracy of fingers. :) Hit me up, if want so...
by thenasos
02 Jun 2017, 03:57
Forum: Ask for Help (v1)
Topic: strsplit Topic is solved
Replies: 3
Views: 888

Re: strsplit Topic is solved

Thanks!
by thenasos
02 Jun 2017, 03:33
Forum: Ask for Help (v1)
Topic: strsplit Topic is solved
Replies: 3
Views: 888

strsplit Topic is solved

StringSlipt works ok, but if it trying strSplit, I get nothing.
What am I doing wrong here?

Code: Select all

ClipboardEdit := StrSplit (Clipboard, A_Space)
	loop, % ClipboardEdit.MaxIndex()
	{
	  entry := ClipboardEdit[A_Index]
	  MsgBox 	% entry 
	}

	MsgBox done 
by thenasos
01 Jun 2017, 09:13
Forum: Ask for Help (v1)
Topic: API call (OAuth2)
Replies: 0
Views: 782

API call (OAuth2)

Hi, can't convert curl line. curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer APItoken' 'https://server/api/v1.0/discovery' Response body: { "running": true, "status": "running" } Tried converting by using https://autohotkey.com/board/topic/148428-help-with-web-api-cal...
by thenasos
31 Mar 2017, 03:29
Forum: Ask for Help (v1)
Topic: API server name could not be resolved Topic is solved
Replies: 3
Views: 1421

Re: API server name could not be resolved Topic is solved

Adding proxy settings solved the issue.

Code: Select all

oHTTP.SetProxy( 2, "someproxy.com:80")
by thenasos
30 Mar 2017, 15:32
Forum: Ask for Help (v1)
Topic: API server name could not be resolved Topic is solved
Replies: 3
Views: 1421

Re: API server name could not be resolved Topic is solved

Hello, your script works and it gives me this reply: RT/4.2.12-50-ga2e2d37 200 Ok id: ticket/777 Queue: Marketing Owner: Nobody Creator: mike.bar Subject: Das ist ein test mbk Status: new Priority: 0 InitialPriority: 0 FinalPriority: 0 Requestors: mike.bar@no.mail Cc: AdminCc: Created: Fri Feb 26 0...
by thenasos
30 Mar 2017, 08:44
Forum: Ask for Help (v1)
Topic: API server name could not be resolved Topic is solved
Replies: 3
Views: 1421

API server name could not be resolved Topic is solved

Trying to run API check from: https://autohotkey.com/boards/viewtopic.php?t=14850 Getting error: 'The server name or address could not be resolved' --> oHTTP.Send() Did not change anything: URL := "http://rt.easter-eggs.org/demos/4.2/REST/1.0/ticket/777/show?user=admin&pass=admin" oHTTP := ComObjCre...
by thenasos
16 Mar 2017, 08:18
Forum: Ask for Help (v1)
Topic: New html value does not save
Replies: 1
Views: 860

Re: New html value does not save

BTW "Send" workaround does work, but then need to have page active, and field focused.
There must be an elegant solution, somewhere over the rainbow?
by thenasos
16 Mar 2017, 07:34
Forum: Ask for Help (v1)
Topic: Msgbox font size
Replies: 10
Views: 7212

Re: Msgbox font size

No.
Try using Progress / SplashImage
https://autohotkey.com/docs/commands/Progress.htm
by thenasos
16 Mar 2017, 07:25
Forum: Ask for Help (v1)
Topic: New html value does not save
Replies: 1
Views: 860

New html value does not save

Trying to set new value and save it: wb.Document.getElementByID( ARIDfull "_1000000000").value := Dispatch " " Summary ;~ MsgBox, % wb.Document.getElementByID( ARIDfull "_1000000000").innerHTML wb.Document.getElementByID("WIN_" ARID "_300000300").click() Page section: Save_form.PNG After .click() is...
by thenasos
08 Mar 2017, 07:23
Forum: Ask for Help (v1)
Topic: Other application run autohotkey exe with parameters Topic is solved
Replies: 1
Views: 1080

Other application run autohotkey exe with parameters Topic is solved

Hi,

Found various stuff launching stuff with parameters from a script,
how about launching a compiled exe with parameters?

In my case other application would launch the script with a parameter %ComputerName%
by thenasos
07 Mar 2017, 10:19
Forum: Ask for Help (v1)
Topic: variable in COM Object Word.Application
Replies: 4
Views: 1766

Re: variable in COM Object Word.Application

Anything that is without "" will counted as expresion.
If I remember correctly:
TAB -> `t
Line feed ->`n
Cariage return ->`r

In your case:

Code: Select all

oWord.Selection.TypeText("Visit" sometxt "`r" anotherVar "`r maybe more text `r") 
by thenasos
07 Mar 2017, 08:45
Forum: Ask for Help (v1)
Topic: variable in COM Object Word.Application
Replies: 4
Views: 1766

Re: variable in COM Object Word.Application

Hi, Created elements by default are hidden, so you need to set visibility. Also you need to add a new document, to have script to work somewhere. sometxt := ", but please bring some flowers " oWord := ComObjCreate("Word.Application") ; create MS Word object oWord.visible := true oWord.Documents.Add(...
by thenasos
07 Mar 2017, 07:38
Forum: Ask for Help (v1)
Topic: LDAP using thumbnailphoto
Replies: 1
Views: 791

LDAP using thumbnailphoto

Hi, Trying to get a photo from AD. Field gets populated ( I assume), but not able to use it. (I get 1 object and type 203(adLongVarWChar) and nothing for value) Need to use activex here maybe? objConnection := ComObjCreate("ADODB.Connection") objCommand := ComObjCreate("ADODB.Command") objRecordset ...
by thenasos
22 Feb 2017, 07:59
Forum: Ask for Help (v1)
Topic: Selecting particular existing IE and clicking things. Topic is solved
Replies: 8
Views: 2409

Re: Selecting particular existing IE and clicking things. Topic is solved

Found the reason, why I was not able to select "see" the window... In this particular case, the window title did not match window.LocationName When cheking with window spy(or just checking the header) I'd get "badwindow" But when running: for window in ComObjCreate("Shell.Application").Windows windo...

Go to advanced search