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 12 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
Rad777

Replies: 138
Views: 18552

PostForum: Scripts & Functions   Posted: Thu Sep 11, 2008 1:12 pm   Subject: Re: A little assistance?
The code below WORKS, and returns the appropriate value inside the code with a msgbox during the WS_Eval:

GetStat = CalcUnits("SELECT COUNT(*) FROM event_list WHERE LoggedBy = '&qu ...
  Topic: Embedded Windows Scripting-VBScript
Rad777

Replies: 1
Views: 77

PostForum: Ask for Help   Posted: Tue Sep 09, 2008 11:14 am   Subject: Embedded Windows Scripting-VBScript
The code below WORKS, and returns the appropriate value inside the code with a msgbox during the WS_Eval:


GetStat = CalcUnits("SELECT COUNT(*) FROM event_list WHERE LoggedBy = ' ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
Rad777

Replies: 138
Views: 18552

PostForum: Scripts & Functions   Posted: Mon Sep 08, 2008 6:18 pm   Subject: A little assistance?
The code below WORKS, and returns the appropriate value inside the code with a msgbox during the WS_Eval:

GetStat = CalcUnits("SELECT COUNT(*) FROM event_list WHERE LoggedBy = '&qu ...
  Topic: Var within Var one works one doesn't
Rad777

Replies: 2
Views: 65

PostForum: Ask for Help   Posted: Tue Jul 22, 2008 2:58 pm   Subject: Var within Var one works one doesn't
I kept testing and found this works, any other methods?
TY

Alarm5 = 111
Alarm6 = 333
Loop,
{
If (Alarm%A_Index%)
{
If ("% Alarm%A_Index% = 111")
Msg ...
  Topic: Var within Var one works one doesn't
Rad777

Replies: 2
Views: 65

PostForum: Ask for Help   Posted: Tue Jul 22, 2008 2:46 pm   Subject: Var within Var one works one doesn't
Alarm5 = 111
Loop,
{
If (Alarm%A_Index%)
MsgBox, % Alarm%A_Index%
}

The above works fine
However, if I want to reference % Alarm%A_Index% in a if/else statement how in the ...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
Rad777

Replies: 138
Views: 18552

PostForum: Scripts & Functions   Posted: Thu May 29, 2008 2:21 pm   Subject: Embedded Windows Scripting (VBScript & JScript) and COM
With a quick glance I see the problem of using the WScript object. The WScript object is unfortunately only available to scripts (vbs or js) that are run by the wscript.exe or cscript.exe programs.
...
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
Rad777

Replies: 138
Views: 18552

PostForum: Scripts & Functions   Posted: Tue May 27, 2008 6:32 pm   Subject: Could anyone convert this to get me started?

; Public Function GetSource(screen, x1, y1, x2, y2)
Dim selectionArea, HostObj
Set HostObj = WScript.CreateObject("HostExplorer").Hosts(screen)
Set selectionA ...
  Topic: An Advanced Technique.
Rad777

Replies: 91
Views: 43516

PostForum: Scripts & Functions   Posted: Mon Sep 10, 2007 7:06 pm   Subject: An Advanced Technique.
I tried using SendMessage without success.

What is the errorlevel received ? Rolling Eyes

If I use the specific HWND:
SendMessage, 0x111, 5005, 0, , ahk_id %0x00050300%
I get an error level of &qu ...
  Topic: An Advanced Technique.
Rad777

Replies: 91
Views: 43516

PostForum: Scripts & Functions   Posted: Fri Aug 31, 2007 7:18 pm   Subject: An Advanced Technique.

In winspector there is a column after the time with (P) and (S) when I am getting messages for WM_Command

I got the (P) messages to work fine... but The ones that have a preceding (S) I cannot g ...
  Topic: An Advanced Technique.
Rad777

Replies: 91
Views: 43516

PostForum: Scripts & Functions   Posted: Mon Aug 27, 2007 4:14 pm   Subject: An Advanced Technique.
In winspector there is a column after the time with (P) and (S) when I am getting messages for WM_Command

I got the (P) messages to work fine... but The ones that have a preceding (S) I cannot get ...
  Topic: Assistance with WinTitle & sending specific keys per tit
Rad777

Replies: 2
Views: 173

PostForum: Ask for Help   Posted: Sun Jul 15, 2007 12:02 pm   Subject: Assistance with WinTitle & sending specific keys per tit
TY, I will check those out!!!
  Topic: Assistance with WinTitle & sending specific keys per tit
Rad777

Replies: 2
Views: 173

PostForum: Ask for Help   Posted: Sat Jul 14, 2007 3:44 pm   Subject: Assistance with WinTitle & sending specific keys per tit
I have yet to figure out how to check a list for titles of Window and act on a specific title if it exists. Basically I want to shorten my code below, it repeats "If CurrentTitle =" 10+ . An ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group