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

I've this app which needs to store images shown in a webview locally, and show those stored images again inside the same webview. This what I've gotten so far... // After download button clicked....
dianakarenms's user avatar
  • 2,705
3 votes
2 answers
5k views

I am trying to create a menubar app in OS X Yosemite that simply consists of a dropdown menu with submenus. This menu and its submenus would be populated by an applescript script. I have found ...
yannikrock's user avatar
0 votes
0 answers
565 views

I have developed an Applescript code which does the following: • Go through a folder • Get all .docs/.xls/.ppt/.pdf • Question the user stuff like: "Which slides to include from .ppt?", "Which ...
DEls's user avatar
  • 271
0 votes
2 answers
562 views

Hello everyone I am wondering how to continue with the script execution while afplay is running? For example... do shell script "afplay /song.mp3" say "Hello, nice to meet you, what's your ...
Мартин Иванов's user avatar
1 vote
3 answers
536 views

Im building my first app in Xcode using Applescript Objc - I have managed to get it to swap an image (in an outlet called imageViewOne) based on the code below: -- Declarations property ImagePath : ...
moonmonkey's user avatar
0 votes
2 answers
718 views

on addButtonClicked_(sender) if readyForFirst = true then set finalNumber to faceNumber's integerValue set readyForFirst to false else set ...
James's user avatar
  • 213
-1 votes
1 answer
80 views

I tackled ApplescriptObjC. I started making apps with the interface builder and such. But can you make actual games in ApplescriptObjC like you can in normal Objective-C? What is the difference other ...
James's user avatar
  • 213
2 votes
1 answer
872 views

I'm trying to get the value of a check box in ApplescriptObjC. on goClicked_(sender) set checkBoxValue to checkBox's stringValue as boolean end goClicked_ This code doesn't work. ...
James's user avatar
  • 213
0 votes
1 answer
312 views

I've written a small application for OS X in AppleScriptObj-C containing a UItextfield. Everything works fine except that when user has entered text and erased it, the textfield becomes nil. How can I ...
patej's user avatar
  • 1
0 votes
1 answer
147 views

I am trying to do some math using the "date" command. But fist i need to turn text input if a date "MM/DD/YY" into something I can work with. In applescript I can do this: set MyTempTextInfo to "...
Tim Joe's user avatar
  • 485
1 vote
2 answers
312 views

I’m using this code to add each selected track in iTunes to a list in AppleScript Obj-C: tell application "iTunes" set these_titles to {} if selection is not {} then ...
D Schlachter's user avatar
4 votes
1 answer
721 views

I can't seem to figure out how to identify what entitlement keys are available for a given app. How does one query an application for its entitlement keys? Example: iTunes has these entitlement keys: ...
William Gustafson's user avatar
1 vote
2 answers
669 views

I'm having the craziest time trying to get a thousands separator (comma) into my numbers using Applescript. I found two subroutines on the net that supposedly will do the trick, but nothing seems to ...
pianoman's user avatar
  • 835
0 votes
1 answer
102 views

My Application has created ".hungama" folder inside users home directory , i wanted to delete this hidden folder by Apple Script.My normal script is deleting non-hidden folders please help me.
Krunal Darji's user avatar
0 votes
1 answer
710 views

I'm trying to make it so when a button is clicked, the current GUI closes and a new GUI opens. I created a second interface to open. So right now, I have 2 xib files, and the AppDelegate file. Do I ...
James's user avatar
  • 213
6 votes
4 answers
5k views

I'm trying to write an application for swift control iTunes. But when initializing the application returns an object of type AnyObject, but must iTunesApplication. This object does not respond to ...
WE-St0r's user avatar
  • 61
0 votes
1 answer
602 views

Automator Action I am making a custom Automator action for manipulating text input. I tested the input to see what class it was and the result was __NSArrayM. This means that I need to somehow convert ...
Jonathan Komar's user avatar
2 votes
1 answer
638 views

Using Xcode 5.* for a cocoa-applescript automator action. Interface is a a simple popup menu that gets populated using an outlet with: tell thePopupMenu to removeAllItems() tell thePopupMenu to ...
jweaks's user avatar
  • 3,802
2 votes
1 answer
240 views

This one-line Applescript works fine on my Mac: tell application "Finder" to open POSIX file "/Development/Applescript/Rapport.docx" However it fails from a trivial ApplescriptObjC project: on ...
Jean-Denis Muys's user avatar
3 votes
1 answer
364 views

I have a simple apple script as follows: tell application id "com.adobe.InDesign" set sel to selection end tell This script is executed fine, but when the InDesign displaying Save Confirm Dialog, ...
mh taqia's user avatar
  • 3,636
0 votes
1 answer
127 views

I can't quite get my Javascript to select this item in a list. There are two identifiers that I must use to select an item in a list, using Javascript in an Applescript. I can't feasibly script the ...
pianoman's user avatar
  • 835
1 vote
0 answers
107 views

I have an app that I want to just show a preview of the iSight camera. I am trying to use QTCaptureView to accomplish this. I have the QTCaptureView window linked in interface builder to the correct ...
petey_wheatstraw's user avatar
0 votes
1 answer
238 views

I am currently making use of the suspendExecution and resumeExecutionWithResult of NSScript command in order to execute Apple Scripts asynchronously in my application. Provided below are the set of ...
sandeep593's user avatar
2 votes
1 answer
707 views

I have the following line in an AppleScript project: set script_path to "/tmp/usbmuxd-1.0.7/python-client" When I try to compile, it highlights the 1.0.7 and gives up this message: What does this ...
Danijel-James W's user avatar
0 votes
1 answer
183 views

I want to use the Cocoa-function removeItemAtPath to delete a folder with a path specified in AppleScript part but don't know how to accomplish that through AppleScriptObjC. Can you help me by giving ...
Hedge's user avatar
  • 16.8k