Hello Viktor

Currenly I employ the method below to pull executable path
from compile/link process:

   IF ::lLaunch
      cTmp := ::oOutputResult:oWidget:toPlainText()
      cExe := ""
      IF empty( cExe )
         cTkn := "hbmk2: Linking... "
         IF ( n := at( cTkn, cTmp ) ) > 0
            n1   := hb_at( ".exe", cTmp, n + len( cTkn ) )
            cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4
)
         ENDIF
      ENDIF
      IF empty( cExe )
         cTkn := "hbmk2: Target up to date: "
         IF ( n := at( cTkn, cTmp ) ) > 0
            n1   := hb_at( ".exe", cTmp, n + len( cTkn ) )
            cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4
)
         ENDIF
      ENDIF
      IF empty( cExe )
         cTkn := "-out:"
         IF ( n := at( cTkn, cTmp ) ) > 0
            n1   := hb_at( ".exe", cTmp, n + len( cTkn ) )
            cExe := substr( cTmp, n + len( cTkn ), n1 - n - len( cTkn ) + 4
)
         ENDIF
      ENDIF

Can you provide a uniform token, say,
hbmk2: target path...  [C:\dev_projects\harbour\vouch\vouch.exe]



-----
                 enjoy hbIDEing...
                    Pritpal Bedi 
_a_student_of_software_analysis_&_design_
-- 
View this message in context: 
http://n2.nabble.com/hbMK2-Uniform-token-to-announce-output-file-tp4733528p4733528.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to