Thread: Laststep_output
View Single Post
  #6  
Old 02-26-2008, 02:21 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
Thanks, I am now using the Set object to macro functions in both situations based on the info you sent me.

This is just a sample:

Dim objAppName, objSearchString

'Set varibles
Set objAppName = Application.Macros(vbldMacroTemporary).Item("TMP_A PP_NAME")
Set objSearchString = Application.Macros(vbldMacroSystem).Item("LASTSTEP _OUTPUT")

'Search through last output.
If InStr(1,UCase(objSearchString.Value), UCase(objAppName.Value)) > 0 Then
Application.Macros(vbldMacroTemporary).add "TMP_UNINSTALL_CHECK", "TRUE"
End If

This seems to work in both script actions and events, unless theres something Im missing.
Reply With Quote