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 47 matches
AutoHotkey Community Forum Index
Author Message
  Topic: AnimateWindow - DllCall Test Script with Code Generator
IN2ITive

Replies: 6
Views: 360

PostForum: Scripts & Functions   Posted: Mon Jun 30, 2008 3:00 am   Subject: AnimateWindow - DllCall Test Script with Code Generator
Infogulch...cool idea!

While the Vista issue doesn't affect me yet, I would love to see this functionality implemented into the Expose Clone by holomind. I don't have much time right now but hopef ...
  Topic: How to Close Command Prompt Window Started by script?
IN2ITive

Replies: 8
Views: 439

PostForum: Ask for Help   Posted: Sat Jun 07, 2008 6:35 pm   Subject: How to Close Command Prompt Window Started by script?
OK, figured it out...process close wasn't working but winclose does for my example. Here is the code that works for me.

Thanks for giving me a push in the right direction.

#Persistent
#SingleI ...
  Topic: How to Close Command Prompt Window Started by script?
IN2ITive

Replies: 8
Views: 439

PostForum: Ask for Help   Posted: Sat Jun 07, 2008 3:25 am   Subject: How to Close Command Prompt Window Started by script?
This is where I think there is a problem; the batch file continuiously monitors a folder, so it is constantly running.

I tried the following, which simpy writes a temp file and then when I use th ...
  Topic: How to Close Command Prompt Window Started by script?
IN2ITive

Replies: 8
Views: 439

PostForum: Ask for Help   Posted: Fri Jun 06, 2008 10:39 pm   Subject: How to Close Command Prompt Window Started by script?
Thanks for the reply enguneer...but I tried that as well. No such luck for me.
  Topic: How to Close Command Prompt Window Started by script?
IN2ITive

Replies: 8
Views: 439

PostForum: Ask for Help   Posted: Fri Jun 06, 2008 10:36 pm   Subject: How to Close Command Prompt Window Started by script?
The problem though is that with Runwait I didn't think I could get the process ID unless I did it in a seperate thread.
The name of the variable in which to store the newly launched program's unique ...
  Topic: How to Close Command Prompt Window Started by script?
IN2ITive

Replies: 8
Views: 439

PostForum: Ask for Help   Posted: Fri Jun 06, 2008 10:04 pm   Subject: How to Close Command Prompt Window Started by script?
Hi:

I have a simple script (compiled) that runs perfectly...except for one area. Sometimes I will need to shutdown via a command line so I thought using a parameter would work.

The script sim ...
  Topic: Thank you, AutoHotkey
IN2ITive

Replies: 2
Views: 192

PostForum: General Chat   Posted: Sun Jun 01, 2008 5:22 am   Subject: Thank you, AutoHotkey
I feel the same way...although I have seen "knowing about AHK" being detrimental to my work time Smile

Since learning about AHK I have been able to modify the existing Expose-Clone utility h ...
  Topic: Issue With GUI not Responding/Monitoring Folder Issue
IN2ITive

Replies: 4
Views: 156

PostForum: Ask for Help   Posted: Sat May 31, 2008 7:08 pm   Subject: Issue With GUI not Responding/Monitoring Folder Issue
OK, I think I got what you are saying Krogdor. Thanks for being patient. I also re-read the FolderSpy thread and it is even pointed out in the first post that:
The problem with synchronous mode in ...
  Topic: Issue With GUI not Responding/Monitoring Folder Issue
IN2ITive

Replies: 4
Views: 156

PostForum: Ask for Help   Posted: Sat May 31, 2008 6:32 pm   Subject: Issue With GUI not Responding/Monitoring Folder Issue
Thanks Krogdor...didn't think of that but after reading about Critical I don't know if it will help me (probably because I have a lack of experience with threading).

I don't know if I should crea ...
  Topic: Issue With GUI not Responding/Monitoring Folder Issue
IN2ITive

Replies: 4
Views: 156

PostForum: Ask for Help   Posted: Fri May 30, 2008 7:47 pm   Subject: Issue With GUI not Responding/Monitoring Folder Issue
Hi:

This script simply monitors a folder for new files. If a new file is detected then its contents are sent to a server for processing. That functionality works fine. The problem I am having is ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
IN2ITive

Replies: 97
Views: 12759

PostForum: Scripts & Functions   Posted: Fri May 30, 2008 2:12 am   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
As you can see, still a newbie! Thanks for the code Eric and thanks for the explanation Tank. It is working! Very Happy

...except for one issue...

Because we removed the loop (the "Do While TRU ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
IN2ITive

Replies: 97
Views: 12759

PostForum: Scripts & Functions   Posted: Thu May 29, 2008 3:45 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
OK, think i get what you are saying (still very ripe behind the ahk ears)...

So, I have these variables to persist through the script:
objTcp =
objConstants =
strComputer =
objWMIService =
...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
IN2ITive

Replies: 97
Views: 12759

PostForum: Scripts & Functions   Posted: Thu May 29, 2008 2:44 am   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
I think you are right...this runs with no errors but almost immediately exits...


;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
IN2ITive

Replies: 97
Views: 12759

PostForum: Scripts & Functions   Posted: Wed May 28, 2008 8:21 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
Doh!

I spoke to soon. The data is not being sent to the server, mainly because objTCP doesn't have scope in the second vbscript code segment. Is there a way to pass a value (or in this case an ob ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
IN2ITive

Replies: 97
Views: 12759

PostForum: Scripts & Functions   Posted: Wed May 28, 2008 6:16 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
OK, I was able to get the include file and Eric's solution was correct.

So, now I have a folderlistener that will send any new files in the folder to a server for processing. Note...just posting ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group