AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 42 matches
AutoHotkey Community Forum Index
Author Message
  Topic: invoking other ahk scripts and exes cleanly
Stanley Krute

Replies: 6
Views: 238

PostForum: Ask for Help   Posted: Sat Sep 18, 2010 6:33 am   Subject: invoking other ahk scripts and exes cleanly
Thanks Guest for the straightforward answers. Much appreciated.
  Topic: invoking other ahk scripts and exes cleanly
Stanley Krute

Replies: 6
Views: 238

PostForum: Ask for Help   Posted: Sat Sep 18, 2010 6:30 am   Subject: invoking other ahk scripts and exes cleanly
There are many ways to help others learn. There are many ways to win friends and influence people.

Kind, polite, patient responses are my own mode. Others may choose otherwise. I'll never know why ...
  Topic: invoking other ahk scripts and exes cleanly
Stanley Krute

Replies: 6
Views: 238

PostForum: Ask for Help   Posted: Fri Sep 17, 2010 10:20 pm   Subject: Re: invoking other ahk scripts and exes cleanly
Oh and maybe RTFM .... would also help Rolling Eyes

I have. It's not clear on these issues; if it were, I would not have posed my set of questions.

A minor note as regards the tone of your response:
...
  Topic: invoking other ahk scripts and exes cleanly
Stanley Krute

Replies: 6
Views: 238

PostForum: Ask for Help   Posted: Fri Sep 17, 2010 7:53 pm   Subject: invoking other ahk scripts and exes cleanly
I'd like to call one or more ahk scripts from a running ahk script.

I'd like to be able to start and exit the called scripts. I'd like to be able to invoke any of their hotkeyed-functions.

I'd ...
  Topic: debugging w/ AutoHotkey_L, DBGp, and Notepad++
Stanley Krute

Replies: 13
Views: 1629

PostForum: Ask for Help   Posted: Mon Jan 04, 2010 7:42 pm   Subject: debugging w/ AutoHotkey_L, DBGp, and Notepad++
There's a step I missed when writing the instructions:

Go to Plugins, DBGp, Config... and setup file mapping. If you will be running Notepad++ and AutoHotkey on the same system (i.e. not debugging ...
  Topic: debugging w/ AutoHotkey_L, DBGp, and Notepad++
Stanley Krute

Replies: 13
Views: 1629

PostForum: Ask for Help   Posted: Mon Jan 04, 2010 2:01 am   Subject: debugging w/ AutoHotkey_L, DBGp, and Notepad++
Howdy

I followed these instructions to set this up:

Usage:

* Launch Notepad++.
* Show the debugger pane via the toolbar or Plugins, DBGp, Debugger.
* Open the script file to be ...
  Topic: appending a string to GUI Edit control -- newline issue
Stanley Krute

Replies: 11
Views: 1344

PostForum: Ask for Help   Posted: Mon Nov 23, 2009 6:20 am   Subject: appending a string to GUI Edit control -- newline issue
Oh I've had fun today exploring this.

One path ate up a bunch of time, ultimately wasn't optimal, but taught me a lot. I implemented a general stack functionality. Then, if I append a string to my ...
  Topic: appending a string to GUI Edit control -- newline issue
Stanley Krute

Replies: 11
Views: 1344

PostForum: Ask for Help   Posted: Sun Nov 22, 2009 11:58 pm   Subject: appending a string to GUI Edit control -- newline issue

I've always appended text this way; but the annoying thing is that this moves the cursor to the beginning of the control, so EditPaste has it beat in that respect too.string1 = line1`nline2`nline3`n ...
  Topic: appending a string to GUI Edit control -- newline issue
Stanley Krute

Replies: 11
Views: 1344

PostForum: Ask for Help   Posted: Sun Nov 22, 2009 5:01 pm   Subject: appending a string to GUI Edit control -- newline issue
When working with AHK GUI's Inside your own code.. You really should not use 'Control'

Could you or someone else elaborate on this ? e.g., why this really should not be done ??

thx

== noob s ...
  Topic: appending a string to GUI Edit control -- newline issue
Stanley Krute

Replies: 11
Views: 1344

PostForum: Ask for Help   Posted: Sun Nov 22, 2009 4:59 pm   Subject: appending a string to GUI Edit control -- newline issue
It works for me.string = line1`nline2`nline3`nline4`nline5
StringReplace, string, string, `n, `r`n, All

Gui, Add, Edit, r10 w200
Gui, Show

Sleep,1500
Control, EditPaste, %string%, Edit1, A
...
  Topic: appending a string to GUI Edit control -- newline issue
Stanley Krute

Replies: 11
Views: 1344

PostForum: Ask for Help   Posted: Sun Nov 22, 2009 3:46 pm   Subject: Re: appending a string to GUI Edit control -- newline issue
GuiControl does not have an EditPaste subcommand. I'm about to put it on the Wish List.
That would solve this particular issue quite nicely !
  Topic: appending a string to GUI Edit control -- newline issue
Stanley Krute

Replies: 11
Views: 1344

PostForum: Ask for Help   Posted: Sun Nov 22, 2009 2:15 am   Subject: appending a string to GUI Edit control -- newline issue
I want to append a string containing newline chars (`n) to an AHK GUI Edit control. I want each of those chars to trigger a new line.

If I write a string using this code

Control, EditPaste, %som ...
  Topic: moving insertion cursor in GUI edit control
Stanley Krute

Replies: 3
Views: 289

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 10:11 pm   Subject: moving insertion cursor in GUI edit control
The simplest way is to just send (or ControlSend to be more reliable) keys. You can use the arrows to move one character at a time, and also the {Home}, {PgUp}, {PgDn}, and {End} keys.

Aha !! That ...
  Topic: moving insertion cursor in GUI edit control
Stanley Krute

Replies: 3
Views: 289

PostForum: Ask for Help   Posted: Sat Nov 21, 2009 8:26 pm   Subject: moving insertion cursor in GUI edit control
I have an Edit control in a GUI.

I want to move the insertion cursor around in it.

Specifically, right now, I'd like to at least be able to move it to the end (bottom) of the Edit control's tex ...
  Topic: sweet&simple debugging message templates
Stanley Krute

Replies: 5
Views: 914

PostForum: Scripts & Functions   Posted: Sat Nov 21, 2009 8:02 pm   Subject: sweet&simple debugging message templates
Here's a variant of the above, but this template's for multiple vars:

if 0 ; set to 1 to debug
{
scratch := ""
scratch := scratch . "Put_Some_Var_Name_Here& ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group