TheMinerActionEnum options/examples

24 views
Skip to first unread message

felix17

unread,
Sep 15, 2012, 1:44:36 AM9/15/12
to soci...@googlegroups.com
Hi JP,
 
First off, thanks for continuing to support this great product!
I was just wondering if you could post some examples for using TheMinerActionEnum. The toggle options work fine, but I am just trying to start samples and then save them to clipboard (equivalent to manually clicking "Start Recording Samples" and then "Save Samples in Clipboard". (It's not possible for me to manually click the small buttons while testing on mobile, due to the size and limitations of clicking on a small button).
 
I've tried numerous permutations of:
 

TheMiner.Do(TheMinerActionEnum.LISTEN_SAMPLES_START);

TheMiner.Do(TheMinerActionEnum.LISTEN_SAMPLES_STOP);

TheMiner.Do(TheMinerActionEnum.DUMP_SAMPLES_START);

TheMiner.Do(TheMinerActionEnum.DUMP_SAMPLES_STOP);

to find a combination that pastes something to the clipboard, but nothing does.

 

Thanks!

Jean-Philippe Auclair

unread,
Sep 15, 2012, 8:56:48 AM9/15/12
to soci...@googlegroups.com
CopyToClipboard requires (security reason) a mouse event trigger.

But you have two choices here:
- Try to do is scale TheMiner interface to be able to click on it.
- Use the command pipe-line to save a string (not to clipboard) and manually save it after using your own clipboard management or file saving.

TheMiner.Do(TheMinerActionEnum.DUMP_SAMPLES_START);

var vFullDump:String = TheMiner.Do(TheMinerActionEnum.DUMP_SAMPLES_STOP);


Thanks for using TheMiner. I hope you find it very useful!


2012/9/15 felix17 <ste...@gmail.com>

Jean-Philippe Auclair

unread,
Sep 15, 2012, 9:00:13 AM9/15/12
to soci...@googlegroups.com
By the way, the same is true to do data snapshots of the profiliers screens

var vMemSnapshot:String =  TheMiner.Do(TheMinerActionEnum.TAKE_MEMORY_SNAPSHOT)
var vPerfSnapshot:String =  TheMiner.Do(TheMinerActionEnum.TAKE_PERFORMANCE_SNAPSHOT)

Regards,
jpauclair

2012/9/15 Jean-Philippe Auclair <aucla...@gmail.com>
Reply all
Reply to author
Forward
0 new messages