Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: bighalo
Forum: Scripting 03-08-2018, 07:21 AM
Replies: 7
Views: 3,149
Posted By bighalo
another problem. result =...

another problem.

result = crt.Dialog.MessageBox("gotcha","gotcha", ICON_STOP Or BUTTON_OK Or DEFBUTTON1 )
MsgBox "result=" & result
if result = IDOK then
MsgBox "About to exit Main()...
Forum: Scripting 03-08-2018, 06:46 AM
Replies: 7
Views: 3,149
Posted By bighalo
I find out the root cause. I made a stupid...

I find out the root cause.
I made a stupid mistake.

result = crt.Dialog.MessageBox("gotcha","gotcha", ICON_STOP Or BUTTON_OK Or DEFBUTTON1 )
if result = IDNO then
exit sub
end if

if result...
Forum: Scripting 03-06-2018, 11:35 PM
Replies: 7
Views: 3,149
Posted By bighalo
#$language = "VBScript" #$interface = "1.0" ...

#$language = "VBScript"
#$interface = "1.0"

g_vWaitFors = Array("Waiting for 1", "Waiting for 2")

'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub Main()
...
Forum: Scripting 03-06-2018, 01:27 AM
Replies: 7
Views: 3,149
Posted By bighalo
Post how to end or exit the running script

I wrote a vbs:

sub main()
...

do
nIndex = objTab.Screen.WaitForStrings(g_vWaitFors)
if nIndex = 1 then
...
<do something>
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -6. The time now is 12:56 PM.