mac screengrab creates two files - macos

I ran two commands in Terminal to (a) turn off screengrab shadows, and (b) to change the default save location for screengrabs.
The shadows are now gone and the screengrabs save where I want them to. However, when I invoke command-shift-3 to create a screengrab of the entire desktop, I get two files, one containing what I want as well as a screengrab of the 'background', that is the desktop (with any open finder windows).
Could anyone suggest a fix? Thanks in advance.

Sorry! Please disregard this question… I feel embarrassed to admit that it had something to do with … er… my dual monitor setup.

Related

How to run Google Keep as an App in Windows

How does one run Google Keep or other websites like an app or kiosk on a Windows PC.
Since I figured this out and nobody seems to of had a response, I made my own question and answered it. Credit to OurCodeWorld for helping figure out some of the fine tuning. He had a --chrome-frame flag, but I believe that is depreciated, so I am looking into it. But it seems to work fine without it
TLDR: Create a shortcut to chrome and add --app= this to the end of it. like this --app=https://keep.google.com/u/0/.
Now if you want it to have a specific size window? Well, you will have to add --window-size=WIDTH,LENGTH. But... Chrome saves the size of the last window closed, which If you use Chrome as a browser, this will change frequently. To solve this, we create a separate user-data directory --user-data-dir="C:\ExampleDir". This folder is around 50mb of who knows what...
So the whole thing put together, like this.
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="%localappdata%\GoogleKeep\User Data" --window-size=950,1000 --app=https://keep.google.com/u/0/

Always show file browser in TextMate 2

I've been working for a while with TextMate 2 and there's something I've never been able to solve.
Is it possible to always show the file browser at launch?
I know you can show it with ctrl+alt+cmd+D but I'd like it to always show at launch without having to make this shortcut (as I launch/quit TextMate many times in a day).
I'd be really grateful if anyone had a solution for this problem.
Thanks very much
5 months ago, I contacted Michael Sheets from MacroMates Support and here's his answer:
The file browser is shown when directories are opened or a favorite is open that is a directory. It is not shown when a single file is opened. If you want the file browser shown you should either open the directory itself or take advantage of the Favorite system.
I'm interested to. Did you already find out how to always show the file manager? Maybe it's possible through .tm_properties file?

Files won't upload in PGRFileManager when using a mac

Hi we have been using PGRFileManager for a while with ckeditor but it has just come to light that when using a mac users can't upload files, does anyone know what could be the cause?
Users can get the file browser to appear and select a file but when they click the green arrow to upload the file just disappears.
Does anyone have any knowledge of this or how to fix it.
I was thinking about giving something like the kc finder a go but as users are used to the pgr file manager thought that I should give it a bash to fix it.
I've read around and I'm using a session var to set the location which has worked well.
And it's an absolute location so that's fine. (One of the solutions was to make sure that this was the case)
Has anyone got any further ideas?
Thanks
Richard

Open an application in a space using applescripts

I am trying to create a script that will open an application in a specific "space". So let's say I am on space 1 working in the terminal and then I want to be able to open safari in space 4. Is there a way to do this?
I have done some searching and found only ways to set the system profile options. Maybe I should tell you my end goal in case what I am attempting is not possible.
I use a laptop and plugin in to multiple stations, home, office, and travel. I want to create different window layouts for each one. So I will need an apple script telling it to open applications in varios spaces and different dimensions. I hope this makes sense. Ask me for clarification if it doesn't thanks!
PS the answer doesn't necessarily have to be any applescript I just thought that would be the easiest way :)
Here's a list of applescript commands for Spaces. There's a couple things there that might help you.
It is possible to do some scripting of application Space preferences by using the scripting interface to the System Events.app. See the answer to a similar question here.
The easiest way I've found is via GUI scripting. Make sure the Spaces menu is active on the upper right of your computer. That lists the spaces by number. You can then just write a GUI script to select the menu item of the space you wish. That will switch to that space. Then do an activate Applescript to open the application there.
Let me know if you need sample code demonstrating this. I have some in Python + Appsscript that does this but I should be easily able to convert it back to Applescript proper if you need it.

How can they do that? (OfficeTab and WindowsTab)

The following two programs can put windows of other programs to their own tabs, what do you think the technical details are?
OfficeTab
http://lifehacker.com/5345338/officetab-adds-tabs-to-microsoft-office
WindowsTab
http://www.windowtabs.com/
Well, the WindowsTab thing doesn't look too complicated. The Windows API gives you access to all open windows so you can set their position and size. This way you can make it seem like they are attached to the tabs.

Resources