Saturday, May 15, 2021

Recent Questions - Ask Different

Recent Questions - Ask Different


Security Prefpane crashes - but why?

Posted: 15 May 2021 11:07 PM PDT

I also asked here: https://discussions.apple.com/thread/252766813

I wrote an applescript which requires access to disks. But when adding it to the allowed applications, the security prefpane crashes. I'm using OS X 10.14.7 on an iMac. When trying with another user on the same Computer, it crashes as well. When adding another script I wrote a few years earlier, the prefpane does not crash and the script gets added.

When adding the script on my MacBookPro with 10.15.7, the script is added. No crash.

Weird thing: I compiled the script using osacompile. That version makes Security Pane crash.

Then I compiled using Skript Editor. That version does not.

Differences are in

Contents/Info.plist  Contents/Resources/applet.rsrc  Contents/Resources/Scripts/main.scpt - which is weird as I see no difference when looking at them in Skript Editor  Only in the Skript Editor version: Contents/Resources/description.rtfd  

I'm clueless what's going wrong here.

If you want to take a look at the script: https://github.com/Skeeve/eject-e-Book-Reader/releases/tag/V1.0

Would AirTags be useful if you lose your item in a unpopulated area?

Posted: 15 May 2021 11:05 PM PDT

If I get it right, then AirTags send a Bluetooth-signal to other iOS-devices within the reach of Bluetooth. The iOS-device then sends the received message to iCloud and iCloud then messages the owner.

Now, I ask myself: If I lose an item in an unpopulated area, like for example in a wood, would I benefit of having an AirTag attached to it? Even if it's very unlikely that someone with an iPhone passes by?

Yesterday I made an trial. I got the impression, that an iPhone memorizes the last location on which it had contact to a coupled AirTag. I'm I right there?

If that's the case the AirTag would be still useful as at marker, where I parked my car or lost my wallet.

Bad quality videos when transferred

Posted: 15 May 2021 11:04 PM PDT

Hi there to apple community.

When I record my screen on my MacBook, edit it with Camtasia and the I transfer it to my iPhone the fps gets extremely awful. but when I transfer the screen record with out editing it's cool. what's wrong? I had the same problem with a gif exported from after effects too! (the edited video works fine on MacBook)

Does MacPorts keep a log for actions like install and upgrade?

Posted: 15 May 2021 09:15 PM PDT

After I ran sudo port upgrade outdated I'd like to know what was upgraded. The output was longer than my scrollback buffer.

I checked /opt/local/var/macports/logs/ but it seems to only contain logs for some of the compilations, not installation. For example, a copy of the output of sudo port upgrade outdated would be nice.

iMac 24 inch - how to connect MacBook Pro to it?

Posted: 15 May 2021 07:14 PM PDT

Could anyone tell me, is that possible to somehow use MacBook 2020 on iMac 24 inch (as a display monitor)?

If not, could you please suggest me a solution how I could do something similar to it.

The reason is: I have my work laptop and do not have a monitor. I want to buy a monitor or iMac and use it for working under my work laptop.

Thanks!

Run apple script as login item but only if it meets specific time

Posted: 15 May 2021 08:58 PM PDT

I have this apple script as a "login item" (it runs everytime I login), but I don't really need that I just need it to run if I login between 5:00 AM and 11:00 pm.

I would appreciate your help to achieve this result.

delay 60

tell application "System Events" to keystroke " " using {option down}

delay 1

tell application "System Events"

keystroke "start"  

end tell

tell application "System Events" to key code 36 #return

My friend can’t see my invitation in photos for my shared album

Posted: 15 May 2021 07:11 PM PDT

Whenever I send my friend an invitation in photos for my shared album she says she can't see it. And I told her to check all her tabs in photos and her mail and she still couldn't see the invitation. And my other friend could join without trouble so, I don't get it. Please help me solve this problem.

LG UltraFine 4K Display monitor with 2 MacBook Pro. How to switch?

Posted: 15 May 2021 07:34 PM PDT

