Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
47 views

I have an angular server running in the localhost, and I want to call it from Applescript. The scenario is I have a list of tweet IDs inserted as a list in angular, and it's running as localhost. Now, ...
Gautam Shahi's user avatar
0 votes
0 answers
31 views

I would like to delete all rows in a csv = 75% of the lowest readings from column 3 . Is this possible using some thing with “awk -F ',' '$3>= ….” Or would I have to sort the column with eg “sort -...
nowsnothetime's user avatar
0 votes
1 answer
216 views

I'm writing a program in AppleScript that creates a menu in the menu bar on MacOS. This is my code: use AppleScript version "2.4" use scripting additions use framework "Foundation" ...
Rumi-SE Must Follow the CC-SA's user avatar
0 votes
0 answers
101 views

I'm using the following command to get a mount point from a disk: do shell script "diskutil info /dev/disk4s1 | sed -n 's/.*Mount Point: *//p'" however if I have two disks with the same name ...
TheOnlyOneHere's user avatar
-1 votes
1 answer
174 views

I have been trying to figure this out for a few days now and still cannot understand how this works. I have created a new AppleScript Project in Xcode version 13.4.1 and added a CheckBox and a Button. ...
Ian Barber's user avatar
1 vote
1 answer
183 views

I have the following to identify if a volume is mounted: on volumeMounted:aNotification set volumeName to (NSWorkspaceVolumeLocalizedNameKey of aNotification's userInfo) as text if ...
TheOnlyOneHere's user avatar
0 votes
1 answer
243 views

Currently, I am trying to open list of the URLs in the certain specified browser. I tried following without success. If anybody knows how to do it, please help. -- script: Open list of URls in certain ...
Robert Kniazidis's user avatar
0 votes
2 answers
1k views

I am trying to access the Privacy -> Accessibility tab using Applescript. Can anyone help me? I need to display a list of all the programs in the section: Accessibility Camera Microphone Photos ...
Georgy's user avatar
  • 15
0 votes
1 answer
1k views

I have gone through stack overflow, this might seem like a duplicate question but this is more like an extended question to the existing issue! I am facing a very strange issue, in my application we ...
Ananth Kamath's user avatar
0 votes
1 answer
907 views

I am new to MacOS standalone application development and I am working on fixing issues in our existing application. Our application access the Microsoft Word document and perform insertion of text ...
Kamal's user avatar
  • 523
0 votes
0 answers
61 views

I have a button in the style "Recessed" I would like that when I click on it it keeps its active state with its appearance something I see in applications with Sidebar on macOS, as in the image below, ...
TheOnlyOneHere's user avatar
0 votes
1 answer
69 views

I'm trying to simulate what Lets Move does, that is, when the user runs the application he checks to see if the application is running from within the Applications folder if he is not, he displays an ...
TheOnlyOneHere's user avatar
0 votes
1 answer
531 views

I'm trying to use LestMove to be more precise the second implementation method where it says: Option 2: Copy the following files into your project: PFMoveApplication.h PFMoveApplication.m If your ...
TheOnlyOneHere's user avatar
0 votes
1 answer
219 views

So I have this Objective-C code it does something that I had been trying to wrap my head around with plain Applescript, and also tried and failed with some python that I tried (and failed at). I'd ...
Chris Norman's user avatar
0 votes
1 answer
398 views

I’m trying to create an Applescript-Objc to mount multiple EFI partitions, but I’m not able to mount the EFI partitions on external drives only those on the internal disk, what I've done so far is ...
TheOnlyOneHere's user avatar
0 votes
1 answer
197 views

I need the applescript to run tabset test command to change the name of the current tab of iTerm. -- Launch iTerm and log into multiple servers using SSH tell application "iTerm" activate ...
leo's user avatar
  • 1,215
0 votes
2 answers
614 views

Having some trouble calling Cocoa methods from within AppleScript. For example, running the following snippet of code produces an error when ran using osascript: set sharedWorkspace to call method "...
broment's user avatar
  • 76
0 votes
1 answer
100 views

I would like to know how to make an ImageView drag and drop, I will drag a certain file to an ImageView and it will render an action. I know I can use the code below in a Script Editor and save it as ...
TheOnlyOneHere's user avatar
0 votes
2 answers
279 views

I have a subroutine to check if a disk is mounted, I would like to know how do I make this subroutine always run every 5 seconds. thanks in advance! on checkMyDiskIsMounted() tell ...
TheOnlyOneHere's user avatar
0 votes
0 answers
87 views

I am trying to make my ObjC application scriptable. I included .sdef file into my project, created appropriate classes, very simple, just one command. Anyway, Apple Script Editor can't read my ...
Jared's user avatar
  • 180
0 votes
0 answers
130 views

when I run a display alert, or a system alert is displayed I get realize there is a little animation, from the window displayed, is there any way to do this with an image (ImageView) programmatically ...
TheOnlyOneHere's user avatar
0 votes
1 answer
307 views

Is there any way to change the selection color of a sidebar item? For example the default color of macOS 10.14.x dark theme is blue, would it be possible to change this color? I took a look here: ...
TheOnlyOneHere's user avatar
0 votes
1 answer
135 views

I have a button to perform a task and if an error occurs during the process a warning is displayed using NSAlert "Sheet window" in this moment I am using multiple .XIB files in a project, I can't ...
TheOnlyOneHere's user avatar
0 votes
1 answer
187 views

I would like to know if there is a possibility to use choose file like "Choose file sheet" if the answer is yes could you give me an example?
TheOnlyOneHere's user avatar
0 votes
1 answer
543 views

I already have some code that will do most of what I need using NSIMage and NSColorSpace. Unfortunatly I am trying to recreate a colorspace/profile change that happens in Photoshop, and it is a bit ...
Chris Norman's user avatar

1
2 3 4 5 6