Tuesday, July 6, 2021

Recent Questions - Ask Different

Recent Questions - Ask Different


how to click in apple scipt while in a app

Posted: 06 Jul 2021 12:35 AM PDT

ive been trying to figure this out for ages, and nothing is working.

i tried this first

set x to 866  set y to 600        do shell script "     /usr/bin/python <<END    import sys  import time    from Quartz.CoreGraphics import *     def mouseEvent(type, posx, posy):            theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)            CGEventPost(kCGHIDEventTap, theEvent)    def mousemove(posx,posy):            mouseEvent(kCGEventMouseMoved, posx,posy);    def mouseclick(posx,posy):            mouseEvent(kCGEventLeftMouseDown, posx,posy);            mouseEvent(kCGEventLeftMouseUp, posx,posy);    ourEvent = CGEventCreate(None);     currentpos=CGEventGetLocation(ourEvent);             # Save current mouse position    mouseclick(" & x & "," & y & ");    mousemove(int(currentpos.x),int(currentpos.y));      # Restore mouse position    END"  

but that only clicked my mouse where it was and not at the designated coordinates.

next i tried

tell application "System Events"    click at {123,456}  end tell  

now this worked, but not in an application.

I tried doing this in roblox but this appeared,

window "Roblox" of application process "RobloxPlayer" of application "System Events"  

and nothing happend. please help.

I'm on a Mac and I'm wondering if its possible to make a hotkey, such as if I press the "e" key it will press the "_" key/s

Posted: 05 Jul 2021 06:33 PM PDT

I was looking to make a keyboard command that would enable me to hit the "6" key with the "e" key, I'm looking for a program that I could change easily, and add additional keyboard commands when I need to, I've tried AppleScript and Automator but I couldn't find out how to do it.

The AppleScript code that I've written was

tell application "System Events"

if keystroke "e" then key code "22"  

end tell

If anyone can provide some insight into this I would really appreciate it.

~ Damian

No TP 2.0 Exposed My Bookcamp System: Blocking Windows 11 Upgrade

Posted: 05 Jul 2021 03:43 PM PDT

Damn secure enclave you can't emulate this $60 add-on chip, for PowerEder models.

So in other words Widows 10 version next will-continue to get updates? Or did at that stop when this stupid incorrect came. It's ny number but JUST CALL IT WINDOWS.

In short, no more boot camping bleeding that sucker batterie an AMD old non-integrate sucking heatswap it 80% charge, were is shall stay, until OEL I get intel anomaly

Sorry bilnd people

File Management advice needed (Adobe Lightroom Classic)

Posted: 05 Jul 2021 10:52 PM PDT

I'm finally getting around to moving my old Aperture library (~150,000 images) into Lightroom Classic and need a bit of advice regarding file management.

Here is my scenario:

  • All of my images (from my current LR catalog and my Aperture library) were in a PHOTO_MASTERS folder, which is organzied by Year/Month (2021/01, 2021/02, etc)
  • Over 15 years or so, there are other "extra" files in the PHOTOS_MASTERS folder that are NOT part of my current LR Catalog, nor part of my Aperture Library.
  • I consolidated all the masters from my Aperture Library into Aperture, so they are no longer in the PHOTO_MASTERS folder
  • Now in my PHOTO_MASTERS folder I have all the images from my LR Catalog, AND the extra images that are not in my LR Catalog.
  • I want to separate these two groups of files so that I can review the extra images and decided what to do with them.

How can I separate the files that are part of my LR catalog from the remaining "extra" files? I've reviewed all the options available in LR, but seems they are only useful for finding missing files, not extras.

Thank you...

How can I get my iPhone to be recognized as a microphone on a Windows 10 PC?

Posted: 05 Jul 2021 12:50 PM PDT

I'm attempting to use my iPhone as a microphone for my Windows 10 PC. I can connect the two via a USB cable (I don't have a 3.5mm adapter to use for the phone). I have the Microphone Live app by Von Bruno on my phone, but it's still not being recognized as a microphone when I turn on the app and plug it in. Is there a way to get the iPhone recognized as a microphone through USB connection only?

Terminal 'bash: command not found' for most commands [duplicate]

Posted: 05 Jul 2021 12:42 PM PDT

I am getting 'bash: command not found' for nearly all commands in terminal. I have an important project due and I can make no progress due to this.

I think I might have messed up my $PATH somehow.

When I enter 'bash-3.2$ echo $PATH' I get:

/usr/local/mysql/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin  

I have tried 'bash-3.2$ PATH=$(getconf PATH)' and my $PATH is now:

