Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
3k views

I'm generating a few Logs on the system, and then copying it to /tmp/MyFolder, and then I move the folder to the desktop, I'm trying to compact it before you move on, but I don't know how to do it, I ...
TheOnlyOneHere's user avatar
1 vote
1 answer
1k views

I have written a program to execute the commands in cocoapp using apple script. There are 2 issues am facing 1) the applescript is exceuting always from the projet directory not from the root 2)cd ...
Angel's user avatar
  • 112
2 votes
1 answer
771 views

Working with an AppleScript file from https://github.com/bat-tomr/dialog-node ... # 06/04/16 09:35:02 # Author: Shane Stanley # Adapted by Christopher Stone use AppleScript version "2.4" use ...
Brett Zamir's user avatar
  • 14.4k
0 votes
0 answers
71 views

I would like to know how I can create a due hereunder progress indicator that shows me real information of the file that I am downloading or is download speed and how much time is remaining to ...
TheOnlyOneHere's user avatar
0 votes
1 answer
1k views

How can I get the name of an outlook account in microsoft outlook using applescript I've tried tell application "Microsoft Outlook" set name to name of (get account) ...
Pari Baker's user avatar
48 votes
8 answers
64k views

I made an app with AppleScript called FRIDAY. When I tell it to 'open chrome', it opens google chrome, this is working on Script Editor and out side of script editor. I can also tell it to 'open a new ...
WeeeHaaa 's user avatar
1 vote
2 answers
425 views

I would like to know how can I identify that a checkbox is selected and then do something. for example: I select the checkbox "Google" and then I click on the button "Go" then the app opens to the ...
TheOnlyOneHere's user avatar
0 votes
0 answers
30 views

I want to execute a shell command in an Applescript application, but this command asks for a user confirmation ie: "Do you want to proceed with this operation and y/n?" I want the answer to be yes, ...
TheOnlyOneHere's user avatar
2 votes
1 answer
312 views

As part of an automation workflow I'd like to be able to store a reference to an applescript object inside an NSMutableDictionary. This is done, in effect, to be able to use variable variable names. ...
Max Snijders's user avatar
0 votes
0 answers
391 views

I'm doing an applescript cocoa app and I'd like to run a function as a notification with the name "Finished Downloading" is displayed. The function changes a value displayed in the main window of the ...
AlexPera's user avatar
  • 380
0 votes
1 answer
205 views

According to Script Editor, there are Objective-C APIs that can be used instead of AppleScript or JavaScript. Here's an example, from Terminal: How do I actually use these? Presumably I'd need headers ...
hjie's user avatar
  • 103
0 votes
0 answers
147 views

I need to make a table in a Applescript project, but I don't know how to make a table... on myTable_(sender) set myTable to {"Hello","World"} end myTable_
Johann Weiss's user avatar
0 votes
1 answer
701 views

I am trying to access folder in my mail using apple script. but did not succeed. My folder Name is : BLABLABLA , it resides under Apple Mail . I think that it should be : set myDir to mailbox "...
Jehad Ghanayem's user avatar
1 vote
1 answer
1k views

I am trying to set up some simple services on a Mac using a menubar/status script with applescript. After having read the web up and down, bearing in mind I am new to scripting, it seems I have ...
Chris's user avatar
  • 325
0 votes
1 answer
141 views

In summary: Using AppleScript-objc and Xcode. applicationWillFinishLaunching_ in one project executes but in another project with identical code it does not execute. In my main project I want to test ...
gcw's user avatar
  • 1
2 votes
1 answer
760 views

I'm getting the following message when running this simple ASObjc program interfaced with Swift: *** -[ASMyObject foo:]: unrecognized selector sent to object <ASMyObject @0x60c000226fe0: OSAID(4) ...
user3225395's user avatar
0 votes
0 answers
172 views

I am attempting to use Xcode and AppleScript-objC to zip a folder containing some network test files but get an error on this section of code. set homeFolder to (path to home folder) set homeDesktop ...
Monpolyme1's user avatar
0 votes
0 answers
569 views

I have created a NSthread in main.m, but what I want is to execute a section of AppleScript in the AppDelegate.applescript with thread when I press a button, the AppleScript like: on run1_(sender) ...
user avatar
1 vote
2 answers
259 views

I'm trying to write an app that should keep running after a button is clicked so I want to minimize it. I have the app main window theWindow connected to the placeholder property theWindow : missing ...
Belerofonte's user avatar
-2 votes
1 answer
74 views

My on applicationWillFinishLaunching_(aNotification) handler isn't working. It works with my "xib" IB, but it doesn't work with my ".storyboard" IB. Where in the IB should I look? I have searched ...
user avatar
0 votes
1 answer
169 views

I'm trying to use AppleScript to control System Preferences in the background. Specifically, I am trying to Enable / Disable "Badge app icons" for each app. There is no global way to enable / disable ...
Daniel's user avatar
  • 11
0 votes
1 answer
60 views

Trying to get variable result from bash terminal and store in Xcode property variable. No C experience, Xcode project is in AppleScript.
Kevin's user avatar
  • 1
1 vote
1 answer
199 views

Part of an application changes the scroll direction of the trackpad with this AppleScript (used as AppleScriptObjC in Xcode AppleScript application). When running, it often pops up with a message ...
ProGrammer's user avatar
  • 1,051
0 votes
1 answer
65 views

As part of a larger project I would like to get the path of the Mount Point of the device which hosts my script. I have designed the following code in Script Editor, however, upon implementing it in ...
ProGrammer's user avatar
  • 1,051
0 votes
2 answers
780 views

I am writing an app using applescriptobjc in xcode, and while making the archive I see the source code is still inside the package, is there a way to hide it or transform it completely to binary code? ...
Kamel Labiad's user avatar