Search found 32 matches

by momo2000
15 Jul 2017, 15:21
Forum: Ask For Help
Topic: Newer style dialog for FileSelectFolder
Replies: 2
Views: 677

Re: Newer style dialog for FileSelectFolder

Thanks, BoBo. Funny enough, now I am seeing the "newer" style without doing anything. Oh well, I learned some new things anyway from those links!!!
by momo2000
13 Jul 2017, 13:17
Forum: Ask For Help
Topic: Newer style dialog for FileSelectFolder
Replies: 2
Views: 677

Newer style dialog for FileSelectFolder

It seems that on Windows 10 (and maybe other versions) the FileSelectFolder Function displays what I would call an “older style” dialog box. How can I get a “newer style”? I do see in the help for that function it refers to a page (https://autohotkey.com/board/topic/15836-module-dlg-501/) but that p...
by momo2000
13 Jul 2017, 12:59
Forum: Ask For Help
Topic: FileCopy/FileMove locking folder?
Replies: 1
Views: 574

Re: FileCopy/FileMove locking folder?

Took 7 months, but I finally solved this one, so thought I should clean up my incorrect assumptions in my post. The problem was NOT AHK. It was the Photobooth software. Just wanted to update in case anyone ever thinks they have a similar problem and suspect it is AHK, I don't want them to think that...
by momo2000
03 Apr 2017, 19:11
Forum: Ask For Help
Topic: FileCopy/FileMove locking folder?
Replies: 1
Views: 574

FileCopy/FileMove locking folder?

I have a photo system in which files come to a “watch folder” and then the photo system displays them. Works fine. But then I wrote a AKH script to copy the files from that watch folder and archive them. The script is below, and works fine. HOWEVER, after I run the script the photo system software w...
by momo2000
11 Nov 2016, 08:44
Forum: Editors
Topic: Visual Studio Code Support
Replies: 16
Views: 15762

Re: Visual Studio Code Support

Trying to get VSC working with AHK as well. Syntax highlighting works, but the Run/debug feature does not. I followed the steps above (and put those two lines in the settings.json file) but not working. When I got to run/debug, I get the error "Cannot find runtime 'node' on PATH." Any ideas?
by momo2000
29 Apr 2016, 17:24
Forum: Ask For Help
Topic: Block all keyboard input except PgUp and PgDn.
Replies: 4
Views: 1141

Re: Block all keyboard input except PgUp and PgDn.

Thanks, that gets me closer. The addition of:

Code: Select all

LWin Up:: Return 
that eliminates the Windows key. It seems that I have everything blocked but the CTRL-ALT-DEL, so still working on that. Ideas welcome.
by momo2000
29 Apr 2016, 15:29
Forum: Ask For Help
Topic: Block all keyboard input except PgUp and PgDn.
Replies: 4
Views: 1141

Re: Block all keyboard input except PgUp and PgDn.

WOW, yes, that is it! I never would have thought to come at it from that "angle". Nice. I'll go test for all keys, and see if I can figure any way around it . . . as I know folks will try lots of things . . . so I better try them first ;)
by momo2000
29 Apr 2016, 13:52
Forum: Ask For Help
Topic: Block all keyboard input except PgUp and PgDn.
Replies: 4
Views: 1141

Block all keyboard input except PgUp and PgDn.

I’ve got a laptop that will sit in a public space. People can view a PDF that will be loaded and already on the screen. I need a script that will disable/ignore ALL keyboard except PgUp and PgDn, so that they may view the PDF. I need to ignore all mouse input (buttons mostly, I don’t care if the mou...
by momo2000
12 Mar 2016, 13:42
Forum: Ask For Help
Topic: Detect when Windows screen lock/password is active
Replies: 10
Views: 4438

Re: Detect when Windows screen lock/password is active

sierratango: thanks! appreciate you updating the thread with the W10 working solution.
by momo2000
22 Aug 2015, 13:06
Forum: Ask For Help
Topic: [SOLVED] How to tell if a DOM object exists on a webpage
Replies: 6
Views: 2064

Re: How to tell if a DOM object exists on a webpage

I did get this working using TRY. Good idea. So now I just "try" to interact with the object, and if I get an error, then I assume they are on the wrong page. Took me a bit to figure it out, but this method works just fine for my purposes. Thanks for the suggestion, wouldn't have figured it out on m...
by momo2000
17 Aug 2015, 13:33
Forum: Ask For Help
Topic: [SOLVED] How to tell if a DOM object exists on a webpage
Replies: 6
Views: 2064

Re: How to tell if a DOM object exists on a webpage

Thanks evilC: Never used TRY before. But I am "trying" :) I used this code: wb := IEGet("Calendar - Bookeo") try { wb.Document.All.cardType.Value := "VISADEBIT" } catch { MsgBox, You are not on the correct page } But it doesn't "catch" and show the msg box . . . even with my web browser completely c...
by momo2000
16 Aug 2015, 23:09
Forum: Ask For Help
Topic: [SOLVED] How to tell if a DOM object exists on a webpage
Replies: 6
Views: 2064

Re: How to tell if a DOM object exists on a webpage

Been working with this more today. If I am on the correct web page, and run this code it changes the value of the "cardtype" control: wb.Document.All.cardType.Value := "VISADEBIT" If I am NOT on the correct page and run that code, I get an error (that stops AHK): "Error 0x80020006 - Unknown name." S...
by momo2000
16 Aug 2015, 14:01
Forum: Ask For Help
Topic: [SOLVED] How to tell if a DOM object exists on a webpage
Replies: 6
Views: 2064

Re: How to tell if a DOM object exists on a webpage

paymentscreen.png Thanks, Blackholyman: I was out yesterday, but am back on this today. I understand what you are saying in your example and that should work perfectly, because the “cardtype” always has a value (can’t be blank), so that would be a good thing to check the existence of. So if that ob...
by momo2000
15 Aug 2015, 09:17
Forum: Ask For Help
Topic: [SOLVED] How to tell if a DOM object exists on a webpage
Replies: 6
Views: 2064

[SOLVED] How to tell if a DOM object exists on a webpage

I’ve been working with DOM to be able to automatically populate the fields on a web page. I used iWB2 Learner to get the names of the fields and it is going well, and I have been able to access and populate/write all the input fields, such as: (using wb := IEGet("Calendar - Bookeo") from Jethreow) w...
by momo2000
04 Aug 2015, 16:46
Forum: Ask For Help
Topic: SOLVED: Trouble accessing one object via DOM on webpage
Replies: 9
Views: 1943

Re: SOLVED: Trouble accessing one object via DOM on webpage

Thanks sinkfaze. Agreed, that could be a problem, but actually that page "shouldn't" (famous last words) change. It was the only way I could get it working. Thanks for the help.
by momo2000
04 Aug 2015, 13:27
Forum: Ask For Help
Topic: SOLVED: Trouble accessing one object via DOM on webpage
Replies: 9
Views: 1943

Re: Trouble accessing one object via DOM on webpage

Well, I keep reading the forums and was able to grab it another way: var1 :=wb.document.getElementsByTagName( "div")[ 42].innerText Finding some other articles on the forums, I had "looped" through to get the element number. So that solved it. Still strange about it working then not working, but it ...
by momo2000
04 Aug 2015, 10:07
Forum: Ask For Help
Topic: SOLVED: Trouble accessing one object via DOM on webpage
Replies: 9
Views: 1943

Re: SOLVED: Trouble accessing one object via DOM on webpage

Strange, now it doesn't work?????? It absolutely was working.
by momo2000
04 Aug 2015, 09:50
Forum: Ask For Help
Topic: SOLVED: Trouble accessing one object via DOM on webpage
Replies: 9
Views: 1943

Re: Trouble accessing one object via DOM on webpage

boiler: Thanks, you are exactly right:

Code: Select all

var1 := wb.Document.All.dueNow.innerText
worked flawlessly. Sometimes things are so simple, but you gotta get they syntax right . . . thanks for the assist and ending my hours of frustration!!!!! :D
by momo2000
03 Aug 2015, 20:54
Forum: Ask For Help
Topic: SOLVED: Trouble accessing one object via DOM on webpage
Replies: 9
Views: 1943

Re: Trouble accessing one object via DOM on webpage

I keep searching and looking at examples, and I think this might be an "innertext vs. value" thing. I've been successful at getting a Value from an INPUT, but a TEXTAREA(what I think that might be) (it is part of a table) might use INNERTEXT to get the value from it. Still struggling with the exact ...
by momo2000
03 Aug 2015, 17:56
Forum: Ask For Help
Topic: SOLVED: Trouble accessing one object via DOM on webpage
Replies: 9
Views: 1943

SOLVED: Trouble accessing one object via DOM on webpage

I’ve been working with DOM to be able to automatically populate the fields on a web page (see screen capture #1). I used iWB2 Learner to get the names of the fields and it is going well, and I have been able to access and populate/write all the input fields, such as: (using wb := IEGet("Calendar - B...

Go to advanced search