bash: /usr/bin:/bin:/usr/sbin:/sbin: No such file or directory  

Any help at all is extremely appreciated.

Thank you!!!!!

Do app developers have the option to prevent their window from being 'zoomed'?

Posted: 05 Jul 2021 12:52 PM PDT

There's an option in System Preferences > Dock where you can double click on the top of a window to make it fit the screen, or what Apple calls 'zoom'.

Is there some way where an app developer can prevent this, while still letting their app window be resized by dragging the edges of the window?

Can anybody recommend a good auxiliary monitor for a 2017 21 inch iMac? [closed]

Posted: 05 Jul 2021 11:54 AM PDT

Can anybody recommend a good auxiliary monitor (single display space mode) for a 2017 21" iMac, that isn't either enormous or extremely expensive (or both)?

I've been using an old ViewSonic VA912b since I got the thing, but the resolution is so much lower than that of the iMac itself that it's (to put it mildly) less-than-ideal, and given that we've already had one or two old 912s blow their inverters, I'd rather like to have something better sooner, rather than later.

I wouldn't mind one that works in portrait orientation, although that's a relatively minor consideration.

Missing Content After Migrating from iPhone 7 Plus to iPhone 11. What is the best way to rectify?

Posted: 05 Jul 2021 10:41 AM PDT

I recently got a new iPhone 11. I went through the setup which included, I thought, a migration of all my data from my old iPhone 7 Plus using transfer directly from iPhone. By data I mean photos/videos, text and apps. What I found was that the newest stuff is missing. Maybe like 3 years of data. Probably some other stuff missing also.

For a long time on my iPhone 7 Plus I ignored the "iCloud is full, please upgrade" messages. I never upgraded, staying on the free tier. I suspect that this might be the root cause of this problem. As if the phone data migration was based on the iCloud. Does this make sense?

I have been on my new phone for about a week?

If this does make sense, then what is my best path forward? My ideas:

  • Go back to my old phone, upgrade the iCloud tier. Allow the backup to happen then sync devices. Thereby syncing (copying) the content on the iCloud to my new iPhone 11.
  • Or restore my last backup of my iPhone 7 Plus to my iPhone 11.

Do you think my iCloud situation was the cause of this?
Other possibilities?
What is the best to get my content to my iPhone 11?

MacOS Big Sur: Programmatically dismiss "Disk Not Ejected Properly" notification via Automator

Posted: 05 Jul 2021 12:47 PM PDT

I do a lot of embedded software development. The microcontrollers have mini file systems that my programmer pushes new firmware onto the chip through.

Since I upgraded to Big Sur, I have been inundated with a significant number of Finder "Disk Not Ejected Properly" notifications every time I do the above.

Before Big Sur, these would vanish into Notification centre and I could clear them all. In Big Sur, I cannot.

I tried to record an Automator workflow to press the "close" button on the notifications, and this is fine until I try to run the workflow via Terminal where I get error:

The action "Watch Me Do" encountered an error: "This application must be allowed to control this computer using accessibility features, using the Security & Privacy preferences located in System Preferences, before using Watch Me Do"  

I HAVE allowed these permissions, and tried executing with sudo, but no improvement. I then tried dragging the individual watch me do stages into its own stage to see the underlying AppleScript - as I am not so well versed with AppleScript, it didn't help me much.

There are a number of similar scripts online but they don't work with Big Sur from my testing,

Can anyone help me write an AppleScript that I can run via Terminal to help me dismiss these notifications?

They're driving me crazy and have to leave my Do Not Disturb on all day to hide this mess.

(1: to stress, these are not USB thumb drives or hard disks. These are microcontrollers so cannot be ejected due to the nature of firmware development)

enter image description here

How to copy image directly from Finder to the clipboard? (instead of opening with Preview)

Posted: 05 Jul 2021 11:11 AM PDT

From Finder, how can I copy an image (in an image file, e.g., *.jpg, *.png) directly to the clipboard?
(as opposed to, e.g., opening the file in Finder and then command + c to copy it to the clipboard)

Apple Keynote: Embedded video immediately stops after it's been started

Posted: 05 Jul 2021 01:52 PM PDT

I am creating a keynote with multiple embedded videos within different slides. Some of them are played correctly but four out of seven stop immediately after they started. All videos are played automatically when the slide is shown. After a slide is shown the video starts as expected but stops after one to three seconds. This also happens when the video is started by a click.

