| Author |
Message |
Forum: Scripts Topic: AnimateWindow - DllCall Test Script with Code Generator |
| IN2ITive |
|
Posted: June 30th, 2008, 3:00 am
|
|
Replies: 7 Views: 2887
|
| 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 hopefully I will be able to take a look at implementing this. Just gives the user "cooler" features... |
|
 |
Forum: Support Topic: How to Close Command Prompt Window Started by script? |
| IN2ITive |
|
Posted: June 7th, 2008, 6:35 pm
|
|
Replies: 8 Views: 4379
|
| 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 #SingleInstance force #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMo... |
|
 |
Forum: Support Topic: How to Close Command Prompt Window Started by script? |
| IN2ITive |
|
Posted: June 7th, 2008, 3:25 am
|
|
Replies: 8 Views: 4379
|
| 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 the SHUTDOWN parameter it reads the file and then tries to close that process, but that doesn't work either... |
|
 |
Forum: Support Topic: How to Close Command Prompt Window Started by script? |
| IN2ITive |
|
Posted: June 6th, 2008, 10:39 pm
|
|
Replies: 8 Views: 4379
|
| Thanks for the reply enguneer...but I tried that as well. No such luck for me. |
|
 |
Forum: Support Topic: How to Close Command Prompt Window Started by script? |
| IN2ITive |
|
Posted: June 6th, 2008, 10:36 pm
|
|
Replies: 8 Views: 4379
|
| 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 Process ID (PID). The variable will be made blank if the PID could not be determined, which usually h... |
|
 |
Forum: Support Topic: How to Close Command Prompt Window Started by script? |
| IN2ITive |
|
Posted: June 6th, 2008, 10:04 pm
|
|
Replies: 8 Views: 4379
|
| 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 simply runs a batch file...the batch file loops until stopped. What I was hoping was to pass in a "SHUTDOWN... |
|
 |
Forum: Offtopic Topic: Thank you, AutoHotkey |
| IN2ITive |
|
Posted: June 1st, 2008, 5:22 am
|
|
Replies: 2 Views: 594
|
| I feel the same way...although I have seen "knowing about AHK" being detrimental to my work time :) Since learning about AHK I have been able to modify the existing Expose-Clone utility here to fit our needs as a monitoring station of our virtual machines, create an automatic application b... |
|
 |
Forum: Support Topic: Issue With GUI not Responding/Monitoring Folder Issue |
| IN2ITive |
|
Posted: May 31st, 2008, 7:08 pm
|
|
Replies: 4 Views: 510
|
| 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 AHK is that AHK is single threaded and ReadDirectoryChangesW can halt/freeze every other operation when... |
|
 |
Forum: Support Topic: Issue With GUI not Responding/Monitoring Folder Issue |
| IN2ITive |
|
Posted: May 31st, 2008, 6:32 pm
|
|
Replies: 4 Views: 510
|
| 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 create a critical thread at the beginning of my script, and then before executing the vbscript code create an... |
|
 |
Forum: Support Topic: Issue With GUI not Responding/Monitoring Folder Issue |
| IN2ITive |
|
Posted: May 30th, 2008, 7:47 pm
|
|
Replies: 4 Views: 510
|
| 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 that the GUI does not respond to user actions while the script is running, obviously due to the fact that... |
|
 |
Forum: Scripts Topic: Embedded Windows Scripting (VBScript & JScript) and COM |
| IN2ITive |
|
Posted: May 30th, 2008, 2:12 am
|
|
Replies: 231 Views: 61991
|
| As you can see, still a newbie! Thanks for the code Eric and thanks for the explanation Tank. It is working! :D ...except for one issue... Because we removed the loop (the "Do While TRUE" loop), if there is 5 new files detected it actually only sends one. If we place the loop back in the c... |
|
 |
Forum: Scripts Topic: Embedded Windows Scripting (VBScript & JScript) and COM |
| IN2ITive |
|
Posted: May 29th, 2008, 3:45 pm
|
|
Replies: 231 Views: 61991
|
| 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 = contents = Then I have this code, which seems to execute properly (I get the message box with the "."... |
|
 |
Forum: Scripts Topic: Embedded Windows Scripting (VBScript & JScript) and COM |
| IN2ITive |
|
Posted: May 29th, 2008, 2:44 am
|
|
Replies: 231 Views: 61991
|
| I think you are right...this runs with no errors but almost immediately exits... ; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Template script (you can customize this template by editing "ShellNew\Templa... |
|
 |
Forum: Scripts Topic: Embedded Windows Scripting (VBScript & JScript) and COM |
| IN2ITive |
|
Posted: May 28th, 2008, 8:21 pm
|
|
Replies: 231 Views: 61991
|
| 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 object reference) to another vbcode section? WS_Initialize("VBScript") initcode= ( Se... |
|
 |
Forum: Scripts Topic: Embedded Windows Scripting (VBScript & JScript) and COM |
| IN2ITive |
|
Posted: May 28th, 2008, 6:16 pm
|
|
Replies: 231 Views: 61991
|
| 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 for informational purposes but if you were to use this script you would need to have the ActiveExperts so... |
|
 |
| Sort by: |