Search found 32 matches
- 15 Jul 2017, 15:21
- Forum: Ask for Help (v1)
- Topic: Newer style dialog for FileSelectFolder
- Replies: 2
- Views: 1182
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!!!
- 13 Jul 2017, 13:17
- Forum: Ask for Help (v1)
- Topic: Newer style dialog for FileSelectFolder
- Replies: 2
- Views: 1182
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...
- 13 Jul 2017, 12:59
- Forum: Ask for Help (v1)
- Topic: FileCopy/FileMove locking folder?
- Replies: 1
- Views: 1007
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...
- 03 Apr 2017, 19:11
- Forum: Ask for Help (v1)
- Topic: FileCopy/FileMove locking folder?
- Replies: 1
- Views: 1007
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...
- 11 Nov 2016, 08:44
- Forum: Visual Studio Code
- Topic: Visual Studio Code Support
- Replies: 20
- Views: 39579
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?
- 29 Apr 2016, 17:24
- Forum: Ask for Help (v1)
- Topic: Block all keyboard input except PgUp and PgDn.
- Replies: 4
- Views: 2718
Re: Block all keyboard input except PgUp and PgDn.
Thanks, that gets me closer. The addition of: that eliminates the Windows key. It seems that I have everything blocked but the CTRL-ALT-DEL, so still working on that. Ideas welcome.
Code: Select all
LWin Up:: Return
- 29 Apr 2016, 15:29
- Forum: Ask for Help (v1)
- Topic: Block all keyboard input except PgUp and PgDn.
- Replies: 4
- Views: 2718
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
- 29 Apr 2016, 13:52
- Forum: Ask for Help (v1)
- Topic: Block all keyboard input except PgUp and PgDn.
- Replies: 4
- Views: 2718
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...
- 12 Mar 2016, 13:42
- Forum: Ask for Help (v1)
- Topic: Detect when Windows screen lock/password is active
- Replies: 14
- Views: 10008
Re: Detect when Windows screen lock/password is active
sierratango: thanks! appreciate you updating the thread with the W10 working solution.
- 22 Aug 2015, 13:06
- Forum: Ask for Help (v1)
- Topic: [SOLVED] How to tell if a DOM object exists on a webpage
- Replies: 6
- Views: 3385
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...
- 17 Aug 2015, 13:33
- Forum: Ask for Help (v1)
- Topic: [SOLVED] How to tell if a DOM object exists on a webpage
- Replies: 6
- Views: 3385
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...
- 16 Aug 2015, 23:09
- Forum: Ask for Help (v1)
- Topic: [SOLVED] How to tell if a DOM object exists on a webpage
- Replies: 6
- Views: 3385
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...
- 16 Aug 2015, 14:01
- Forum: Ask for Help (v1)
- Topic: [SOLVED] How to tell if a DOM object exists on a webpage
- Replies: 6
- Views: 3385
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...
- 15 Aug 2015, 09:17
- Forum: Ask for Help (v1)
- Topic: [SOLVED] How to tell if a DOM object exists on a webpage
- Replies: 6
- Views: 3385
[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...
- 04 Aug 2015, 16:46
- Forum: Ask for Help (v1)
- Topic: SOLVED: Trouble accessing one object via DOM on webpage
- Replies: 9
- Views: 3312
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.
- 04 Aug 2015, 13:27
- Forum: Ask for Help (v1)
- Topic: SOLVED: Trouble accessing one object via DOM on webpage
- Replies: 9
- Views: 3312
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 ...
- 04 Aug 2015, 10:07
- Forum: Ask for Help (v1)
- Topic: SOLVED: Trouble accessing one object via DOM on webpage
- Replies: 9
- Views: 3312
Re: SOLVED: Trouble accessing one object via DOM on webpage
Strange, now it doesn't work?????? It absolutely was working.
- 04 Aug 2015, 09:50
- Forum: Ask for Help (v1)
- Topic: SOLVED: Trouble accessing one object via DOM on webpage
- Replies: 9
- Views: 3312
Re: Trouble accessing one object via DOM on webpage
boiler: Thanks, you are exactly right: worked flawlessly. Sometimes things are so simple, but you gotta get they syntax right . . . thanks for the assist and ending my hours of frustration!!!!!
Code: Select all
var1 := wb.Document.All.dueNow.innerText
- 03 Aug 2015, 20:54
- Forum: Ask for Help (v1)
- Topic: SOLVED: Trouble accessing one object via DOM on webpage
- Replies: 9
- Views: 3312
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 ...
- 03 Aug 2015, 17:56
- Forum: Ask for Help (v1)
- Topic: SOLVED: Trouble accessing one object via DOM on webpage
- Replies: 9
- Views: 3312
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...