As some threads suggest this could be caused by slide transisitons – but also after completely removing them from the concerned slides they're still not working. Also this bug can't be connected to damaged video files – as it will randomly disappear when the video is either placed on a different slide, a different keynote. Also resizing the image causes the time the video stops to change.

I've already tried all the below suggested solutions – which unfortunately didn't work:

I am using Keynote 11.1 on an Apple MacBook Pro M1 2020 with Big Sur 11.1.

All videos where cut and rendered by Adobe Premiere Pro 2021 into an MP4 format.

This bug seems to be totally random since some of the videos are just working fine while others do not. I hope someone can help.

How to make MacOS Catalina to receive incoming X connections (without ssh tunnels)

Posted: 05 Jul 2021 11:01 AM PDT

I am trying to make my MacOS Catalina to receive incoming X conncetions. I have installed XQuartz, then I have issued xhost +. Then on my linux box I set export DISPLAY=my.macos.ip.address:0.0.

But unfortunately, when I ran on my Linux box I get

xcalc &                          [1] 3534  Error: Can't open display: my.macos.ip.address:0.0                                       ➜  ~   [1]  + 3534 exit 1     xcalc  

How to fix? What else can be done?

Don't suggest to make ssh tunnel please.

What does my Mac do while sleeping all night long?

Posted: 05 Jul 2021 04:45 PM PDT

can someone please explain to me what my Mac does while asleep? I am running the latest version of Big Sur (11.4 (20F71)), so I think this is intentional, but I'm not sure why. I have turned off all the battery/power settings that could be the cause (Power nap, etc..)

Please see this screenshot of the times the cpu was working (using istat menus)

enter image description here

Thanks

Toggle Voice Control with a keyboard shortcut?

Posted: 05 Jul 2021 01:39 PM PDT

Is there a keyboard shortcut to toggle Voice Control on and off on a Mac running Big Sur? Not Dictation, mind you... Voice Control (under System Preferences > Accessibility > Voice Control).

voice control

I've looked in the Accessibility section of the Keyboard Shortcuts preference pane. Ain't nothing there. It's also (inexplicably) not an option in Accessibility Shortcuts either.

I use Voice Control regularly but not consistently, so I tend to keep it disabled until I need it. It's a hassle to dive into System Preferences every time I want to enable it.

Before you ask, the reason that I don't keep it on all the time (but asleep) is that the floating microphone window is always in the way of something on my MacBook's screen.

I've Googled and Googled and Googled for this. Nada. I have minimal interest in writing an AppleScript/Automator thing to do this... too fragile and finicky for me... but I'm open to all suggestions.

Making Gmail the default mail app made sharing via Email disappear from Photos app?

Posted: 05 Jul 2021 07:01 PM PDT

I would like use the "Share" menu in Photos to share photos via email. This was by default bringing up the Mail app, but I don't use that and would prefer to have things simply open in Gmail in my browser (Chrome).

I was able to configure GMail as my default mail reader by letting GMail set itself up as the default mail handler in Chrome, and then going to Apple Mail and configuring the "Default email reader" to "Google Chrome", like this:

enter image description here

Great! I thought I was all set. Unfortunately, when I try to use the "Share..." menu in Apple Photos, "Email" is no longer an option. It has simply disappeared:

enter image description here

Is there any way to get the "Email..." share option to show up when using Gmail (via Chrome) as my default mail reader?

How do I migrate my Transmission torrents & settings from an old Macbook to a new one?

Posted: 06 Jul 2021 12:07 AM PDT

How do I transfer my Transmission 3.0 torrents, torrent data files, and colour tags/labels from 1 Macbook Pro to another.

  • My old Transmission app is in the old Macbook Pro MacOS boot ssd on a 2.5" OCZ vertex 4 ssd ~128GB. The actual torrent data files, 960 GB of anime, is on 2.5" HGST HDD 1000GB inside a macCaddy in the Superdrive slot. MacOS El Capitaine.
  • I plan to remove the MacCaddy and HGST drive from the old MAcbook and place it into the new Macbook's Superdrive bay.
  • The new Macbook Pro MacOS Catalina boots off a 2.5" OCZ 460 Vertex ssd ~256GB. How do I put transmission app settings into that drive and have it recognize the location of the torrents in the new HGST Hdd 1000GB drive?

Note:

  1. On my old Mac I customized it so that my Home Folder (Documents, Downloads, Music, Photos, etc) was stored on my huge 1000GB HGST Hdd, it is not on the MacOS boot drive.
  2. Transmission automatically puts my anime torrents in my Downloads folder so my data is targeted to go on my HGST drive automatically.
  3. This setting will be important to transfer from my old Mac to my new Mac.

