AutoHotkey Community

It is currently May 27th, 2012, 11:54 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: September 17th, 2010, 8:53 pm 
Offline

Joined: July 30th, 2005, 3:49 pm
Posts: 42
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 like techniques that work with compiled script .exes as well.

I'd like the called-on scripts/exes to be able, in turn, to invoke other ahk scripts and exes.

Is all of that possible ?? Is there a set of guidelines for doing such stuff in a manner which is

a. clean
b. robust
c. relatively future-proof

thx

-- stan


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 17th, 2010, 9:58 pm 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
Stanley Krute wrote:
a. clean
b. robust
c. relatively future-proof
This stuff works wonders and is ka-leen!:
Image
:P
Oh and maybe RTFM and posting your own code would also help :roll:

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 17th, 2010, 11:20 pm 
Offline

Joined: July 30th, 2005, 3:49 pm
Posts: 42
TLM wrote:
Stanley Krute wrote:
Oh and maybe RTFM .... would also help :roll:


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:

I've taught and learned for many years.

It's never occurred to me that answering a question with insults is a useful scheme for building a thriving community of learners.

Perhaps if one has nothing to contribute as regards a particular specific question one should consider silence ?

Cheers

-=- stanley krute


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2010, 12:11 am 
I'd like to call one or more ahk scripts from a running ahk script.
use Run

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.
use Run and WinClose/WinKill/Process

I'd like techniques that work with compiled script .exes as well.
Run command works with scripts and exe

I'd like the called-on scripts/exes to be able, in turn, to invoke other ahk scripts and exes.
you can use INIread and INIwrite to communicate between the ahk scripts/exe


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2010, 12:20 am 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6074
Location: San Diego, California
[quote="Stanley Krute"]

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

Those questions are typically of someone making a quick evaluation if the language, or questions given in a lecture.

Since your prior post didn't explicitly state that you had already searched,
the correct answer to someone who has these level questions >IS< to read. (in a civil tone)

However

You joined the forum in july of 2005. In that time you have made 38 other posts.
Some of the posts were asking questions, others were giving advice.
According to the feedback, some of the advice was much appreciated.

Then you ask the questions in your previous post.

A don't know if TLM reviewed your history before responding;
but given your knowledge level, his answer is well put.

Your chastisement is unfounded.

You also don't know know how to edit a quoted reply properly. :roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2010, 7:30 am 
Offline

Joined: July 30th, 2005, 3:49 pm
Posts: 42
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, but so it goes.

cheers

Stan


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2010, 7:33 am 
Offline

Joined: July 30th, 2005, 3:49 pm
Posts: 42
Thanks Guest for the straightforward answers. Much appreciated.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group