Could anyone tell me, if I will buy LG UltraFine 4K Display monitor and connect to it 2 MacBook Pro (2017 & 2020 models) could I switch between these MacBooks like as a separate Desktops?

If not, maybe you could suggest to me monitor that has that feature available?

And also, if I will connect both keyboard and trackpad for both MacBooks will it re-connect by itself each time, when I will switch the MacBook?

Thank you!

Photos: Move images from iCloud to local storage without losing metadata (albums, tags, etc)?

Posted: 15 May 2021 06:24 PM PDT

I'm looking free space in my iCloud storage my moving images to local storage only.

I know I can export the full size images, delete them from Photos.app, then re-add them to Photos as referenced photos. But doing this will lose all the metadata in Photos (albums, tags, etc), not to mention moving them to the top of my recently added all-photos list.

My beloved and lamented Aperture had the Relocate Originals command which would move a managed photo to external storage, but Photos doesn't seem to have this. Is there any AppleScript or Swift-accessible system api command that can?

Any way to do this short of writing my own migration tool to save all the possible metadata, then re-add it to the deleted-then-reimported-as-referenced photos?

Cheers!

Does a usb-c to hdmi cable actually exist?

Posted: 15 May 2021 05:38 PM PDT

So my macbook pro has a usb-c cable. I want to connect it to my tv using hdmi.

I've come across this product

However, I'm not sure if it's a punk. It's my understanding that I need an intermediate adaptor to connect to it to my tv. Whereas this product claims to directly connect my macbook pro to the TV. Am I missing something?

How to make Apple Magic Mouse 2 do inertia scrolling in Google Chrome with two fingers on?

Posted: 15 May 2021 05:43 PM PDT

I have an Apple Magic Mouse 2 and a Macbook Pro (Early 2015, Big Sur 11.2.3). I usually put both my index finger and middle finger on top of the mouse and scroll with my index finger. On almost every single app (including Safari, Firefox), this way of scrolling gives inertia scrolling (which means the scrolling will gradually come to a stop after the scrolling finger leaves the surface of the mouse instead of stopping abruptly).

However, on Google Chrome, inertia scrolling only occurs if I leave only the index finger (the scrolling finger) on the surface of the mouse (I need to hang my middle finger in air). If I put both my index finger and middle finger on the surface of the mouse and scroll with my index finger, the scrolling is not "inertial" and will stop abruptly. How do I make the scrolling also "inertial" in Google Chrome while putting both my index and middle fingers on top of the mouse?

MacbookPro - does it have an HDMI port [closed]

Posted: 15 May 2021 05:20 PM PDT

The official website says:

Note: Mac Pro has at least one HDMI 2.0 port and four Thunderbolt 3 (USB-C) ports.

Is it meant for all generic MacBook pros? Because I don't see an HDMI port on my mac. Where exactly is it located? Is the documentation wrong?

How to use ESC key to exit full screen mode on TextEdit?

Posted: 15 May 2021 07:33 PM PDT

I'm trying to change the ESC key on TextEdit to use it to exit full screen mode.

It's a shortcut I find very convenient in many other parts of the OSX environment, like for folders or on other apps (press ESC to exit full screen), but with TextEdit the ESC key will just prompt you to insert a list of preset words (ie 'I', 'but' etc.). This is personally a feature I have no use for and don't care about, and would much better use the ESC key to exist FS, like on many other apps.

I know of the feature to create a keyboard shortcut for an app in System Preferences, but it won't accept ESC on its own.

Does anyone know of any other way to achieve this? I'm on MacBook Air, Yosemite, French version. Thanks, Vincent

Mac HDMI how-to [closed]

Posted: 15 May 2021 05:06 PM PDT

I want to connect my mac to a tv via hdmi.

I bought this cable because it said it was compatible with MacBook pro and there's an image of it connecting.

However, the cable doesn't fit into my MacBook pro, contrary to the image. Am I missing something?

Did I get punked?

I'm using a MacOS Mojave version 10.14.5