Repurpose Fusion Drive - Booting from USB 3.2 Gen 2 SSD

Posted: 05 Jul 2021 03:06 PM PDT

iMac Retina 4k 21.5" (2019) 3GHz Core i5 with 8 GB RAM and 1TB Fusion drive. Big Sur 11.2 booting from external 1TB Samsung T7 SSD, backing up to a NAS. Questions:

  1. Is the internal SSD (28GB?) active in this setup?
  2. Can the Fusion drive be formatted and Windows 10 be installed on it using Bootcamp?
  3. Can the Fusion drive be 'split' and the internal SSD 'fused' to the external SSD?

Thanks for any input.

How can I find the metadata of a file in Scanner app?

Posted: 05 Jul 2021 05:00 PM PDT

I am a teacher, and I am trying to verify the date and time when a student took a particular photo. The student has an iPhone (unknown model and OS version) and used the Scanner app by Luni to take the photo. The student says they can't find the date and time on their own, and I am not able to gain direct access to the student's phone due to covid-19 restrictions (the teaching is being done remotely).

I don't have (and have never used) an iPhone, but I assume that if the photo still exists on the phone there is a way to recover the metadata. Could someone point me towards a step-by-step tutorial for how to find a file's metadata either in this particular app or in whatever file manager iOS has built in?

To be clear the student is entirely cooperative, but seems to not be very technically knowledgeable (or even comfortable with technology), and my total inexperience with iPhones renders me unable to provide detailed, specific instructions. I have tried finding an iPhone emulator I can run on Windows, but I can't seem to find one which is free (or freemium) where I can easily see how to get to the app store.

Edit: If I get instructions for how to find metadata in a file manager, I will also need instructions for how to determine through the app what the location of the file is.

Apple Silicon M1 Mac connecting 30" Apple Cinema Display

Posted: 05 Jul 2021 11:06 PM PDT

I am attempting to connect an Apple Silicon Mac Mini, MacBook Air, and/or MacBook Pro to a 30" Apple Cinema Display at native 2560x1600 resolution.

The same question for Intel Macs with USB-C is asked here:

I'm attempting to use the same chain of adapters as listed in those answers, which I have personally tested to work on an Intel USB-C Mac:

  1. M1 Mac (USB-C / Thunderbolt 3)
  2. USB-C to Mini DisplayPort adapter
  3. Mini DisplayPort to Dual-Link DVI Adapter
  4. Apple Cinema Display 30" (Dual-Link DVI)

However, this combination does not seem to work on my M1 Mac Mini.

I get no screen response on the M1 Mac. The monitor's power light is on, and USB-passthrough of my keyboard and mouse works fine, but the screen is not recognized by the Mac.

Do Apple Silicon Macs with Thunderbolt 3 require specific adapters, different from previous Intel Thunderbolt 3 Macs?

The Mac Mini-based Apple Silicon Developer Transition Kit (DTK) did not work with the Apple Cinema Display; I'm hoping that limitation was removed from the shipping version.

I'd like to continue to use the 30" Apple Cinema Display + Apple Dual Link DVI Adapter. Which additional adapters are needed to use that Mini DisplayPort output with an M1 Mac?

Discussion:

Why is "Other" storage in iPhone 8 taking up over 50 GB?

Posted: 05 Jul 2021 10:03 PM PDT

I tried resetting my iPhone 8 by selecting "Erase All Content and Settings", but for some reason, when I check my storage after, "Other" is taking up 50GB??? I haven't even backed up any new/old data into the phone, so it should have been in a clean slate. For some reason, "Other" is still taking up 50GB. What's going on?

how to show all boot options and then hide them from rEFInd?

Posted: 05 Jul 2021 09:05 PM PDT

I believe I have rEFInd running

When it's active, refit and a duplicate windows partition show up. (i have kali, windows 10, and OS X catalina) and then choose JUST those three to boot from, but there's two extra. a extra windows boot option, and the rEFIt

I don't want them there.

I cannot find rEFIt in libraries/startupitems there is NOTHING there, and don't know if its in EFI because nothing in there is names rEFIt, windows

Is there a way to see all bootable drives?

How do you enable “bootable” on MacBook?

Posted: 05 Jul 2021 10:05 AM PDT

12" MacBook (Early 2016) Model: 1534 EMC 2991

I'm trying to use a USB to use a software on a MacBook that won't boot. I've been doing everything from recovery mode.

Everything is fine with the USB it's journaled, guid, writable, except one thing, and that's bootable. It says "no" for it. How would I go about enabling this setting?

