Search found 26 matches

by XeroByte
18 Nov 2018, 06:04
Forum: Ask for Help (v1)
Topic: Executing JavaScript in Firefox address bar
Replies: 8
Views: 3771

Re: Executing JavaScript in Firefox address bar

Hey ahk7, I have seen that article and I suggest you give that solution a shot yourself. I think you'll find that Firefox still doesn't allow javascript to execute directly from the address bar. I know I have already tried it on two computers running version 63.0.1, and flipping that setting hasn't ...
by XeroByte
18 Nov 2018, 02:05
Forum: Ask for Help (v1)
Topic: Executing JavaScript in Firefox address bar
Replies: 8
Views: 3771

Re: Executing JavaScript in Firefox address bar

Thank you @peter47! Your solution led me to a similar solution that essentially brings back running any arbitrary JS code from the address bar. Here is what I got: Set up a Bookmark with the location: javascript:%s and set the keyword for that bookmark as: javascript Now you can run Javascript from ...
by XeroByte
11 Mar 2018, 07:57
Forum: Ask for Help (v1)
Topic: Run and Read Powershell from AHK
Replies: 6
Views: 3810

Re: Run and Read Powershell from AHK

I think it's worth dredging up this 'old' thread. I'm also looking for a way do the exact same thing as @Thalon. Using almost the same code to @Thalon's I can run multiple lines of powershell code directly through the shell object, however I'm not happy with this - I feel like there is absolutely a ...
by XeroByte
15 Nov 2017, 18:48
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

Hi All, Sorry it's been so long.

I've attempted to tackle this issue a few times now but couldn't come up a reasonable solution. I think this will take a near complete rewrite (probably involving splitting up the different coding styles and dealing with them individually).
by XeroByte
24 Jul 2017, 19:05
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

Could you try with my original file zipped here? http://www.jeanlalonde.ca/temp/QuickAccessPopup-Source.zip. Hey Jean, My apologies - looks like I jumped to the wrong conclusion there. I got a bit excited when I saw just the LF, so i didn't investigate any further. I've inspected it a bit closer no...
by XeroByte
23 Jul 2017, 23:57
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

@XeroByte: If you offer to debug using my script, here is the source file: https://raw.githubusercontent.com/JnLlnd/QuickAccessPopup/master/QuickAccessPopup.ahk The main problem I found is that in your file the lines all end in just the LF character rather than CR + LF. This interferes with the 'be...
by XeroByte
20 Jul 2017, 22:32
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

I will insert debugging code in your script and try to see if I can find what is happening. If it's a RegEx issue (which it sounds like it may be) then I'm not sure that debugging code will help. I guess you probably don't want to send me your real-life script with all its 15K lines - but if you di...
by XeroByte
20 Jul 2017, 17:50
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

Thanks. I tried with both formats (your is 1 and mine is 2) and only labels get indexed in user.ahk.api, no function. ; comments on 1 Test1Function() { } Test2Function() ; comments on 2 { } I can't think why you're having this issue. Could you please try run the function on a .ahk file that only ha...
by XeroByte
20 Jul 2017, 08:46
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

Hi All, I haven't cleaned this up at all yet - I intend on phasing out the use of Poly's grep() function in favor of the RegExMatchGlobal() function by JustMe. I have really limited time, so I apologise that I haven't tested this fully and I haven't released a proper blurb on everything - there are ...
by XeroByte
18 Jul 2017, 15:52
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

Any update on this? No pressure :-) I'm so sorry Jean, life & work have been getting in the way. Thanks for the gentle push :-) I am committed to doing this, but I apologise if it takes a bit longer. I did insert the Regex, it required a bit of code rewriting - there are still a few things that I'm...
by XeroByte
04 Jul 2017, 09:15
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

Just wanted to give a quick update. I've put together a new RegEx string to find function definitions and their surrounding comments that should allow for additional coding styles including the examples Jean brought to my attention plus comments immediately prior to a function definition. Now I just...
by XeroByte
26 Jun 2017, 22:42
Forum: Ask for Help (v1)
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 8486

Re: SciTE4ahk custom intellisense generator follow-up

Hey Jean, Thanks for the PM. Wow, thanks for pointing out that my script has been featured. Honestly i'm a bit shocked :shock: I wrote this quite a long time ago and I don't think I've made any major edits to it since I posted it. I still heavily rely on it, so I'm really excited to see that other p...
by XeroByte
08 May 2017, 05:44
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

@GEV To this problem, I know of no solution. I rarely open notepad.exe and go to 'File > Open' and choose a file. I also rarely open files like that - but I'm extremely hesitant to use a script that only works some of the time depending on how the user opened a file. Also (more importantly) I just r...
by XeroByte
07 May 2017, 07:03
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

Hey @GEV Nice bit of code there, but unfortunately it doesn't quite achieve the goal here. What your script does is get the path of the file that notepad.exe was launched with (if any). If a user opens notepad.exe and goes to 'File > Open' and chooses a file that way then your script will return bla...
by XeroByte
03 May 2017, 07:36
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

Just a little tip (not that you really need tips from a n00b like me): Your gobetween function is pretty cool, but I believe that you could do this more efficiently and without using an extra .ahk file. Something like this: JEE_NotepadGetPathGoBetween(hWnd){ hWnd += 0 vPath := Run_AHK_x64("FileAppen...
by XeroByte
01 May 2017, 05:50
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

I tried directly with AHK x64 and finally had some success!
AHK x64 worked to notepad x64 but not to notepad x32

I would love to see this working on AHK x32 with both x32 and x64 notepad (without needing the clever-but-messy AHK x64 gobetween).
by XeroByte
29 Apr 2017, 07:31
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

Thank you for all your attempts @jeeswg Unfortunately still no joy with either of your most recent options - tried with both the 32bit and 64bit notepad.exe :( The one thing I haven't tried is x64 ahk. If I would have to resort to that to make the script work then I'd actually just rather use your f...
by XeroByte
26 Apr 2017, 06:24
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

Unfortunately I'm still getting a blank string returned even with your new code :( I've tried searching for those memory regions, but they don't seem to exist for me. I looked at all the entries containing C:\Windows\System32\notepad.exe and the one entry that was C:\Windows\SysWOW64\notepad.exe, al...
by XeroByte
25 Apr 2017, 06:36
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

Thanks @jeeswg for the explanation and the fallback method. I've never used Process Hacker before but it looks like a useful tool so thanks for that. I looked through all the entries in the notepad.exe process in the memory tab but i got a bit lost there.... I opened up the hex display for all every...
by XeroByte
24 Apr 2017, 05:18
Forum: Scripts and Functions (v1)
Topic: notepad get/set path (get/set text file path)
Replies: 27
Views: 12596

Re: notepad get/set path (get/set text file path)

I'd all but given up on retrieving the path of an open notepad file, I'm glad to see it's possible. Unfortunately it doesn't seem to work on my system Win10 x64 running latest ahk version I get a blank string for the path, and since this code is beyond me I don't really know where to start with debu...

Go to advanced search