In Apple Music (Big Sur), how can I 'go to current song playing' in the context of the main library?

Posted: 15 May 2021 04:12 PM PDT

You used to be able to click CMD+L to highlight the current song in the context of its playlist. However, this doesn't work anymore for songs being played in the library - only when playing from a custom playlist. It will show the song playing in the library but not in the context of the rest of the library. This feature was helpful because it allowed me to look at other songs in proximity to what was playing.

Apple's unicode keyboard layout versions location

Posted: 15 May 2021 03:46 PM PDT

Based on the "ISO" standard, say you we're to buy a keyboard and then plug it in. Note, I have never attempted this, but am assured it will work after changing your keyboard's input source.

Is there a location on the Mac OSX Big Sur operating system where these different key mappings are stored? Where it would be easier to program based on these files? Where are these mapping located?

Keyboard Goal: (Input) American

Translated: (Other) Language

Working Example (Referenced From Comment):

I am trying to specifically translate code made in the USA in the standard format. Then run it through an AI translator which then reformats the file encoding and also the Unicode characters exactly as they were typed on a foreign computer. So the input file becomes a new file with a new file encoding standard relative to that specific country, then the characters are also changed to a specific desired Unicode standard

Or would it be best to programmatically change this?

I can't find Home-brew after the os update. (ps pip also not working)

Posted: 15 May 2021 02:17 PM PDT

It got removed on its own possibly after an update. What I am thinking is what could be the reason?

ulimit -n shows different values in mac terminal and intellij terminal

Posted: 15 May 2021 11:38 PM PDT

I have tried increasing the max open files limit in mac by running the following command

sudo launchctl limit maxfiles 524288 10485760

When I try running ulimit -n it shows 524288

But while running the same command in IntelliJ idea's terminal it shows 10240

  1. I've tried reinstalling IntelliJ idea
  2. I've tried restarting IntelliJ after invalidating cache and restarting
  3. I've restarted the system multiple times.

Please let me know how to fix this issue.

Why is Chrome on MacOS inconsistently not recognizing 3 finger swipes?

Posted: 15 May 2021 01:59 PM PDT

I have used three finger forward/back swipe on MacOS for almost a decade in Chrome for forward/backwards on pages. This has consistently worked well and been flawless.

Within the past month or so, this has inconsistently been not working. I know the trackpad is working because my debugging has been:

  • Try to 3-finger forward/backwards in Chrome, it fails
  • Go to other app, use 3-finger forward/back, see it works (100% of time)
  • Go back to Chrome, it still fails

The part I am really confused by is that it sometimes works in Chrome still.

I can also consistently quit/restart Chrome to "reenable" this when it stops working.

Are there troubleshooting techniques to understand what might have changed to cause this? Or an obvious solution to fix this?

OS: 11.2.3 (20D91) Chrome: latest version(s)

tmutil setdestination permission denied

Posted: 15 May 2021 04:05 PM PDT

I'm trying to force TimeMachine to point to an smb location. The smb share is on a Ubuntu server and I followed this guide (mostly - it's a little outdated) to setup the smb.

However, I do not see my smb in TimeMachine, so I'm running:

sudo tmutil setdestination 'smb://myusername:mypassw0rd@myserver/timemachine'

and I'm getting back:

The operation couldn't be completed. Permission denied (error 13)  The backup destination could not be set.  

How do I go about troubleshooting this?

Facebook messenger calls, show only short name

Posted: 15 May 2021 09:09 PM PDT

When someone calls me on my FB messenger I can only see their short name. I noticed this change after I updated my iPhone to iOS14. Does anyone know how can I change it back? I have multiple people with the same short name and it is very difficult for me to understand who is who.

I'm positive that I configured contacts properly like this yet messenger refuses to show full names.

Is this Time Machine behavior normal?

Posted: 15 May 2021 07:02 PM PDT

I plugged the Time Machine Hard Drive on the iMac and clicked "Back Up now" in the menu bar, after making sure that nothing was excluded from the process in the Preferences panel.

