samedi 6 décembre 2014

Show the Dock with AppleScript?


I would like to show the Dock when all windows are hidden/closed/minimized. Is this something that can be done with AppleScript? Where can I learn more about the specific capabilities of AppleScript?


Thanks.





Downsampling an external monitor on a Macbook Pro


I was wondering if anyone has succeeded in downsampling an external monitor for a Macbook Pro. I currently have a late 2013 Macbook Pro (Retina) with Intel Iris Pro 5200 graphics card.


I just bought a Dell S2740L monitor and I realized it only goes up to 1080p :(


I found that I can downsample the monitor to 1440p but the Intel drivers only work on Windows. If anyone knows how to downsample the monitor on a Macbook Pro that would be really helpful!





Set Print Range in Numbers.app


Is there any way to set a print range in Apple Numbers.app spreadsheets, to print just a subset of cells rather than entire document?





Clash of clans not transferring to new device, please help!


My son had an iPhone 4 which he was playing clash of clans on and had another village started on my iPad, both were under the same GameCenter account. We purchased him an iPhone 6 and when we synced the new device the village that transferred was the one on the iPad. He wants the one from his old phone but I cannot figure out how to transfer it and am afraid I will accidentally delete it. Can someone please help me out!?





Was trying to transfer my PDFs from my iPad to my new MacBook but they all disappeared... How do I get them back?


I just got a replacement MacBook, and only transferred my Documents, Music, Pictures, and Movies folders... Apparently my iBooks content is not stored in the iTunes folder so I just plugged in my iPad to transfer my PDFs into iBooks on my Mac and now they have all vanished from my iPad!!! How do I get them back?





Getting Silverlight to work on Mac OS X Yosemite


I'm trying to get Silverlight to work on Mac OS X, any browser would do. I'm not getting much success at all so far, nor help from the Web.


1) Silverlight + Mac OS X Yosemite


To start with, can anyone tell me if this Silverlight test works for them on Mac OS X Yosemite (10.10.1) ?


http://ift.tt/1yrixDA


This should offer a menu and various content, mostly pictures. (As opposed to a big black square of nothing.)


2) Troubleshooting


I'm using a MacBook Pro from Mid-2014. I had Silverlight version 4 installed before but never got it to work (I don't know if this was before or after my Yosemite update.)


I've tried uninstalling and re-installing Silverlight but without success.


To install, I'm merely using the Silverlight.dmg file and its installer to install.


Here is what I'm getting so far:



  • In Firefox: the official "Get Silverlight" page tells me the plugin is installed ("Silverlight 5 (5.1.30514.0)"), however the test page linked above renders black. FYI, the plugin is set on "Always activate" in about:addons and disabling AdBlock did not help.

  • In Chrome: I had to use the "Get more extensions" option inside of Chrome to install. However, the test linked above merely offers an "Install Microsoft Silverlight" icon.

  • In Safari, the test seems to render okay but then I get an error from Safari itself: "A problem occured with this webpage so it was reloaded", leading to the page being reloaded automatically until Safari gives up and tells me that an error repeatedly occured with the page.


Any pointer welcome.





How to have Finder open 'Pictures' folder upon iPhone connected and photos imported with AutoImporter.app?


I have a nifty setup on my MacBook Pro, where, upon connecting my iPhone, I have AutoImporter.app (/System/Library/Image Capture/Support/Application/AutoImporter.app) automatically import whatever photos are on my camera roll, delete them off the iPhone, and simultaneously open a Finder window with the folder that I have set as import folder ('Pictures', for me), so I can look at the imported photos immediately and work on them in Photoshop or similarly work with them in the file system directly.


It's lightning quick, and extremely convenient.


