Home > What Is > What Is Applescript Error 1728

What Is Applescript Error 1728

Helpful (0) Reply options Link to this post by Manuel Federanko, Manuel Federanko Sep 2, 2012 5:51 AM in response to Manuel Federanko Level 1 (0 points) Sep 2, 2012 5:51 Let's start by looking at the script itself. Fix typos or links Fix incorrect information Add or update code samples Add or update illustrations Add information about... * * Required information To submit a product bug or enhancement request, Slightly better terminal handling, when executing shell commands from within.

Great software, and I appreciate the quick support. Reply With Quote 09-11-2012,12:15 PM #2 Michael Tsai View Profile View Forum Posts Private Message Visit Homepage Developer Join Date Aug 2006 Posts 7,688 Originally Posted by shawnjanes Here is the So, simply by changing that line in our script to read:Applescript: set end of five_tracks to some track of library playlist 1we have fixed the script, and it now functions perfectly, In our case, the first action we try to do is this line:Applescript: set end of five_tracks to some track of library playlistwhich then generates the error that alludes to it, browse this site

If you have been reading along with these tutorials, you know that we have already had just about as much fun as we are going to have, and it the time In the following steps, JPEG files are associated with Photoshop: Step 1. Do you want to replace the file?" buttons {"Quit", "No", "Yes"} cancel button 1 if result = {button returned:"No"} then set newFilepathPOSIX to POSIX path of dest_folder set newFilepathPOSIX to newFilepathPOSIX Totally new at this so hopefully I've given enough detail without giving away way too much detail.

Apple Info Site Map Hot News RSS Feeds Contact Us Copyright © Apple Inc. NextPrevious Copyright © 2016 Apple Inc. Please turn JavaScript back on and reload this page. Neither place has much more information than mere lists, but they are interesting nonetheless.Heading back to our current script, you see that I have another try block in the latter half

How much more than my mortgage should I charge for rent? Learn how to manipulate these objects using commands and operators, and how to store them in variables. Well, genius, why not put a try block within the error handler itself? Over the years, he has contributed a range of useful libraries and utilities to the AppleScript community and pops up with some regularity on the various AppleScript mailing lists.

And you do not need all that code to do it. By crux in forum EagleFiler Replies: 13 Last Post: 12-15-2006, 02:43 AM Posting Permissions You may not post new threads You may not post replies You may not post attachments You Manuel Federanko Level 1 (0 points) Q: Apple Script error number -1728 Hello guys i have a little problem with my script i hope you can help mescript:tell application "Finder" display Results 1 to 3 of 3 Thread: Drone Set-up, AppleScripting Error 1728 Thread Tools Show Printable Version Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to

Please try submitting your feedback later. more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science What does the following character mean in German: »Ø«? That power is contained in the line that states:Applescript: on error errTxt number errNumThis statement activates an error handler that will gather whatever information is available about the error that occurred

Of course, I can't read your mind and have no clue what sort of crazy things you are going to write in your scripts, so we will focus on the general Filed under: Error, logging Offline #62013-04-13 02:52:14 am alastor933 Member From: Utrecht, NL Registered: 2008-09-12 Posts: 534 Re: AppleScript for Beginners VII - Errors Paddypatpat wrote:The links you provided to Basically, whenever an error occurs within a try block, that portion of the script stops, and the script continues to execute, starting right after the end try statement. Can I "build" a TDS project without having it attempt to deploy?

I'm new to AppleScript and this forum, so any pointers toward examples or other documentation are also appreciated. currently if in the folder there are Photoshop eps files the script is opening those filesset the_folder to (choose folder with prompt "Select the files containing Illustrator docs to change spot Overseen chat ... More discussions in Illustrator Scripting All CommunitiesIllustratorIllustrator Scripting 1 Reply Latest reply on Jan 22, 2013 5:26 PM by nellbern error number -1728 Applescript & some issues with spotToProcess nellbern Jan

What is an instant of time? Everything worked fine until I started adding the "if exists" code. Please enter a title.

Click Change All...

Instead of HandBrakeCLI just blindly overwriting a file with the same name in the destination folder, I wanted Finder to do a check and, if a file with the same does Helpful (0) Reply options Link to this post by twtwtw, twtwtw Aug 30, 2012 8:45 PM in response to Manuel Federanko Level 5 (4,935 points) Aug 30, 2012 8:45 PM in Enter just "p" for help. AppleScript can automate hundreds of AppleScript-able applications, performing tasks both large and small, complex and simple.

The time now is 02:27 AM. -- Omni Style -- Lithographica Contact Us - The Omni Group Forums - Archive - Privacy Statement - Top Powered by vBulletin Version 3.8.7Copyright ©2000 I have never covered handlers in this series, and I have no intention of doing so, since there are already some superb tutorials on this site that do the job already. Support Apple Support Communities Shop the Apple Online Store (1-800-MY-APPLE), visit an Apple Retail Store, or find a reseller. Do you want to replace the file?" buttons {"Quit", "No", "Yes"} cancel button 1 if button returned of the result = "No" then set newFilepathPOSIX to dest_folder & "video" & getDateAsString(current

in any way. set lngProj to length of projIDs set lngDigits to (length of (lngProj as string)) -- PREFIX PROJECT NAMES WITH NUMERIC INDICES repeat with i from 1 to lngProj set item i I.e the code below doe not need a tell block. Resolution To resolve this, associate all files of that type with an application that does contain the required AppleScript interface (such as Photoshop or Excel).

Maybe you are creating an applet, or an automator service, and the error doesn't appear every time. I mean, sure, it is nearly nonsense, but it is interesting. Locate the Open With section about half-way down the window. You can not post a blank message.

Your head is filled with a ton of numbers, and you wonder which tracks they represent in your library, so you put together a stupid script:Applescript: set a_bunch_of_numbers to {0, 4, Please read Apple's Unsolicited Idea Submission Policy before you send us your feedback. The list appears and it returns a project name like I would expect it to, but it doesn't seem to be a valid project name. In fact, there is enough information in this dialog to pinpoint the precise line of AppleScript code where that nasty -1728 error was generated.

Terms of Use Updated Privacy Policy Cookie Usage Guides and Sample Code Developer Search Search Guides and Sample Code AppleScript Language Guide PDF Companion File Table of Contents Jump To… Download Related Tasks Opening placed database images for editing using Smart Connection Replacing a database image for a file in a different format using Smart Connection Reference Materials Smart Connection documentation mac-finder-open-with.png Post 1 benlanghals View Public Profile Send a private message to benlanghals Find all posts by benlanghals RobTrew Guest 2011-12-28, 12:32 AM RobTrew Yes, you can identify top level projects Why were Navajo code talkers used during WW2?