Quantcast
Channel: iOS, Mac, tvOS, watchOS Programming
Browsing latest articles
Browse All 50 View Live

AppleScript/Automator to move files to specific folders based on filenames

Hello, I am trying to send certain files to specific folders based on filenames. Most things I want to do like this, I can do with Hazel, but not this just because of the sheer number of rules I would...

View Article


Image may be NSFW.
Clik here to view.

Batch convert pages to PDF with automator or script?

Is there a quick way to batch convert pages files into PDFs using Automator? I couldn't see anything obvious... thanks

View Article


Use Automator to Create Dated Folders?

I back up my daily-created videos on a backup hard drive. The videos are organized in a folder system (attached screenshot) by year, month, day of month. I am very tired of creating a new folder each...

View Article

Can't Build for Apple Silicon

According to the developer documentation all I have to do to build my application for Apple silicon and Intel is click on application in the task bar and select appname>Any Mac (Apple Silicon,...

View Article

Image may be NSFW.
Clik here to view.

Xcode keyboard shortcuts

Hi all, I just wanted to try Xcode and Swift for some development. Which keyboard shortcut am I supposed to hit here to get the list of fixes and then select a fix? My cursor is at line 24, at the red...

View Article


Swift Playgrounds comparison operators

So, I'm currently learning Swift (with no programming experience at all) with Swift Playgrounds. I am currently on Learn To Code 2 at the level Round Up the Switches. My solution for this level was:...

View Article

XCode Adding Crap to my Window Menu

I have a Window Menu in my application. It has four items: Minimize, Zoom, a separator and Bring All to Front. When I run the app xCode has added 10 items: Move Window to Left Side of Screen, Move...

View Article

Is there a way to make a program use only the efficency cores on mac?

So with apple silicon, is there a way you can make something run only on the efficiency cores? As a stupid experiment, I want to run cinebench only om the efficiency cores to see how powerful the...

View Article


Interesting power consumption findings on m1 macbook pro

Okay, so I was tinkering around with my m1 macbook pro today. Obviously, I use the sudo powermetrics to look at power consumption. So during a normal cinebench r23 multicore run, the performance cores...

View Article


Is it possible to connect iPhone to PC via wifi?

my phone is broken at the usb port, and i really need to connect it to a PC, i mean, like connecting with a usb cable (having it show up in the Windows file explorer etc.) the phone and the PC are in...

View Article

Why does launchd suddenly complain about error 78: Function Not Implemented?...

I have an old 2010 MBA which runs High Sierra. It is located at a condo which I visit for a few days each month. The machine runs 24/7 mostly to upload webcam photos to a host every four minutes, to...

View Article

script to copy photos from Mac photos smart album

Hi everyone, I'm looking for some code that I can run on my Mac to do a specific task, I understand coding but I am really antiquated, shell & Perl is about my limit, so appreciate the help. I have...

View Article

Running shell script every 30min with Automator?

I'm trying to emulate the following pattern: Have several variables defined into Automator script Running the Automator script will ask you what variable to use, from defined list Automator will...

View Article


Can someone confirm that the Back Wide on the 12 Pro Max supports "30 fps" @...

This is Apple's ONE & ONLY image sensor with larger, 1.7um pixels (vs. 1.4um pixels on ALL other 12 Mpx image sensors). I don't have access to a 12 Pro Max. Thanks in Advance.

View Article

How to add xml tags in a text file and save as .xml using AppleScript?

I have job.txt with contents: Purolator Edmonton 607431612227 And I want job.xml with contents: <tags> <tag1>Purolator Edmonton</tag1> <tag2>607431612227</tag2>...

View Article


AppleScript and Automator

I'd like to learn AppleScript as I am a heavy user of Alfred and Automator. Is AppleScript still worth learning? Can anyone recommend some good books as well, Amazon has some, but they are old.

View Article

AppleScript // Retrieve data from a website to be stored in Numbers

Hello everyone, I am writing to you because I am very (very) new to the use of AppleScript and its "programming". After many hours of unsuccessful research I would really like some help. I’ll explain...

View Article


Problem With connection SMB in Big Sur 11.1

Hello, i have a problem to connect with a server to SMB I try with "smb://myserver" and the SO need user credentials, I introduce but the so says me "I can't connect. But if I try with...

View Article

Code signing Issue? - Git not working

Hi fellow MacRumors community members, I have an issue with Git, maybe someone has an idea how to fix it. Last night I finally got around to installing Big Sur 11.1 on my M1 MacBook Air, but now...

View Article

Turn off MLRegressor classes automatic debug descriptions in console

Does anybody no if there is a way to turn off automatic debug printout to Xcode console of MLRegressor class's ? I've recently been experimenting with CreateML framework, which is part of the CoreML...

View Article

how to tell if file is in use on shared network mac

Hi how to tell if file is in use on shared network, only Mac's on the network

View Article


Using Applescript to get name of current (random) desktop image

I've been searching all over, and can't find code that actually works for this. My mom randomly rotates through ALL of her photos (from Photos app) on her desktop, and very often wants to know which...

View Article


Xcode indentation formatting

I downloaded several pre-made configuration profiles (xml) but when I use Xcode to edit each of them, the indentation formatting for each keys, string, integer, elements, etc came in one single line. I...

View Article

Cannot install Xcode 12 Beta 5

Hi, I cannot install Xcode 12 Beta 5. When I click on the Xcode12beta5.xip file it begins to extract the files but then it shows a dialog which says The archive "Xcode12beta5.xip" can't be expanded...

View Article

Which programming language for a complete beginner?

I want to teach myself to code. However, I'm not finding Swift very "friendly," so I've restarted with Python. If you were starting to learn to code, which language would you go with, and why? Thanks...

View Article


CS50 at Harvard

I just started the Harvard University CS50x online MOOC (Massive Open Online Course) about 3 weeks ago and I think it's FANTASTIC! For a relative programming newbie (not counting learning some BASIC...

View Article

Best place for freeware

Hi I have a ton of freeware on MacAppStore, last weeks there been coming mail that I must update to look like BigSur apps and ARM code. Some apps that I posted a couple of months ago, some back in...

View Article

Mips, self modifying code

i, i need help with self modifying code. i have written a program that does some operations once, except once the result is 7, program will have to modify itself so that from then on entering addition...

View Article

Applescript: exporting numbers file to PDF

I have the following code to print a pages file: Code: tell application "Pages" set Doc to open PathFileDoel as alias set DocPDF to PathFileDoelPDF export Doc to file DocPDF as PDF close Doc end tell...

View Article



Applescript: Read EXIF data and change "created date"

Here's the deal. I have a bunch of photos that I have imported and exported out of iPhoto which changed their "created date" in the Finder. However, their "capture date" is still the same in the EXIF...

View Article

Basic Automator Image Capture Plugin Question

I am trying to create a really simple Image Capture Plugin in Automator that lets me : - select Images in image Capture - Converts selected Images to HEIC - Imports them to Photos - Deletes the files...

View Article

Creating a simple Hello World launch daemon

I'm having a hard time creating a simple hello world launch daemon. It is launched every 10 seconds and just logs "hello world" to the console. So I just compiled the Command Tool (Foundation) template...

View Article

Query on app development (API's)

Hi, Bear in mind I am not a developer, but a product designer seeking advice on what best solution to take. I'm looking to create a PHP based SaaS which will have an app for iOS+android and responsive...

View Article


JPEG to HEIC in Photos

Is there a way to create a script (or native method in Photos app) to convert JPEG imports into a HEIC? For context, I shoot photos on my iPhone, SLR and an android phone For the most part (except...

View Article

HEVC Main10 Hardware Encoding

Are there any Macs that support 10-bit (Main10 Profile) HEVC (H.265) encoding with hardware acceleration in the VideoToolbox framework? Someone created an Open Source command-line tool that lists all...

View Article

MD5 Self sum

Hello everyone, Sometimes you need to get the md5 amount of the mini soft when running the software when you attach this mini soft as a plugin. For the windows solution, I have this code: Code: LPTSTR...

View Article


Is it possible to have both types of views in the same app?

Is it possible to have both types of views in the same app? I mean one viewcontroller in portrait mode and another viewcontroller in landscape mode?

View Article


Hunting for Leopard Xcode Core Reference Documentation

I am searching for the Apple Developer Connection Core Reference Library for Leopard docset for a PowerPC supported project. Unlike Xcode 2.5 on Tiger, the docs which shipped with Xcode 3.1.4 on...

View Article

Submit Apps from 2011 MacBook Pro

I used to develop apps on a 2011 MacBook Pro and submit them to the AppStore. Can I still submit apps from that old machine or do I need more recent hardware/software?

View Article

Combine command line tools into a command line toolbox

I have a number of small command line tools made over time, and I'm thinking of combining them into one command line tool. It's not a project as yet, but just a concept I'm playing around with, so...

View Article

Base M1 MacMini for Xcode only. 8gb or 16gb?

Hey, I'm having a hard time deciding between 8gb and 16gb for the m1 Mac mini. I work on an iOS project that has around 2000 files. Yeah 16gb should be a no brainer but I have a constraint. I live in...

View Article


how to disable a purchased app that has been refunded

I wonder if someone knows if it is possible to disable an app for which the purchaser has requested a refund? Is there some way to check that with the Apple App Store?

View Article

Maintaining motivation and self confidence when learning

I am not sure where else to post this but I have been doing Swift for about a month now and there is so much that I do not know that at times it just feels overwhelming. Going to sites like leetcode...

View Article


Could use some command line help. Should be easy...

Hello! I am wondering if somebody could whip me up an app or script that scans a directory recursively and prints the output to a file. I want to know size, created date, modified date, if its a folder...

View Article

how to understand the folder premission concept in big sur? what to study?

HI just updated my mac to big sur. but i found a lot of apps can't access folders... like amule, or like an app in wine. I don't know what to search.. Im totally lost... I understand there is something...

View Article


“Couldn’t Load App

“This invitation has been revoked or is invalid. Request a new invitation from the developer.” I got an invite from developer via TestFlight and that’s the notification I got after visiting the...

View Article

How to remove duplicate keys in a Dictionary

Is there some software that can take a Dictionary of key: value pairs and find all the duplicate keys? The dataset was input manually and a mistake was made somewhere in a long list of data. All we can...

View Article

This Applescript code works in Mojave but not in Big Sur MacOS.. please fix?

Hi so I have this Applescript code that basically works this way: You drop an image file on the Applescript icon and it fills Mac's clipboard with the image's dimension and file name (html format). Now...

View Article

Index of all apps on the App Store

Is there a list of all apps on the Apple's app store somewhere for me to index and search ? My friend is writing a Python script for some research and can do a search via script on...

View Article


Set NSSavePanel Name Field

I have an NSSavePanel with a custom accessoryView in my Mac OS application. The accessory view is a popup menu with a list of file types that the user can use to save the file. I can initialize file...

View Article

Browsing latest articles
Browse All 50 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>