Now, on my MacBook Air, I am trying to emulate this setup and I have forgotten how I achieved the final step in this process, where a Finder window automatically opens (on top of whatever you're doing), once AutoImporter opens and starts importing the photos.


(The first step of the process, can be described here.)


I have narrowed it down to observing it being triggered simply by opening AutoImporter.app - whether it imports photos or not. Without the iPhone connected, simply by opening AutoImporter.app - every time - a new Finder window with Pictures folder, pops up.


I have endlessly messed around in Automator and turned off all third party automator-type apps (Keyboard Maestro, FastScripts, Alfred), and I still cannot determine how it is working.


It seems I somehow did this using in-built OS X tools and software - whether a script (in .scpt or .app form), an automator workflow, or something using both, or something else. How on earth did I achieve this?





Iphone 5s phone contact is an email


Recently I bought the iphone 5s and I am under my boyfriends icloud account. today I shut my phone off and turned it back on and when he texted me is icloud email showed up. when I text his phone number he gets it but when he replies it comes back under the email.


How do I fix this problem?





Deleting music from iPad to sell


Hi there I am selling my iPad as I have a new one. How do I erase all my music so there is nothing in the music file? I have deleted the music but the albums are still there.





Mac OSX not automatically remapping windows key to cmd


I'm currently using a Cooler Master Quickfire Ultimate keyboard that works perfect with Windows 7. However, whenever I have it plugged into my Macbook pro (running OSX 10.9.5), the default mappings don't seem to work.


I've used other keyboards, and the windows key will always re-map to cmd on mac. However, on my new keyboard, this isn't the case. The windows key doesn't seem to do or change anything. The alt key also doesn't seem to get mapped to anything initially.


My ctrl key maps correctly to ctrl on mac, but this leaves me without a command, or an option key.


I went into the "Modifier Keys" panel, and selected my keyboard on the list. Changing command to map to the ctrl key does remap cmd from mac to ctrl on my windows keyboard. Changing the mac ctrl to map to whatever the default "cmd" key is (in this case, should be the windows symbol key), does not work.


This means, when I'm trying to run a program and have to execute commands with the mac ctrl, I have to keep switching the modifier keys around.


I've tried using karabiner to remap keys, but can't seem to figure it out. I looked on the XML key list, but can't figure out how to remap the windows key to the mac ctrl, and the command key to the windows ctrl. How would I go about fixing this?





Can i play games from my macbook who's been on my phone? Please help


Im playing Township on my iphone. I just found out you can play it on your macbook as well. Is it possible to be continue with the game on my computer without starting over? I have connected my apps från my iphone to iCloud. Is there any chance i can keep playing my game but on my macbook?





Dwell clicking software that supports right-dragging and allows to define shortcuts


I am looking for a dwell clicking software that supports as many following features as possible:



  • left and right-dragging

  • double/triple click

  • a shortcut can be defined to change the mouse mode

  • the mouse mode window is always on Top

  • customizable dwell clicking time (i.e. the time one needs to hold the mouse steady in an area before the mouse click is sent)




A few definitions:



  • Right-dragging = you click the right mouse button while pointing at something, hold down the right mouse button and drag the object somewhere

  • Dwell clicking = Instead of having to press a mouse button or a switch the user needs to simply hold the mouse steady in an area for a predefined amount of time. This action issues the computer with a 'virtual' click and provides the same function as if someone had pressed the mouse button.




On Windows I use Point-N-Click dwell clicking software: it has all the above-mentioned features (and is free).


enter image description here





iPod Classic 160GB just will not start any help appreciated


My 160gb iPod Classic will not turn on or do anything It does not get recognised by iTunes when I hold the Menu and Centre button the apple logo appears but does not start, if I hold the same buttons for longer a red circle with a cross inside it appears. Any ideas how I can get my iPod started or do you think it might need a visit to apple support shop.





Strange problem when I paste 64 bits number in the built in calculator


How can I use 64 bits number in the Mac OSX built in calculator (programmer view + binary view)


By example, when I paste 140738025226240, sometimes the calculator only keep the first 31 bits and will output 2147483647.


example





Is there a way to recover a word document password?


I have several password protected word docs that I have forgotten the password for. Is there a way to recover them? I am using Word 2011.





Boot Camp "Non System Disk"


I'm trying to install Windows via USB on my 2010 MacBook Pro (by doing some plist editing, it doesn't matter). I used the Boot Camp Assistant to create a bootable flash drive, and let it install the software. (I did have an SD card in there at the time). So it worked, and I partitioned 64gb of space for Windows for playing games, and suddenly...


