|
|
Screen grab to castmember
Added on 10/2/2000
|
Compatibilities:
Required Xtras:
Buddy API
|
This item has not yet been rated
|
No screen capture Xtras here. If you want to put a screen capture into a cast member then just do this...
screenGrabToMember(whatMember, whatCastlib)
Be careful that you do not overwrite another member in the process.
on screenGrabToMember whatMember, whatCastlib
baCopyText("a")
pasteclipboardinto member(whatmember,whatcastlib)
baSendKeys( "@{PRTSC}" )
baWaitForWindow( baWinHandle() , "active" , 0 )
--repeat while member(whatMember,whatCastLib).type <> #bitmap
pasteclipboardinto member(whatmember,whatcastlib)
--end repeat
baCopyText("a")
end
on getBehaviorDescription me
describe = "No screen capture Xtras here. If you want to put a screen capture into a cast member then just do this..." & return & "screenGrabToMember(whatMember, whatCastlib)" & return & "Be careful that you do not overwrite another member in the process."
return describe
end
|
|