Is there a command in terminal to help me enable this setting?

Thanks.

enter image description here

Edit: and also for some reason when I hit "option" when I boot, I only see the option to boot into internet recovery mode it wont give me the choice to select my usb. Am I doing something wrong?

Edit #2: so when I try downloading something I get his message that my SSD is full and this could be the reason why it won't mount. Does anyone know how to free up space on it? Erasing won't work. enter image description here

iOS 13 App Store update missing from the Account panel

Posted: 05 Jul 2021 04:02 PM PDT

I transferred my wife's data to my prior iPhone SE (2016) today. The old iPhone was running iOS 12 and the new phone is updated to run iOS 13.5.

Everything seems to be working so far except for the App Store. When you go into the App Store and tap on the account icon at the top, it shows the account panel with her name logged in, "Purchased", "Redeem Gift Card or Code", "Send Gift Card by Email", "Add Funds to Apple ID", "Personalized Recommendations", and "Sign Out".

It should be showing a list of applications to update between "Personalized Recommendations" and "Sign Out", right? Or do these sections not show at all in the new location in iOS 13 if all of the apps were already updated prior to the phone change and in the old location in iOS 12?

(And if so, that's dumb that Apple can't apply the data from the old place to the new place!) I just want to make sure it transferred correctly before her old phone is repurposed for something else. Thanks for any insight.

Allow ssh-keygen-wrapper to access "System Events" for all users in the same computer

Posted: 05 Jul 2021 08:07 PM PDT

When I run my AppleScript in a remote mode, I get this message in an user where the script runs:

"sshd-keygen-wrapper" wants access to control "System Events". Allowing control will provide access to documents and data in "System Events", and to perform actions within that app.  

Is it possible to allow ssh-keygen-wrapper to access System Events" for all users in the same computer ONLY once, i.e. each new user in this computer doesn't need to allow this ssh-keygen-wrapper again?

It doesn't matter if it's a manual or programming solution.

How can I use the output sound from GarageBand as my 'mic' for Skype or similar?

Posted: 05 Jul 2021 12:56 PM PDT

I run GarageBand on my MacMini with a simple USB audio interface. I want to be able to play my electric guitar through GarageBAnd so the sound with SFX is what is fed into Skype and other video chat sites, as if this were my microphone.

But I think selecting the USB device as my audio input will give me only the dry sound from my instrument, not the modified sound from Garageband? So how can I do what I want without expensive equipment?

I have realised my USB interface has a mixer inputs/playback which means through headphones I can choose to select only the processed output from GarageBand if I set the interface as my audio-out... but how do I get that back into the Mac short of putting a cable from the headphone-out => Mac line-in?!

How can I disable iMessage suggestions in iOS 13’s share menu?

Posted: 05 Jul 2021 12:01 PM PDT

In iOS 13, when I try to share something, the first row is all suggestions about who I should text whatever I'm reading to. How can I disable this "feature" so that it stops taking up space in the share menu?

Macbook failing to connect to 5GHz networks

Posted: 05 Jul 2021 03:43 PM PDT

I have a MacBook Pro (Retina, 15-inch, Mid 2014) running on MacOS 10.14.3 (18D42) and since some time I have been unable to connect to any 5GHz WiFi networks while 2.4GHz networks from the same routers are ok.

I have tried several things to no avail:

  • deleting the network in my wifi settings
  • using three separate and different brand routers
  • resetting SMC and NVRAM
  • deleting settings in /Library/Preferences/SystemConfiguration/ directory
  • made the 5GHz open without passwords
  • Changed SSID names

The Macbook is able to see the network; however, when I try joining the network, and I enter the password I keep getting an error "the wi-fi network requires a WPA2 password".

Interestingly, I get the same error when the authentication method is set to "Open".

wifi error

I am 100% sure that the password is correct as I've tried several times (also setting up the 5GHz on different routers). The networks are working (e.g. from my iPhone, Android phones).

Lastly, below are some of the details of the network setup in my Wi-Fi router. Wi-Fi router configuration

How can I see the phone number dialed after I initiate a call?

Posted: 05 Jul 2021 09:48 AM PDT

In the Phone app (iPhone 5, iOS 6.1.2), I click on a contact's number, the call is initiated and starts ringing.

For a brief moment at this point, the label of the number (home / work / etc…) is displayed alongside the contact's name, but it quickly is removed and replaced with the call timer counting up and only the name (and picture of the contact) are shown.

Picture of the call screen

How can I see the number that is being called during a phone call?

No comments:

Post a Comment