Search found 79 matches

by thenasos
07 Nov 2016, 08:18
Forum: Ask For Help
Topic: List web page tag titles Topic is solved
Replies: 2
Views: 537

List web page tag titles Topic is solved

Not able to list any tag titles.

Code: Select all

tag := wp.document.getElementsByTagName("tr").title
MsgBox % tag 
does not accept "title" usage.

Any suggestions, how to list tag titles?
by thenasos
26 Oct 2016, 01:44
Forum: Ask For Help
Topic: Unknown name --> Links := wp.Document.links Topic is solved
Replies: 10
Views: 1497

Re: Unknown name --> Links := wp.Document.links Topic is solved

Yup, that prevents error and allow to display IE in the msgbox, will try this try (feels like cheating, somehow.. :D ) Still have no idea why this works For wp in ComObjCreate("Shell.Application").Windows if InStr(IE.FullName, "iexplore.exe") ; any new variable name will be fine break but this one r...
by thenasos
25 Oct 2016, 09:10
Forum: Ask For Help
Topic: Unknown name --> Links := wp.Document.links Topic is solved
Replies: 10
Views: 1497

Re: Unknown name --> Links := wp.Document.links Topic is solved

Message box is able to pass in IE name, but not without prompt if to continue with the script as "Name" is unknown..
ahk_nameIssue.JPG
ahk_nameIssue.JPG (58.64 KiB) Viewed 1393 times
by thenasos
25 Oct 2016, 08:59
Forum: Ask For Help
Topic: ::Newbie:: Script for an specific web (Title)
Replies: 3
Views: 930

Re: ::Newbie:: Script for an specific web (Title)

It is a complete code for your case. SetTitleMatchMode, 2 enables partial title name ( caps still matter) F7:: that's your key to trigger the script Function7, not F+7. IfWinActive, YouTube - Google Chrome If ACTIVE window is running YouTube in chrome, the message box will kick in ( you can remove "...
by thenasos
25 Oct 2016, 03:45
Forum: Ask For Help
Topic: ::Newbie:: Script for an specific web (Title)
Replies: 3
Views: 930

Re: ::Newbie:: Script for an specific web (Title)

Code: Select all

SetTitleMatchMode, 2

F7::
IfWinActive, YouTube - Google Chrome
	MsgBox "Yep, that's a youtube page alright."
return
by thenasos
25 Oct 2016, 03:34
Forum: Ask For Help
Topic: Unknown name --> Links := wp.Document.links Topic is solved
Replies: 10
Views: 1497

Re: Unknown name --> Links := wp.Document.links Topic is solved

Hrm it's odd that you're not pulling the open IE FullName. As a standalone debugger, do you see Windows Internet Explorer in this shell list with IE open: For wp in ComObjCreate("Shell.Application").Windows ShellList .= wp.Name "`n" msgbox % ShellList ?? 0:80020006 - Unknown name. Specifically: Nam...
by thenasos
21 Oct 2016, 04:41
Forum: Ask For Help
Topic: Unknown name --> Links := wp.Document.links Topic is solved
Replies: 10
Views: 1497

Re: Unknown name --> Links := wp.Document.links Topic is solved

Try changing If InStr( IE .FullName, "iexplore.exe") to If InStr( wp .FullName, "iexplore.exe") Yeah, that is a facepalm worthy thing I've missed, thanks for pointing out. But I am unable to open the IE, as a workaround i used wp := ComObjCreate("InternetExplorer.Application") If would need to use ...
by thenasos
20 Oct 2016, 09:03
Forum: Ask For Help
Topic: Unknown name --> Links := wp.Document.links Topic is solved
Replies: 10
Views: 1497

Unknown name --> Links := wp.Document.links Topic is solved

Hi, Was working ok, but now it stopped recognizing Document.Links.. If it would have never worked, I'd be less lost in time and space... Error 0x80020006 - Unknown name. Specifically: Links 064:Links := wp.Documents.Links [code=autohotkey file=Untitled.ahk]; Title maching set to partial and batch li...
by thenasos
19 Oct 2016, 07:16
Forum: Ask For Help
Topic: Help pls :( Topic is solved
Replies: 3
Views: 1298

Re: Help pls :( Topic is solved

thenasos wrote:You want all five keys to be pressed at the same time?
Not sure how this have answered the question, but you are welcome. 8-)
by thenasos
19 Oct 2016, 04:09
Forum: Ask For Help
Topic: Help pls :( Topic is solved
Replies: 3
Views: 1298

Re: Help pls :( Topic is solved

You want all five keys to be pressed at the same time?
by thenasos
17 Oct 2016, 02:53
Forum: Ask For Help
Topic: a macro too complicated for me...
Replies: 1
Views: 517

Re: a macro too complicated for me...

Hi,

I think this post might point you to the right direction:
https://autohotkey.com/board/topic/7423 ... fic-delay/
by thenasos
12 Oct 2016, 09:19
Forum: Ask For Help
Topic: Loop inside function skips steps Topic is solved
Replies: 2
Views: 1053

Loop inside function skips steps Topic is solved

Hi, Unable to use loop inside function, would like to save space, not sure why cannot, ahk tries to sort links, but does not "Click". What I would like to use: while wp.Busy Sleep 100 WinWaitActive, Certificate For wp in ComObjCreate("Shell.Application").Windows If InStr(IE.FullName, "iexplore.exe")...
by thenasos
12 Oct 2016, 08:09
Forum: Ask For Help
Topic: How to make this script autorepeat Topic is solved
Replies: 6
Views: 1242

Re: How to make this script autorepeat Topic is solved

I think this is what he seeks..

Code: Select all

q::

loop, 1000
{
  send, a
  random, s, 20, 25
  sleep s
  send, z
  random, s, 20, 25
  sleep s
  send, p
  random, s, 20, 25
  random, sleeper, 10000, 20000
  sleep, %sleeper%
  
}
by thenasos
14 Apr 2016, 02:45
Forum: Ask For Help
Topic: Com object does not work in executable Topic is solved
Replies: 2
Views: 665

Re: Com object does not work in executable Topic is solved

Blackholyman wrote:Then you complied with an old version of autohotkey.exe
Yep, did that discovery after posting immediately. :oops:
by thenasos
14 Apr 2016, 02:15
Forum: Ask For Help
Topic: Com object does not work in executable Topic is solved
Replies: 2
Views: 665

Com object does not work in executable Topic is solved

The line works fine when running from ahk file.
After compiling into exe I get an error "The following variable contains illegal character "IEopen.Visible""

Code: Select all

IEopen := ComObjCreate("InternetExplorer.Application")
IEopen.Visible := true
by thenasos
11 Nov 2015, 03:11
Forum: Ask For Help
Topic: [SOLVED] Clipboard madness Topic is solved
Replies: 4
Views: 1516

Re: Clipboard madness Topic is solved

It works, damn it works! :D
Thank you!
by thenasos
10 Nov 2015, 10:17
Forum: Ask For Help
Topic: [SOLVED] Clipboard madness Topic is solved
Replies: 4
Views: 1516

[SOLVED] Clipboard madness Topic is solved

Unable to save info to Clipboard from file. Old Clipboard works fine, there must be something too obvious that I am missing here. ::emailtmp2:: oldClip := clipboardAll clipboard := FileRead, Clipboard, *c C:\Users\S62790\Desktop\Scripts\ahk\demo\parasai.txt Send ^v clipboard := oldClip ifWinActive, ...

Go to advanced search