[futurebasic] Handle to Container ?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2010 : Group Archive : Group : All Groups

From: Steve <mactech@...>
Date: Tue, 07 Dec 2010 19:30:17 -0500
I am using this below which returns a Handle.


dim as Handle ASResultH

ASResultH = fn AppleScriptGetResult

How do I placed the results of the Handle into a container?    

Previously it was placed into a TEHANDLE and was extracted from that using

resultH = fn AppleScriptGetResult

long if resultH
call TESetText([resultH],fn GetHandleSize( resultH ), tehandle( 1 ))
call DisposeHandle( resultH )
End if


Container  = &teH..hText

I would then parse the container to obtain the return results from the AppleScript call.

thanks

Steve