After I used recovery mode to erase, install the os and restore my data from Time Machine to a new computer.

Once this process completed, I noticed a few odd things:

  • A lot of the items in the "Downloads" folder were not present
  • When I reopened Safari, the application state of Safari was not restored

Obviously this is very frustrating.

Are my results normal to expect a mirrored Mac with everything perfect?

Section Tab Missing on Document Tool Bar

Posted: 15 May 2021 02:03 PM PDT

I want to change the starting page number in a Pages document but I don't (seem to) have the Section tab on the Document side tool bar. How do I get it bacK?

Can I flush, or release, my GPU memory?

Posted: 15 May 2021 11:52 PM PDT

Running an iMac Pro 10 core, 64GB Ram and 16GB Vega, MacOS 10.14.6. iStat menu (v6.40) is showing a consistent GPU Memory usage between 90% and 100% after I have been using the computer for awhile.

I close out of all programs and the memory does not seem to be released. The only thing that does it is to restart the system.

1) Why is the system not releasing the GPU memory? and 2) Can I do a manual release to free it up somehow?

Command + C does not always work on first try on MacOS

Posted: 15 May 2021 01:40 PM PDT

Command + C does not always work on first try on any of my four Macs. I often highlight text, press Command + C, head to another window, press Command + V only to find that the original text did not copy.

I recently installed a fresh copy of macOS High Sierra and I continue to run into this issue, particularly in RStudio.* The issue never occurs on my PCs.

Do others have this issue? How can I resolve this?

*I use bettersnaptool and enable three finger dragging, but the issue still appears when I disable them.

Keyboard shortcut for right-click in current cursor position on OS X? ('Menu Key' on Windows)

Posted: 15 May 2021 03:03 PM PDT

On windows computers there is often a key for this. Called the 'Menu Key' enter image description here

There is also a keyboard shortcut in windows, when the key is missing. Shift + F10

A similar request was made here but the question was not sufficiently clear and the answers provided demonstrate how to make a right-click where the mouse pointer is on the screen, which is not useful.

What we need is a shortcut to make a right-click where the cursor is on the screen. The same as the windows functionality.

Mouse pointer:

3

Cursor:

4] http://www.gmr-publishing.com/ecards/images/copy-paste_04.gif

Any way to have CPU temperature in the menu bar?

Posted: 15 May 2021 09:50 PM PDT

I tried SMC fan control and Temperature Monitor but it does not update the temperature and I do not wish to change the fan speed.

How to keep sound from muting while using dictation?

Posted: 15 May 2021 02:23 PM PDT

Whenever I try to use the dictation feature in OSX, it mutes my sound. I want to hear the audio I'm playing in iTunes or somewhere else while I have dictation enabled. How can I do that?

Command+C (copy) with the left command key does not work

Posted: 15 May 2021 01:40 PM PDT

I'm facing a strange problem. When I type +C with the left command key, it does not work anymore. The left command key is working for +V or +X or any others so it's not a hardware problem.

The C key is working too. The right command key is working for +C.

I tried changing keyboard language, adding a shortcut, reset NVRAM, activated/deactivated VoiceOver (tip found on a site) to no avail. I'm on a MacBook Pro with Mavericks.

Command + C does not always work from the first try in Microsoft Word (Office 2011)

Posted: 15 May 2021 01:40 PM PDT

I have no idea why COMMAND + C doesn't always register from the first time. I sometimes try to copy something off Word, but I have to press COMMAND + C more than once for it to register, otherwise COMMAND + C just prints what was copied in clipboard before. This becomes very irritating.

However I realised that if I press COMMAND then pause for a second, THEN press C, the command always registers.

EDIT

I noticed that when I select any text in word, it takes about a second for the Cut and Copy buttons to be highlighted (otherwise they're greyed out). And THIS has direct effect on this problem. Only when they are not greyed out anymore can I copy and paste using keyboard shortcuts correctly.

What is happening ?

No comments:

Post a Comment