In addition to the required manifest file, the extension uses a single HTML page, a stylesheet (which I’ll skip here since how it looks doesn’t really matter), and a Javascript file. Also necessary is the clipboardWrite permission. To access that file from the Chrome extension, it’s important to include that domain in the permissions section of the manifest.json file. I start with a script on the server side that uses the AWSSDKforPHP2 to read in the files from my filebox, sort by date, and grab the five most recent. Since the ExpanDrive part of it works out of the box, here’s the breakdown of my Chrome extension. A view of my Chrome extension, showing the last five files uploaded to my filebox S3 bucket. The bonus is that I can get the URL any time later. So after saving my file, I have to go to my browser to get its URL. I wrote a Chrome extension that gets me a list of the last five files uploaded to this particular S3 bucket. The problem is you don’t get the uploaded URL out of this. Probably too expensive if all you’re using it for is Snagit exporting, but worth taking a look at if you’re working with S3 in other ways. Then I can save from Snagit straight to the location I want in S3. I use ExpanDrive to map my S3 buckets as a local drive. It also works on Windows, but with better options available I’m not sure there’s a reason to use it. That’s right, on Windows you can essentially make your own outputs but on Mac you’re out of luck. The catch: There’s no Program Output option in Snagit Mac. There’s no S3 Browser available but you could replace it with s3cmd and do the same thing. I feel like exporting on Mac shouldn’t be a problem. As such, I took another look at options for this since TechSmith itself still hasn’t developed a Snagit to S3 output for either Windows or Mac. That worked okay for Windows but I’ve started working on Mac significantly more of late and I missed that functionality. One of the first things I wrote about when I started this blog was my workaround solution for exporting from TechSmith Snagit to Amazon S3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |