Monday, May 2, 2022

Recent Questions - Ask Different

Recent Questions - Ask Different


How do I restore the high resolution in my external monitor with the MacBook Pro?

Posted: 02 May 2022 06:50 AM PDT

I plugged in an extra high resolution display -- the likes of which we might have used in the 90s with a tube monitor but have been very difficult to come by lately.

When I plugged this display into the mac book pro, it registered as many more pixels than the retina display and I could position my code on the screen and see everything. The text was tiny.

I have no clue what the resolution was at that time, as it was selected automatically.


About 30 seconds later, both the new monitor and the macbook pro blacked out, and my nice and tiny text turned into giant text as the mac rescaled the monitor to have an identical or slightly fewer pixels than the main "retina" display.

I have modified every setting in the display panel, I cannot go higher than 1600x900 on the external display. However, when I plug this display into my Windows computer, I can go as high as 3200x1600 and display twice as much information with normal, tiny-sized text on the high resolution monitor.

How do I restore this behavior on the Mac?


I "fixed" it with a reboot. The key question is: How did that work? Why didn't I have access to the settings that would effect this with the live system?

How is that sausage getting made? Do I have full visibility of the system when I am on it?

Why Apple OS, Software and so many things are highly stable and smooth? [closed]

Posted: 02 May 2022 04:18 AM PDT

Even when using Windows on high end computers it lacks is stability when using many programs. I want to know how apple manage to provide such grate experience to users, even not running apple macos (mojave/Big sur) on apple hardware. I have tested macos on another hardware as it grate and nearly same in performance and stability running on SSD, Nvidia 710, 16GB RAM.

Why does an email rule testing for "<>" in header "Return-Path" not work?

Posted: 02 May 2022 02:41 AM PDT

I found that a good fraction of unwanted emails have the header "Return-Path" equal to "<>", so I thought that I could have an email rule to test for this and then move the email to a junk folder. However, this rule does not work.

As a test--for one such email--I looked for another header that had a short value. In that case email header "X-Originatororg" had the value "norcalasa.org", so I added a test for that value, which moved the email to junk. That test worked.

What am I not understanding?

I am using a MacBook Air 2017 running MacOS Big Sur 11.6, with Mail version 14.

AppleScript for zipping folders does unexpected things

Posted: 02 May 2022 06:57 AM PDT

I compiled the following script to zip multiple folders with only their contents.

(So for instance, folder X containing files A, B and C will form a zip file containing A, B and C and not folder X as a parent.)

on run {input, parameters}        tell application "Finder"          set theItems to selection          repeat with i from 1 to (count of theItems)              set theItem to (item i of theItems) as alias              set itemPath to quoted form of POSIX path of theItem              set fileName to name of theItem              set theFolder to POSIX path of (container of theItem as alias)              set zipFile to quoted form of (theFolder & fileName & ".zip")              do shell script "zip -jr " & zipFile & " " & itemPath              delete (item i of theItems)          end repeat      end tell            return input    end run  

By testing it with a simple folder and a few random files, the script works fine. But when the folder contains a lot of files, the following error pops up:

'zip warning: first full name: /Users/laurens/Desktop/Test folder/.DS_Store second full name: /Users/laurens/Desktop/Test folder/story_content/.DS_Store name in zip file repeated: .DS_Store this may be a result of using -j

zip error: Invalid command arguments (cannot repeat names in zip file)'

enter image description here

I checked the same folder on Windows (through Parallels), and I can't see any .DS_Store files, also I'm not sure why the script refers to those files instead of the folders...

I'm not sure what to make of this.

Emac with no OS

Posted: 02 May 2022 06:53 AM PDT

I have an eMac with no OS and I have no install disk. Can someone provide instructions on creating an install USB or DVD for the latest version of OS X which is compatible with my Mac.?

MacBook Air M1 and weird text rendering on Samsung S49A950U ultrawide

Posted: 02 May 2022 01:10 AM PDT

I'm running Samsung S49A950U from my M1 Air at the native resolution via USB-C cable. No issues with the resolution itself (5120x1440) or the frequency (60Hz). Using USB-C to DisplayPort gives me 120Hz. So far so good.

The only thing is text clarity. I can only get crisp, sharp, well defined text in HDR modes. Switch the HDR off and the text is jagged and rough.

And it's not because of M1, or because of my M1 (I tested that with an identical but brand new machine). It's the same thing with an Intel-based MacBook Pro. Also, I did not experience such behavior on Samsung G9 or a Philips ultrawide.

For example, two identical characters are rendered differently in a single word. In 'off' first f is rendered as f, the second as f. The middle line in E is jagged, lowercase l might have the 'italics' quality to it.

Turn HDR back on, and the text looks just fine.

Any ideas why that might be happening?

Thanks

KeyChain asks for Touch ID and password multiple times

Posted: 02 May 2022 12:37 AM PDT

Whenever I need to view some WiFi password, KeyChain requests me to enter Touch ID, then it asks to input user login/password, and sometimes (when I don't use it for a long time) it requests for login/password again! It a bit irritates, so how can I make it less aggressive?

MacOS versions: 11.2.3 Big Sur

KeyChain PW messages

Adobe Photoshop CS 5.1 not working in Mojave via Parallels

Posted: 02 May 2022 04:37 AM PDT

I am trying to run Photoshop CS5.1 (from the Adobe CS 5.5 Web Premium suite) in MacOS 10.14 Mojave using Parallels. The host machine is a 15" MacBook Pro late 2013 with a 2GB nVidia GT750M GPU and running Catalina. However, when I try to run the program it briefly flashes the splash screen then I get an error saying it quit unexpectedly. Here is an excerpt of the error:

Process:               Adobe Photoshop CS5.1 [380]  Path:                  /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/MacOS/Adobe Photoshop CS5.1  Identifier:            com.adobe.Photoshop  Version:               12.1 (12.1x20110328.r.145] [12.1)  Code Type:             X86-64 (Native)  Parent Process:        ??? [1]  Responsible:           Adobe Photoshop CS5.1 [380]  User ID:               501  Date/Time:             2022-05-01 17:03:18.483 +0100  OS Version:            Mac OS X 10.14.6 (18G103)  Report Version:        12  Anonymous UUID:        34F192B4-EA33-C3C5-1CE6-A1D68E7455E1    Time Awake Since Boot: 110 seconds    System Integrity Protection: enabled    Crashed Thread:        0  Dispatch queue: com.apple.main-thread    Exception Type:        EXC_BAD_ACCESS (SIGSEGV) Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note:        EXC_CORPSE_NOTIFY    Termination Signal:    Segmentation fault: 11  Termination Reason:    Namespace SIGNAL, Code 0xb  Terminating Process:   exc handler [380]    VM Regions Near 0:  -->       __TEXT                 0000000100000000-00000001026fc000 [ 39.0M] r-x/rwx SM=COW  /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/MacOS/Adobe Photoshop CS5.1    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread  0   com.apple.opengl                0x00007fff385c6d79 CGLDescribeRenderer + 78  1   com.adobe.Photoshop             0x00000001008ca245 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 6217217  2   com.adobe.Photoshop             0x000000010072d32d AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4525801  3   com.adobe.Photoshop             0x000000010073bd7b AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4585783  4   com.adobe.Photoshop             0x000000010073bf6c AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4586280  5   com.adobe.Photoshop             0x0000000100628f00 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 3459772  6   com.adobe.Photoshop             0x000000010062a097 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 3464275  7   com.adobe.Photoshop             0x00000001006b4a45 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4032001  8   com.adobe.Photoshop             0x0000000100236e15 0x100000000 + 2321941  9   com.adobe.Photoshop             0x0000000100237229 0x100000000 + 2322985  10  com.adobe.Photoshop             0x0000000100002294 0x100000000 + 8852  

From this information I believe this is some sort of OpenGL issue resulting from running in Parallels rather than a general compatibility problem with this version of Photoshop and the OS. Numerous people have reported CS 5.5 mostly working fine on Mojave when installing from scratch, and I have already followed some documented steps to make it work:

  • Installed legacy Java runtime
  • Gone to system security settings and allowed app to control computer and have full disk access

I also noticed that Dreamweaver works to an extent and this is probably due to it not being so reliant on hardware acceleration

I already contacted Parallels support by email and their suggestion was to increase CPU and RAM allocation, but the VM already has 2 CPU cores and 4GB assigned.

I could maybe try using an older OS for the VM but I don't want to risk wasting a load of time without knowing if it will work any better. If anyone has encountered similar problem and found a workaround please let me know

Can I use a CR2025 battery instead of CR2032 for my AirTag?

Posted: 02 May 2022 02:39 AM PDT

I started to see that one of my AirTag batteries was getting low so I decided to change it. I already bought some CR2025 batteries already and when trying with one, it seems to work perfectly fine. Apple recommended using CR2032 (which is a bit thicker), but I was wondering if it was safe to use the thinner version.

Are *.mov and *.m4v files from older iPhones today (2022) to be considered legacy?

Posted: 02 May 2022 12:37 AM PDT

I have made many videos with different generations of iPhones.

The vast majority of my videos are in *.mp4. However, I still see older videos in *.mov and *.m4v.

Are *.mov and *.m4v files considered legacy formats today?

Should I convert these videos to *.mp4? New iPhones don't seem to produce files in *.mov and *.m4v anymore.

It seems *.mp4 is an industry standard across manufacturer boundaries. *.mov and *.m4v is something specific to Apple ecosystem?

Sharing an iCloud calendar to other people causes a redirect loop (CalDav - HTTP 301)

Posted: 02 May 2022 12:12 AM PDT

A friend of mine shared an iCloud calendar obtaining a WebDav URL, similar to this one:

webcal://p55-caldav.icloud.com/published/2/verylong-token-token-token  

For a couple of years, since 2020, it worked perfectly. Problem: now, this iCloud URL causes an error "too many redirects" in whatever calendar app (e.g. nextCloud, WebDav Sync Adapter, Evolution, Thunderbird, etc.).

To further understand the situation I tried with cURL (omissis token):

$ curl --verbose --location http://p55-caldav.icloud.com/published/2/verylong-token-token-token    HTTP/1.1 301 Moved Permanently  Server: AppleHttpServer/57b15408e9be  Date: Wed, 16 Mar 2022 09:23:06 GMT  Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token    ...    HTTP/1.1 301 Moved Permanently  Server: AppleHttpServer/57b15408e9be  Date: Wed, 16 Mar 2022 09:23:06 GMT  Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token    ...    HTTP/1.1 301 Moved Permanently  Server: AppleHttpServer/57b15408e9be  Date: Wed, 16 Mar 2022 09:23:06 GMT  Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token    ...    HTTP/1.1 301 Moved Permanently  Server: AppleHttpServer/57b15408e9be  Date: Wed, 16 Mar 2022 09:23:07 GMT  Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token    ...  

Now we are inside a very long redirect loop and then it quits with the related error:

* Maximum (50) redirects followed  curl: (47) Maximum (50) redirects followed  

What's the problem? How to fix this? Has this happened to you?

If it helps, this calendar is probably gigantic. But if it was giant it should give a timeout or an error 500 or whatever but not a redirect on that same page, causing even more iCloud overload. Is this a bug?

Thank you for your ideas!


Edited from comments:

I tried using https instead of http. Nothing better happened.

MacBook Air M1 with ultrawide monitor

Posted: 02 May 2022 01:29 AM PDT

I have a 13" MacBook Air M1 laptop, and I'm planning to buy a 35" ultrawide monitor for work. Any issues or concerns to be aware of before buying one??

Also, I will be using Citrix workspace to connect to my work which is a Windows machine. Will I be able to sync the Apple keyboard with the Windows one when using an external display? Any suggestions will help.

2020 M1 Macbook Pro won't drive ultrawide monitor unless it's charging

Posted: 02 May 2022 01:54 AM PDT

Here's a weird one. 2020 M1 Macbook Pro, running Big Sur 11.6.2.

I've just got a new monitor - Samsung Odyssey G5 34", 21:9 resolution (3440x1440). I have a Hyper Drive Pro Hub (8-in-2) plugged into the macbook, and into that is a USB A cable for my devices (keyboard, mouse dongle, camera and USB soundcard), then a Yubikey plugged into a USB-C port, then the power, and finally an HDMI cable to the monitor.

The monitor is set to 60Hz.

When I first plug the dock in in the morning, the monitor doesn't always work - just shows black. If I change the resolution down to 1920x1080@50Hz it then does work. Just now, I wondered if it was a power issue, so clicked the battery icon in the toolbar which said "holding at 85%, will charge to full..." - so it's using optimized charging.

When I then clicked the 'charge to full now' button, the screen would let me go up to full resolution.

What's going on here? My guess is something to do with bandwidth and power delivery, but I've no clue what.

I have also ordered another dock by a different manufacturer, so I'll see if that is any different.

Update: the new dock (an Anker one) is working fine, so my guess is it's to do with USB/thunderbolt bandwidth and power. Still weird though.

Filemaker How to Import into related tables

Posted: 02 May 2022 12:08 AM PDT

I recently purchased FileMaker Pro and created a new database with the "Contact" template. I have a CSV file with Names, addresses and phone numbers. When I choose import, the dialog only allows me to import fields that go into the 'Contacts' table. How do I get the address and phone number into the related address and phone tables? I read in the support docs that you can only import into 1 table at a time, but provides no details on how to choose the related table.

Keychain Access is opening but will not display a window?

Posted: 02 May 2022 06:34 AM PDT

I have a 2017 MBP. For the past couple of years, I've had a position that's provided me with a laptop, so my personal MBP isn't used much.

Over those years I've kept it updated periodically, but today I needed to get back on my old machine and open an old, secure note in Keychain Access.

The problem is that when I open the application... nothing happens. Well, it does open Keychain, and I see it in my dock bar. If I click on it's icon, I can see the menu at the top of my screen, but there is no window. When I right-click on the icon and go to "Show All Windows", there's nothing there.

What's happened to Keychain Access, and why can't I bring up the UI? Please note, I've also hunt-and-pecked the menu structure and I could see that I could create a new secure note but I can't open one. In fact, I did create a new one as a test, and after saving it, the UI never popped up. How can I get my Keychain Access back? Thank you.

Oh, and I'm using MacOS Big Sur (11.5.2 (20G95))

EDIT - Additional Information

One more piece of information that might be noteworthy is I have never setup iCloud for my Apple account, and I do not intend too. I do have an Apple account, and I use it to connect to the App Store on my MBP, but I'm not interested in syncing my data with Apple's data plan. I know it's quite useful for backing up personal settings and preferences, but as for the past many years, I've not needed it or wanted to give Apple that data.

I mention this because has something changed in the past 4 years where my data is now hidden/locked out and is tied to my Apple ID, rather than my login to my laptop? Is that fact that I'm not connected to iCloud preventing me from viewing my secured notes? If the answer is yes, is there any way around this, without cutting on iCloud?

How do I adjust the screen area for external monitors?

Posted: 02 May 2022 02:33 AM PDT

I don't know the exact wording for this. But basically my external monitor is too big for a certain game. Now I want the visible screen area to be smaller so that the game doesn't fill out the whole monitor. I want it smaller with a black border. Is that possible? Thank you!

Adding login items from terminal in Catalina

Posted: 02 May 2022 03:04 AM PDT

I've tried multiple ways but none work. A few AppleScripts and even some bash script somebody made. Which essentially just executes a different AppleScript afaik.

Some of the commands I have tried:

osascript -e 'tell application "System Events" to make new login item at end with properties {path:"/Applications/AppName.app", name:"App Name", hidden:true}'    defaults write ~/Library/Preferences/loginwindow AutoLaunchedApplicationDictionary -array-add '{Path="/Applications/AppName.app";}'    defaults write loginwindow AutoLaunchedApplicationDictionary -array-add '{ "Name" = "AppName" ; "Path" = "/Applications/AppName.app"; "Hide" = 0; }'    defaults write loginwindow AutoLaunchedApplicationDictionary -array-add '<dict><key>Hide</key><false/><key>Path</key><string>/path/to/item</string></dict>'  

Keyboard shortcut flip screen

Posted: 02 May 2022 02:40 AM PDT

How can I create a keyboard shortcut that flips my screen upside down?

I know how to enable this setting in System Preferences but I want to be able to bind it to a shortcut.

Is it possible to make the same keyboard shortcut revert the display back to normal orientation?

enter image description here

Keyboard shortcut to delete row in Numbers

Posted: 02 May 2022 06:03 AM PDT

I can add rows conveniently using Option+Shift+Up Arrow (insert above) or Option+Shift+Down Arrow(insert below).

Is there a keyboard shortcut to delete the current row?

No comments:

Post a Comment