Search found 24 matches

by Dougal
01 Feb 2015, 06:00
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Something I'm not understanding about the debugger in SciTE4AutoHotKey. When I step through code, SciTE is made the active window. So any code that is designed to work on some other active window either fails or transmits that action to SciTE (e.g., had a script that sends ALT-F, C to what is suppo...
by Dougal
19 Jan 2015, 19:59
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

So you mean this style? https://github.com/joedf/PlasticCodeWrap/blob/master/SciTE4AutoHotkey/PlasticCodeWrap.style.properties Did you try to replace all the ahk1 with * ? Yep, that is the one. I did make some tweaks, couldn't help myself. :D Changes included using Bitstream Vera Sans Mono instead ...
by Dougal
19 Jan 2015, 06:03
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

My apologies if this has already been discussed, but, rather than work with multiple editors for different languages, I'd like to use Scite4Autohotkey for everything, especially for html. For instance, I took html.properties from the most recent Scite release and placed it in the main folder, but i...
by Dougal
17 Jan 2015, 02:55
Forum: Scripts and Functions
Topic: Args() - Returns command line parameters as array
Replies: 25
Views: 12630

Re: Args() - Returns command line parameters as array

To make it self contained, I now use this function in my library: aGetArgs(bAll := false) { /* Based on code By SKAN, http://goo.gl/JfMNpN, CD:23/Aug/2014 | MD:24/Aug/2014 Modified by Dougal 17Jan15 Returns array of strings, element 0 contains array count Includes commandline parts if bAll = true Ot...
by Dougal
15 Oct 2014, 03:11
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

I decided against hiding items related to editing global properties because people may want to read them as reference. However I'll rename the commands to 'View'. I am glad you chose view rather than hide, as I often use the global properties as hints for what I can put in my user properties. Thank...
by Dougal
13 Oct 2014, 05:24
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

The update doesn't remove the 'Edit global toolbar properties' command, it merely allows you to create a $NODEFTOOLBAR file in order to disable the processing of the global toolbar properties. My bad, I didn't read the request correctly and thought it was to disable the edit option for that file. C...
by Dougal
13 Oct 2014, 04:54
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Download the hotfix I've just released (Right click on Toolbar > Check for updates...), and create an empty $NODEFTOOLBAR file in your SciTE user folder. No big deal, just FYI, I have followed those instructions, but I still get "Edit global toolbar properties" in toolbar context menu. AHK v1.1.15....
by Dougal
13 Oct 2014, 03:08
Forum: Scripts and Functions
Topic: Args() - Returns command line parameters as array
Replies: 25
Views: 12630

Re: Args() - Returns command line parameters as array

SKAN wrote:You need to insert CmdLine := DllCall( "GetCommandLine", "Str" ) just above your following lines and pass CmdLine as parameter to Args().
That fixed it, working beautifully now. Thanks for the help.
by Dougal
17 Sep 2014, 18:43
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06 [Updated August 18 2014]

I have plenty more cool plugins and key binds all setup. I'll work on getting a "debugger" version for SelectRun.ahk .... Maybe I should start a repo... fincs does have support for "extensions" aka plugins... But I failed to make it work.. So I'm currently wrapping my plugins In a neat fashion usin...
by Dougal
16 Sep 2014, 17:33
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06 [Updated August 18 2014]

joedf wrote:Alright, here you go, Joetazz
Just took a 5min to create "SelectRun.ahk" for ya ;)
Any chance of taking another 5 min to make it work with the SciTE4AHK debugger? :D
by Dougal
16 Sep 2014, 17:16
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06 [Updated August 18 2014]

Alright, here you go, Joetazz Just took a 5min to create "SelectRun.ahk" for ya ;) With a toolbar icon, and respects the set platform in scite. Even Im using it right now! :D SelectRun.7z Thanks Joe, I think this will be very handy, but didn't work for me. From the readme, ADD THIS LINE TO "..\Docu...
by Dougal
08 Sep 2014, 15:29
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06 [Updated August 18 2014]

Thanks, learn something everyday. Who da thought underscore would be issue, normally safe in paths, and never heard of having to escape it. I will have to try it out. Edit: I just tested with underscore and still works for me. I changed SciTE.exe folder to C:\Program Files\AutoHotkey\SciTE_3.0.06, d...
by Dougal
08 Sep 2014, 05:22
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 776
Views: 320896

Re: SciTE4AutoHotkey v3.0.06 [Updated August 18 2014]

Thank you Dougal, I actually had and still have this entrys in my registry. The problem was, that I renamed my old installation folder to SciTE_3.0.05.1 and during installation of the new version I've deceided to install in a folder called SciTE_3.0.06.. In registry the path was the correct one wit...
by Dougal
30 Aug 2014, 23:18
Forum: AutoHotkey v2 Development
Topic: RunWait Output of command
Replies: 6
Views: 8208

Re: RunWait Output of command

Just found some weirdness while playing with .exec. When using exec("ipconfig.exe /all"), status doesn't change and console doesn't close untill all StdOut has been read. So using a loop to wait for Status to become 1 before using StdOut.RaedAll() never ends. Using StdOut.ReadAll() inside the loop t...
by Dougal
30 Aug 2014, 22:11
Forum: Ask For Help
Topic: Keeping objShell open to Exec several tasks
Replies: 10
Views: 4393

Re: Keeping objShell open to Exec several tasks

@OP Why are you using Wscript.Shell exec with comspec instead of exiftool directly? I assume it is a console app since you are retrieving StdOut. You could use .exec("exiftool " path) instead of .exec(comspec " /c exiftool " path). AFAIK, the only reason to use comspec is either access to built in c...
by Dougal
30 Aug 2014, 20:06
Forum: Scripts and Functions
Topic: Args() - Returns command line parameters as array
Replies: 25
Views: 12630

Re: Args() - Returns command line parameters as array

When I set "MyParameter" as parameter in SciTE4AHK, %1% returns it, but Args() does not - args[0] is always 2, and Args[1] and Args[2] are C:\Program and Files\AutoHotkey\AutoHotkey.exe respectively. Looking at the script process via Process Explorer, the command line SciTE4AHK runs is "C:\Program F...
by Dougal
30 Aug 2014, 08:35
Forum: Scripts and Functions
Topic: Args() - Returns command line parameters as array
Replies: 25
Views: 12630

Re: Args() - Returns command line parameters as array

joedf wrote:There might be an issue with SciTE4AHK...
Possible. I also find that the parameters set in SciTE4AHK do not get passed to the script when using debugger. I didn't bother trying to run my test script for Args in debug mode for that reason.
by Dougal
30 Aug 2014, 06:53
Forum: Ask For Help
Topic: Keeping objShell open to Exec several tasks
Replies: 10
Views: 4393

Re: Keeping objShell open to Exec several tasks

You can concatenate commands in cmd.exe /c, which will work if you don't have too many commands to run. exiftool = Path to Exiftool Loop, C:\* strCmds .= (strCmds ? " & " : "") """" exiftool """ """ A_LoopFileLongPath """" objShell := ComObjCreate("WScript.Shell") objExec := objShell.Exec(ComSpec " ...
by Dougal
30 Aug 2014, 05:56
Forum: AutoHotkey v2 Development
Topic: RunWait Output of command
Replies: 6
Views: 8208

Re: RunWait Output of command

I wanted same thing (specifically for exit code for multiple robocopy processes) and achieved it via com object using wscript (which is built into most versions of windows). Simple example of use: oWSH := ComObjCreate("WScript.Shell") oApp := oWSH.Exec("Calc.exe") while (oApp.Status = 0) { Sleep, 50...
by Dougal
30 Aug 2014, 05:12
Forum: Scripts and Functions
Topic: Args() - Returns command line parameters as array
Replies: 25
Views: 12630

Re: Args() - Returns command line parameters as array

Do you have a fix for the spaces in program name?

It also isn't returning parameters set in SciTE4AHK.

Go to advanced search