function getCurrentTool(){var _0x1615C="";try{_0x1615C= ldGetSelectionType()}catch(e){$.writeln("\x45\x58\x43\x45\x50\x54\x49\x4F\x4E\x3A\x20",e)};return _0x1615C}function ldGetSelectionType(){var _0x1615C="\x4E\x6F\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E";var _0x17368=app.project.activeSequence;try{if(_0x17368){_0x1615C= _0x17368.constructor.name}else {_0x1615C= "\x55\x6E\x73\x75\x70\x70\x6F\x72\x74\x65\x64"}}catch(e){$.writeln("\x45\x58\x43\x45\x50\x54\x49\x4F\x4E\x3A\x20",e)};return _0x1615C}function test(_0x17FDE){$.writeln("\x74\x65\x73\x74\x2E\x2E\x2E\x2E");return "\x31\x30"}function PpGetPlayerPosition(){var _0x1615C="";app.enableQE();var _0x175D0=qe.project.getActiveSequence();var _0x175E6=app.project.activeSequence.end- app.project.activeSequence.zeroPoint;var _0x175BA=_0x175D0.videoFrameRate;if(_0x175D0!= null){_0x1615C= _0x175D0.CTI.ticks+ "\x2C"+ _0x175E6+ "\x2C"+ _0x175BA}else {$.write("\x41\x63\x74\x69\x76\x65\x20\x53\x65\x71\x75\x65\x6E\x63\x65\x20\x72\x65\x71\x75\x69\x72\x65\x64\x2E")};return _0x1615C}function PpSetPlayerPosition(_0x17612){app.enableQE();var _0x175FC=qe.project.getActiveSequence().player;if(app.project.activeSequence){var _0x175A4=app.project.activeSequence;_0x175A4.setPlayerPosition(_0x17612.toString());_0x175FC.startScrubbing()}else {}}function PrUpdatePlayerPositionByDelta(_0x164A0){var _0x1763E=0;try{app.enableQE();var _0x175D0=qe.project.getActiveSequence();if(_0x175D0!= null){var _0x175E6=app.project.activeSequence.end- app.project.activeSequence.zeroPoint;var _0x175BA=_0x175D0.videoFrameRate;var _0x17612=Number(_0x175D0.CTI.ticks);currentPosition= _0x17612;var _0x1758E=currentPosition+ (8475667200* _0x164A0);if(_0x1758E< 0){_0x1758E= 0};if(_0x1758E> _0x175E6){_0x1758E= _0x175E6};_0x1763E= _0x1758E;var _0x175FC=qe.project.getActiveSequence().player;if(app.project.activeSequence){var _0x175A4=app.project.activeSequence;_0x175A4.setPlayerPosition(_0x1763E.toString());_0x175FC.startScrubbing()}else {}}else {$.write("\x41\x63\x74\x69\x76\x65\x20\x53\x65\x71\x75\x65\x6E\x63\x65\x20\x72\x65\x71\x75\x69\x72\x65\x64\x2E")}}catch(e){};return _0x1763E}function PpSetPlayerPositionJog(_0x17612,_0x17628){app.enableQE();var _0x175FC=qe.project.getActiveSequence().player;if(app.project.activeSequence){var _0x175A4=app.project.activeSequence;_0x175A4.setPlayerPosition(_0x17612.toString());_0x175FC.startScrubbing()}else {$.write("\x41\x63\x74\x69\x76\x65\x20\x53\x65\x71\x75\x65\x6E\x63\x65\x20\x72\x65\x71\x75\x69\x72\x65\x64\x2E")}}function play30(){app.enableQE();var _0x17578=qe.project.getActiveSequence();var _0x17562=_0x17578.CTI.frames;for(var _0x15E44=0;_0x15E44< _0x17562;_0x15E44++){var _0x168EC=PpGetPlayerPosition();var _0x168EC=response;if(_0x168EC!= ""){val= _0x168EC.split("\x2C")};currentPosition= Number(val[0]);sequenceDuration= Number(val[1]);frameRate= Number(Math.round(val[2]));var _0x1758E=currentPosition+ (8475667200* (pVar.rvalue* 1));console.log("\x70\x6F\x73\x20\x3D\x20"+ _0x1758E);if(_0x1758E< 0){_0x1758E= 0;pVar.rvalue= 0};if(_0x1758E> sequenceDuration){_0x1758E= sequenceDuration;pVar.rvalue= 0};PpSetPlayerPosition(_0x1758E);$.sleep(30)}}function playVideo(){app.enableQE();var _0x175A4=qe.project.getActiveSequence();if(_0x175A4){_0x175A4.player.play()};return}function stopVideo(){app.enableQE();var _0x175A4=qe.project.getActiveSequence();if(_0x175A4){_0x175A4.player.stop()};return}