Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-12-2004, 08:48 AM
tdc tdc is online now
Registered User
 
Join Date: 04-01-2003
Posts: 4
Determining if a Step is checked

I am trying to determine if 'Am I Checked' is checked and then set a macro based on the result. This example only works for the current Step. How do I reference 'Am I Checked' in the script?

<?xml version='1.0'?>
<project version='5'>
<step action='Set Macro' type='0'>
<MacroName>test</MacroName>
<checked type='11'>0</checked>
<indent type='3'>1</indent>
<name>Am I Checked</name>
</step>
<step action='Run Script' type='0'>
<Language>VBScript</Language>
<Script>
<![CDATA[set pstep = step
if pstep.checked then
msgbox "set a macro"
else
msgbox "delete a macro"
end if
]]></Script>
<indent type='3'>1</indent>
<name>VBScript</name>
</step>
</project>
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:18 PM.


Copyright © 1999-2023 Kinook Software, Inc.