"Non system disk".


How do I fix this? Should I install rEFIt? I've booted back into OS X at the moment. Using Yosemite 10.10.1.





listing files with extension in Terminal


in a Terminal session the command



ls *.pdf -l


does not list the pdfs (or whatever other file format) as expected, as the -l option seems to be ignored. Everything works fine if I issue a simple



ls -l


How do I fix this? I'm on Mac OS X 10.7.5 and using a bash shell.





Apple Pay Peripheral


I use an iPhone 5S, as I was unable to wait until the 6 came out (my screen was destroyed on my old phone). Is there any peripheral which allows me to use Apple Pay on my phone?





Is there a way to fix the slow space switching animation in Yosemite?


I'm a developer and use spaces extensively. I have my terminal in one space, my editor in another, etc.


When I use ctrl + arrow key to switch to the left or right the animation is incredibly slow (better than in older versions, but still). This is killing it for me.


Is there a way to turn this animation off or influence its speed?


I know there was a command in Snow Leopard that could do that



defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES


but it doesn't work anymore. Does anyone know a trick to fix this?


Thanks!





Safari redirecting webpage in BBC sport page


Safari keeps redirecting the webpage to an advert, when I log onto BBC Sport website





iTunes synchronizes iPod even when turned off


Even though I switched on "prevent automatic synchronization of iPods..." in iTunes (translation, in German it's "Automatische Synchronisierung von iPods, ... verhindern"), iTunes won't stop synchronizing when I plug in my iPod touch. How can I really deactivate it?


I use iTunes 12.0.1.26 with an iPod touch 32 GB (4G) MD058FD/A with iOS 6.1.6 (the newest supported version).





Getting loads of Open error 5's when using Terminal to repair permissions


My GF's MBP running on Mavericks broke down 2 days ago. First I tried to copy the contents of her HDD to an external HDD but got the I/O error time after time.


Then I tried all the basic things like repairing the disk in Recovery Mode and try and verify/repair permissions in disk utility, cause I read that that could also help but that didnt do the trick either.


Now I am trying to repair the permissions through the Terminal and getting alot of detailed I/O errors. Also the progress bar is stuck @ 74% now. It doesnt advance only I get every 20 secs or so a new line with a new error. My original plan to try n save the data on the HDD has become too complicated for my skills so I'm in desperate need of help since it has been awhile since last backup.





Move existing USB Time Machine backup to OS X Server Time Machine


How can I move an exiting OS X (10.10.1) USB Time Machine backup history to an OS X (10.10.1) Server (version 4) Time Machine service?





Git pre-commit hook that checks for open application


I am using git to manage a project that has a few binary files that need to be closed before being committed. So I need a git hook, that checks to see if the application that has these files open is running.


My thought was to use osascript like this



#!/usr/bin/env osascript

tell application "System Events"
set apps to the name of every process whose background only is false
-- check if apps contains the target application
-- show a message and exit with non zero status if it does
-- otherwise exit with 0
end tell


but I am not having much luck. How could I make this work as a git pre-commit hook?





iPhone crashes during restore


I have an iPhone 5s, bought 14 months ago (without Apple Care, so out of warranty).


Background Information:


Since I updated to iOS 8.1.1, my iPhone has been crashing infrequently, in: Blue screen, Apple logo, back to blue screen, Apple logo, etc. This would solve itself after an hour or two (sometimes more), and the phone would then be useable again.


However, even though it would take a long time sometimes, eventually the phone would crash again. I went to my local Apple Premium Reseller (iCentre Delft, the Netherlands), and they said I should restore the phone via iTunes. I did and it worked fine for approximately 5 days. But then, this morning, it crashed again. Same thing as before. But this time it DID NOT go back to usable, and I decided to try and hook it up to iTunes again. It wasn't recognized, however, and therefore I could not restore my phone. I called Apple Support, and they said I should put the phone into recovery (DFU) mode. I did, and it clearly shows the iTunes logo with the lightning cable. But now comes the problem:


The problem:


When I connect to iTunes, I get the normal messages requesting me to reset the phone (2). It starts just fine, but when the first white appears on the bar on the iPhone, it gets stuck (while the bar in iTunes keeps moving). 10 seconds later, and the blue screen pops up again, after which it heads back to the basic recovery mode screen. On iTunes I get error 9, which shows USB connection issues. However, I doubt that this is the case and suspect that it gives this error because it has nothing else to give.


Does anybody have any suggestions?





OS X Yosemite - Unresponsive Keyboard and Trackpad after sleep


I have a brand new MacBook Pro (Retina, 15-inch, Mid 2014). Shipped with Yosemitee pre-installed, the version I have is 10.10.1 . I don't have any software installed except Google Chrome, so it is clean/new OS.


I noticed sometimes the keyboard and trackpad become completely unresponsive after waking up the laptop from sleep. Happened several times, the last time it happened I could not reset PRAM or SMC as keyboard was unresponsive even after restarting or shutting down so I had to Re-Install OS.


Today I was able to reproduce the issue, first I tried to let it go into Sleep mode several times with no device plugged into the USBs, and Lid left opened. I could not reproduce, both were working when I wake the laptop.


Then I plugged in a USB Mouse, left the lid opened, and let it go to sleep for 1 hr. When I waked it up, the keyboard/mouse were unresponsive. Then I unplugged the mouse usb, let it go into sleep mode, and closed the lid .. for few minutes. Then I opened the lid, waked it up .. this time both were responsive and working.


I was able to reproduce the above scenarios, so it is not a random thing.


So, is there some kind of a log or test I can use to reproduce or while reproducing the unresponsive case above so I can understand if it is a hardware or software problem ?





How can I print a PDF/X Mavericks document?


A few iterations ago, Mac OS X had a "Save as PDF-X" option available via the print dialogue, with an associated file at /Library/PDF Services/Save As PDF-X.workflow that handled the magic suff I assume.


My understanding is that the PDF/X format embeds fonts and does other "preflight" stuff to make a document good for printshops to use. Outputting in this format is possible with Illustrator and other Adobe products, but I would produce a printshop-ready PDF/X file using software I already have (LibreOffice, Word, etc.)


In Mac OS X 10.9, this "Save as PDF-X" option is nowhere I can find.


Is there any simple way to create PDF/X format files?


http://ift.tt/1z2wXxx


Back in 2010, Philip Regan gave some info about doing it with the then present "Save as PDF-X" feature, but it is no longer part of the print dialogue. How can I print a PDF X-1A from a iWork Pages document?


Anyone have any ideas?





Rename SMB Servers


I have 2 SMB servers that I connect to on a daily basis. One is my development server and the other is my production server. Both of them are a little different in the folder structure.


When they are mounted, they take the names of the folder you are mounting. Both servers are mounted on the same folder name so its really hard to tell the difference.


Is it possible to change the name of a mounted SMB server? I would like to just have "Development" and "Live".





How do I overwrite my game data?


How do I overwrite my game data in Shall We Date?: Ninja Assassin+ by deleting my old Game Center account for it on my old iPhone? Because my current data on my new phone is more up to date than the data on my old phone. How do I sync or overwrite the data so it can be the same data as on my new phone ? I also have the Game Center update on both phones .





Need help moving iTunes data to updated computer when music resides on NAS


I've had my iTunes collection on my NAS for years which is shared between several computers in my house. Computers and mobile devices can access the iTunes library. One Mac mini is used as the "manager" computer. All other devices can access the library, but all organization and management features are turned off. All management and additions to the library are done through the Mini.


I recently moved to a newer Mini and want to know the best way to make it the same as the old one.


Since the Mini is just the manager, is it as easy as adding the NAS directory through "Add to Library..."? I don't care about play counts and things like that on the new Mini, or are there some data files I should move over from the older Mini?


I'm guessing I would:



  1. Change the iTunes Media folder location to point to the iTunes directory on the NAS.

  2. Add NAS directory to iTunes

  3. After all the songs have been added to iTunes, turn on "Keep iTunes Media folder organized" and "Copy files to iTunes Media folder when adding to library" preferences.


Are these the right steps and right order?


Many thanks!





Moving iTunes music to Dropbox on iPhone5


I have the upgraded Dropbox app but need to figure out how to move the music on my phone iTunes gallery over to Dropbox via my iPhone as I haven't been able to sync my music on my MacBook Air due to it being corrupt for a few months. Any suggestions? Cheers!





Can I keep my MBPR unplugged when not in use?


If I shut down my MBPr and unplug the power cord every night then in the morning plug it back in and turn on the MacBook, will it have an effect on the battery charge cycles?





Export image from clipboard to folder


I create a lot of mockups for my mobile phone. I recently heard of the brilliant idea to just put your current mockup as an image into your Dropbox (or whatever cloud your using). Then just take your phone and open the image. This is a lightning fast way to check how your layout feels in your hand and how reachable everything is. Also your colleagues can check it out and keep track of what you're doing / give you feedback.


I'm working with Balsamiq Mockups. I would like to: 1. Mark some items on the screen 2. Precc Command+C 3. Press


And now there should be an image in a specific Dropbox folder with the marked items. Currently I paste the clipboard to Photoshop and then export it, but I would like to find a way to further automate this.


I'm not that familiar with OSX.. Can I write a script for this? Would the Automator help?


Thanks!





What Causes rMBP Fan Noise When Connected to Two External Monitors


Connecting two external monitors to my Retina Macbook Pro 2012 has no problem except for more fan noise, which is a little bit annoying since with one external monitor one doesn't hear the noise at all.


I'm wondering what's the cause of this? What is the bottleneck here? Is it because GPU Clock Speed or Memory of Graphics Card?


rMBP 2012 has Nvidia GeForce GT 650M with 1 GB GDDR5. If I switch to rMBP 2013/2014 which has Nvidia GeForce GT 750M with 2 GB GDDR5 and say the problem disappears, is it mainly because of higher GPU speed or more memory?


Btw, 650M scores 1278 while 750M scores 1461.





How to stop two phones ringing when one is called


My husband's and my phones both ring when either one is called. How do we unlink them?





What's with all the random folders in the DCIM directory for iPhone?


My photos are spread across 17 seemingly randomly named folders in my iPhone 5's DCIM directory.


I can't make any sense of this and it is quite painful looking through all of these directories to find the photo I'm looking for.


Why is my device doing this and can I make it stop?


dcim





I can not turn off VoiceOver on iPhone 4S


How can I turn off VoiceOver and get back to normal ?!


As I follow the instructions how to turn off 'VoiceOver' in Setting on my iPhone, however VoiceOver icon get back on quickly after double click... (haven't upgrade iOS 8.1.1 yet)


-Tried to do double click 'Voiceover' icon in Setting, but doesn't off and switch on back quickly..


-Done press 'Home' button 3 times quickly, but Top page shows up later..


-Done turn off the phone, the VoiceOver shows up with passcode screen..


What else I can do for turning off the annoying voice? I need to fix this situation asasp! Pls advise me a smooth solution.


Thanks,





Install or Remove Windows 7 or later version - this option is Not avaiable how do i Fix it?


Install or Remove Windows 7 or later version - this option is Not available Check On My iMac Screenshort ... How Do i Fix it ? enter image description here





No files with prefix com.apple.security in Library?


I have been having issues with Safari not showing https sites. The best solution I have found googling around seems to be to delete either "com.apple.security.plist" or "com.apple.security.revocation.plist", but in Library/Preferences I have no mention of any com.apple.security file.


I have not found anything that seems applicable to this exact problem. Could anyone shed light on why this file might be missing, and/or how to restore it?


I have tried:


resetting Safari


rebooting


Keychain first aid, no errors


opening Terminal and executing "ls -l ~/Library/Preferences/com.apple.*.plist", no file in results.


Thanks much





Disable sticky-keys sound


Is there a way to disable the sound made when sticky-keys are enabled or disabled by press-shift-five-times?


Since changing to OS X 10.9, this sound is played every time on startup, which is quite annoying.





How can I change DPI on Mac OS X?


Simple question, can't find a single simple answer on the entire internet. Although from what I have read, this might be a driver or hardware limitation.


My problem

I have a 1440 x 900 native pixel resolution. I want to run at a 1280 x 800 scaled resolution.


I know you can change this in the display settings, but then you see a horrible blur because of the hardware upscaling. OS X has built it DPI upscaling, and has been resolution independant for a while now. Why can't I change the perceived resolution at the software level?


My attempts

I've force enabled HiDPI modes via Quartz Debug and it has given me one HiDPI mode. 720 x 450 PX @ 2 DPPX. I've installed SwitchResX and although I can add custom resolutions, I can't force it to use the graceful scaling I want, and I can't see a way to manage the DPI or DPPX.


To summarise

I want to run my native MacBook Air 13-inch display at 1440x900 PX and have Mac OS X upscale to this from 1280x800 PX @ 1.125 DPPX, still 128 DPI, using the same DPI scaling technology that makes "retina" displays look so clear.


I would love this option but I appreciate it may not be possible. I love my Macbook Air and don't want a rMBP, but I also have terrible eyesight and would prefer a 1280 width, but not with the horrible upscaling that is currently my only option making me squint even more.


Thanks.





Is there a native terminal in OS X, without having to load the desktop, window manager, etc?


FOr example, in linux you can boot to a terminal, you don't have to load a desktop, window manager, etc. Is there something like this in Mac OS X? And like in Linux, is it possible to switch to one of these from in the desktop?





Invisible folder after usage of trash-cli


Recently, I decided to install trash-cli on my MacBook Pro after using it successfully on my Ubuntu machine. To set it up I ran the following commands.



git clone http://ift.tt/1q0FTSm
sudo python setup.py install


After installation, I decided to delete a folder using trash-put. So I run trash-put ~/anaconda/. However, this folder has never arrived in my .Trash folder, yet it disappeared from my Finder (see below, sorry for the mess of files).


Screenshot of Finder in Terminal run with <code>ls -a</code>


So far so good, the folder disappeared. However, when running locate anaconda in a Terminal window the folder Anaconda is still there (only the first couple of lines are shown in the screenshot below).


Screenshot of Finder in Terminal run with <code>locate anaconda</code>


Now, my question is whether any of you guys could have an idea on how I can delete this folder or at least make it re-appear in my Finder?


So far, I've tried restarting my MacBook without success. I've also tried to run rm /Users/admin/anaconda which failed, too.


Running 10.10.1 on a MacBook Pro Mid-2012. I do have administrator rights and full access to all files.




UPDATE 1




  1. rm output


    rm: anaconda: No such file or directory




  2. felix and admin are the same user. I have renamed it for my own convenience purposes, but they are the same!







Jailbroken, supervised iPhone. Is it bricked?


I received this iPhone 4 from work, and they don't have access to the Mac used to supervise it anymore. According to this Apple support article, device supervision can be removed by using "Erase All Content and Settings". Unfortunately, I just found out that the device was jailbroken so "Erase All Content and Settings" will put it on a bootloop. I can't seem to put the device on DFU mode; is this because it's supervised? Is there anything I can do to unsupervise this device?





Encrypt Time Machine backup data sent over the network


I have three relevant machines:



  • An iMac running 10.10 as my Time Machine server.

  • A MacBook Pro running 10.10, which backs up to the server. Backup encryption is enabled.

  • A PowerBook G4 running 10.5, which also backs up to the server. Backup encryption is not supported by 10.5.


In the case of the 10.10 MacBook, I understand that setting the MacBook to encrypt backups means that the backups stored on the server will be in an encrypted sparse image. However, the data being sent to the server is sent in the clear, unless the client handles encryption (unlikely).


Could the data transfer be secured by SSH for both machines?