Search found 356 matches

by scriptor2016
10 May 2018, 23:25
Forum: Ask For Help
Topic: Using mouse keys to simulate {Enter} key
Replies: 3
Views: 100

Re: Using mouse keys to simulate {Enter} key

Do you mean something like this? Menu, MyMenu, Add, Undo, MenuHandler1 Menu, MyMenu, Add, Cut, MenuHandler2 Menu, MyMenu, Add, Copy, MenuHandler3 Menu, MyMenu, Add, Paste, MenuHandler4 Menu, MyMenu, Add, Delete, MenuHandler5 Menu, MyMenu, Add, Enter, MenuHandler6 Return MenuHandler1: sendinput, ^z R...
by scriptor2016
05 May 2018, 21:59
Forum: Ask For Help
Topic: Hover cursor outside of GUI
Replies: 9
Views: 256

Re: Hover cursor outside of GUI

Ok, now I get it :)

I couldn't figure out what it was, I was looking for some kind of a pattern or something to determine what it meant but it always seemed random. Now I know it's milliseconds. Thanks :)
by scriptor2016
05 May 2018, 20:56
Forum: Ask For Help
Topic: Hover cursor outside of GUI
Replies: 9
Views: 256

Re: Hover cursor outside of GUI

Do they represent coordinates?
by scriptor2016
04 May 2018, 23:49
Forum: Ask For Help
Topic: Hover cursor outside of GUI
Replies: 9
Views: 256

Re: Hover cursor outside of GUI

Hi Helgef, may I ask a question? In the script below, when the cursor leaves the GUI, the tooltip says something like "Mouse left gui @ 999749536" What does 999749536 represent? OnMessage(0x200, "OnMouseMove") gui, +hwndguiId ; This doesn't work on 64 bit /* typedef struct tagTRA...
by scriptor2016
04 May 2018, 23:47
Forum: Ask For Help
Topic: Hover cursor outside of GUI
Replies: 9
Views: 256

Re: Hover cursor outside of GUI

Hi Helgef, may I ask a question?


In the script below, when the cursor leaves the GUI, the tooltip says something like "Mouse left gui @ 999749536"

What does 999749536 represent?
by scriptor2016
01 May 2018, 23:58
Forum: Ask For Help
Topic: Hover cursor outside of GUI
Replies: 9
Views: 256

Re: Hover cursor outside of GUI

I've tried playing around with MouseLeave, but haven't had any luck with it. I've shortened the script just to test it out, but when the cursor leaves the GUI, the tooltip doesn't show up: #NoEnv #NoTrayIcon SetBatchLines, -1 Coordmode, Mouse, Screen Gui, +Resize -Caption +AlwaysOnTop -0x30000 -SysM...
by scriptor2016
29 Apr 2018, 15:06
Forum: Ask For Help
Topic: Hover cursor outside of GUI
Replies: 9
Views: 256

Hover cursor outside of GUI

Hi I've made a script with a GUI that requires you to place your cursor inside of it. When you hover your cursor outside of the GUI, it sends a command depending on which side of the GUI you crossed the cursor over. For example if you place the cursor in the middle of the GUI and then move the curso...
by scriptor2016
20 Apr 2018, 00:07
Forum: Ask For Help
Topic: Problem checking previously key Topic is solved
Replies: 7
Views: 135

Re: Problem checking previously key Topic is solved

a little late to the party but this should work as well: ~lbutton:: KeyWait, lbutton, T2 KeyWait, rbutton, T2 D if ErrorLevel = 0 { } else if ErrorLevel = 1 { Return } KeyWait, rbutton, T2 if ErrorLevel = 0 { MsgBox, You Pressed Lbutton, then RButton } else if ErrorLevel = 1 { } return
by scriptor2016
14 Apr 2018, 21:07
Forum: Ask For Help
Topic: List all Notepad++ documents
Replies: 7
Views: 139

Re: List all Notepad++ documents

oh man, thank-you Eureka!! That's exactly what I need!! Wasn't aware it was there
by scriptor2016
14 Apr 2018, 03:37
Forum: Ask For Help
Topic: Need help while sending two keys simultanously Topic is solved
Replies: 4
Views: 87

Re: Need help while sending two keys simultanously Topic is solved

I'm not having that problem - it works fine here.

Try it in Notepad and see if that works.

Also, make sure you are using a wired keyboard (not wireless).. see if that helps you :)

Finally - try changing it to Sleep 100 (or maybe Sleep 150, or Sleep 200, etc) to see if it makes a difference
by scriptor2016
14 Apr 2018, 02:54
Forum: Ask For Help
Topic: List all Notepad++ documents
Replies: 7
Views: 139

Re: List all Notepad++ documents

thanks... let me look into this. My xml is very similar, it does indeed show the tabs which are open upon the most recent launching of Notepad++. I should be able to adjust the regex to get the titles. I'm looking to build a listview which will show all of the tabs currently loaded into Notepad++, a...
by scriptor2016
14 Apr 2018, 02:25
Forum: Ask For Help
Topic: List all Notepad++ documents
Replies: 7
Views: 139

Re: List all Notepad++ documents

the messagebox is blank - but I see where this code is going.


This is very close...
by scriptor2016
14 Apr 2018, 01:45
Forum: Ask For Help
Topic: List all Notepad++ documents
Replies: 7
Views: 139

List all Notepad++ documents

Hi, I'm wondering if anyone knows if it's possible to get a list of all documents (tabs) loaded into Notepad++? I have some code that allows me to get a list of all Photoshop documents using COM, and was hoping I could just adjust the code to do the same in Notepad++, but so far I haven't found any ...
by scriptor2016
07 Apr 2018, 02:02
Forum: Ask For Help
Topic: Anyone having issues retrieving Excel com obj?
Replies: 13
Views: 468

Re: Anyone having issues retrieving Excel com obj?

Ha! It worked! You guys are awesome :) I've been having this problem for years now, and have even inquired about it in the past but I thought it was too rare a problem for anyone to actually know what the problem was. I can now have several versions of Photoshop installed and can use the version num...
by scriptor2016
04 Apr 2018, 08:55
Forum: Ask For Help
Topic: Anyone having issues retrieving Excel com obj?
Replies: 13
Views: 468

Re: Anyone having issues retrieving Excel com obj?

I have the same problem with Photoshop. ComObjActive("Photoshop.Application") works fine when I have just one version of Photoshop installed, but when I install a second version on the same computer (a more recent version, for example), then I get the "Operation Unavailable" erro...
by scriptor2016
24 Mar 2018, 15:03
Forum: Ask For Help
Topic: IfFileExist problems Topic is solved
Replies: 3
Views: 93

Re: IfFileExist problems Topic is solved

You guys came through again - both versions work. Thank-you :)
by scriptor2016
24 Mar 2018, 14:41
Forum: Ask For Help
Topic: IfFileExist problems Topic is solved
Replies: 3
Views: 93

IfFileExist problems Topic is solved

Hi all My code below doesn't work just yet... is this just a simple syntax error? I've tried everything under the sun in terms of the brackets and quotes but nothing gives... If FileExist, ("C:\MyFile.txt") or ("D:\MyFile2.txt") MsgBox, One Or Both Of Them Exist else MsgBox, None...

Go to advanced search