Applescript Error Code 1700
Contents |
enter a title. You can not post a blank message. Please type your message and try again. Kyro27 Level 1 (0 points) Q: Applescript error -1700 type item when open file I am trying to write an AppleScript that will open my
Applescript Error Number 1700
Bookmarks from Safari using TextEdit and then do a find and replace for domains that apple script error 1700 have changed. I have over 2000 of them.I want to write the AppleScript where if someone else wants to use the same applescript on error continue script they can. So I am trying to use variable for path. When I run the AppleScript I get error below. do shell script "/usr/bin/plutil -convert xml1 ~/Library/Safari/Bookmarks.plist"set userHome to (text of word -1 of (path to
Applescript Error Handling
home folder as text))tell application "Finder" open (userHome & ":Library:Safari:Bookmarks.plist") tell application "TextEdit" to activate tell application "System Events" to tell process "TextEdit" keystroke "f" using command down & option down keystroke tab using shift down keystroke "Find this Text" & tab & "Replace with this Text" delay 0.5 tell front window click button "All" of group 2 of scroll area 1 delay 0.5 click button "Done" of scroll area 1 end tell end
Applescript Error User Canceled
tellend tellerror "Finder got an error: Can't make \"HD:Users:Username:Library:Safari:Bookmarks.plist\" into type item." number -1700 from "HD:Users:Username:Library:Safari:Bookmarks.plist" to item AppleScript Safari, OS X Mountain Lion (10.8.1) Posted on Sep 4, 2012 1:51 PM I have this question too by Niel,Solvedanswer Niel Level 10 (313,129 points) Mac OS X A: Try using:open (userHome & "Library:Safari:Bookmarks.plist")(69465) Posted on Sep 4, 2012 2:12 PM See the answer in context Close Q: Applescript error -1700 type item when open file All replies Helpful answers by Niel, Niel Sep 4, 2012 1:58 PM in response to Kyro27 Level 10 (313,129 points) Mac OS X Sep 4, 2012 1:58 PM in response to Kyro27 Replace the second line with:set userHome to path to home folder as text(69464) Helpful (0) Reply options Link to this post by Kyro27, Kyro27 Sep 4, 2012 2:09 PM in response to Niel Level 1 (0 points) Sep 4, 2012 2:09 PM in response to Niel Made the change to second lineerror "Finder got an error: Can't make \"Macintosh HD:Users:Username:Library:Safari:Bookmarks.plist\" into type item." number -1700 from "Machintosh HD:Users:Username:Library:Safari:Bookmarks.plist" to item Helpful (0) Reply options Link to this post by Niel,Solvedanswer Niel Sep 4, 2012 2:12 PM in response to Kyro27 Level 10 (313,129 points) Mac OS X Sep 4, 2012 2:12 PM in response to Kyro27 Try using:open (userHome & "Library:Safari:Bookmarks.plist")(69465) Helpful (0
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and applescript error 10810 policies of this site About Us Learn more about Stack Overflow the
Applescript Error 1728
company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags applescript error 1721 Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only https://discussions.apple.com/thread/4267552?tstart=0 takes a minute: Sign up AppleScript error “Can’t make \”“ into type integer.” number -1700 up vote 0 down vote favorite I know this error has been covered here but I have been searching through the answers for days now and when I think I have cracked it I end up breaking the code somewhere else. I am trying to run http://stackoverflow.com/questions/21766733/applescript-error-can-t-make-into-type-integer-number-1700 AppleScript in Xcode to make a backup of a folder on a set network machine. The problem I am having is that the backup is date stamped and in a sub folder on the users Desktop. I am trying to avoid using hard POSIX paths to make the final app universal. All the solutions I have found don't take this in to account. I apologize for the messy code but I am still learning AppleScript and so end up hashing different bits of code together. my code is set catFolder to "Catalyst AA" set bckup to "Backups" set myDesktop to path to desktop folder as alias set main_folder to ((path to desktop folder) & "Backups") as string tell application "Finder" if not (exists folder (bckup) in myDesktop) then set main_folder to (make new folder at desktop with properties {name:bckup}) as alias else if not (exists folder (catFolder) in main_folder) then set cat_folder to (make new folder at folder main_folder with properties {name:catFolder}) as alias end if end if end tell try mount volume "afp://10.0.0.1/Content SSD AA/Catalyst/Catalyst 4.40_m373_HD" set d to (yea
from GoogleSign inHidden fieldsBooksbooks.google.com - AppleScript in a Nutshell is the first complete reference to AppleScript, the popular programming language that gives both power users and sophisticated enterprise customers the important ability to automate repetitive tasks and customize applications. https://books.google.com/books?id=rW5k0w_wC3MC&pg=PA132&lpg=PA132&dq=applescript+error+code+1700&source=bl&ots=ogFdfU4cvY&sig=kT4_9RNaAEtpyEW2PQqwqJBUpL4&hl=en&sa=X&ved=0ahUKEwiojMTVq6zPAhWl0YMKHf_aDWEQ6AEITzAF As the Macintosh continues to expand and solidify...https://books.google.com/books/about/AppleScript_in_a_Nutshell.html?id=rW5k0w_wC3MC&utm_source=gb-gplus-shareAppleScript in a NutshellMy libraryHelpAdvanced Book SearchView eBookGet this book in printO'ReillyAmazon.comBarnes&Noble.com - $25.46 and upBooks-A-Million - $34.99IndieBoundFind in a libraryAll sellers»AppleScript http://forum.videohelp.com/threads/270233-Error-Message-1700-1728 in a Nutshell: A Desktop Quick ReferenceBruce W. Perry"O'Reilly Media, Inc.", 2001 - Computers - 499 pages 2 Reviewshttps://books.google.com/books/about/AppleScript_in_a_Nutshell.html?id=rW5k0w_wC3MCAppleScript in a Nutshell is the first complete reference to AppleScript, the script error popular programming language that gives both power users and sophisticated enterprise customers the important ability to automate repetitive tasks and customize applications. As the Macintosh continues to expand and solidify its base in the multimedia and publishing industries, AppleScript is the tool of choice on this platform for creating sophisticated time- and money-saving workflow applications (applets). These applets automate applescript error code the processing and management of digital video, imaging, print, and web-based material. AppleScript is also gaining a foothold in scientific programming, as technical organizations adopt G4 CPU-based systems for advanced computing and scientific analysis. Finally, "power users" and script novices will find that AppleScript is a great everyday Mac programming tool, similar to Perl on Windows NT or Unix.In this well-organized and concise reference, AppleScript programmers will find: Detailed coverage of AppleScript Version 1.4 and beyond on Mac OS 9 and Mac OS X. Complete descriptions of AppleScript language features, such as data types, flow-control statements, functions, object-oriented features (script objects and libraries), and other syntactical elements. Descriptions and hundreds of code samples on programming the various "scriptable" system components, such as the Finder, File Sharing, File Exchange, Network scripting, Web scripting, Apple System Profiler, the ColorSync program, and the numerous powerful language extensions called "osax" or scripting additions. Most other AppleScript books are hopelessly out of date. AppleScript in a Nutshell covers the latest updates and improvements with practical, easy to understand tips, includi
DVD VCD Glossary > VideoHelp Forum Index New Posts Today's Posts Rules Register Help Remember Me? Lost password/username? Forum Archived Forums ffmpegX general discussion Error Message -1700 & -1728 + Reply to Thread Results 1 to 4 of 4 Error Message -1700 & -1728 Thread Tools Show Printable Version Email this Page Subscribe to this Thread Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Thread 3rd Jun 200718:41 #1 nevlik View Profile View Forum Posts Private Message Member Join Date : Jun 2007 Location : United States I converted a VCD to DVD using ffmpegX, and it worked brilliantly. In attempting to convert that DVD to avi, it worked one time, and now I'm getting: AppleScript Error Can't make "25 fps" into type number. (-1700) when I hit Encode. It is a 25 fps movie with subtitles built into the VCD. Also, when I hit Preview under the Filters tab, I get: AppleScript Error Can't get text item 2 of "25 fps". (-1728) Is there some tag somewhere that says "25 fps" where it shouldn't? If so, is there any way to fix that, or should I look for some kind of VCD -> AVI direct solution (couldn't find one of those either)? As an aside, a list of all the error messages would be greatly appreciated. Edit: I attempted to use both the straight VOB and the VIDEO_TS as target files, both failed in the above fashion. Quote 3rd Jun 200721:48 #2 tomlee59 View Profile View Forum Posts Private Message Member Join Date : Aug 2005 Location : Palo Alto, California USA You can (and probably should) go directly from VCD to AVI, using ffmpegx. You may have to rip the .dat VCD file first. Use the ffmpegx tools section to do that. Then, drop the mpg file it produces onto ffmpegx, and you should be good to go. I don't know what those applescript errors ("not an integer" and "no such disk") are complaining about, but perhaps if you post the progress logfile's contents, we'd have more to go on. Just click on the blue "i" button in the progress window. Quote 4th Jun 200702:37 #3 nevlik View Profile View Forum Posts Private Message Member Join Date : Jun 2007 Location : United States Thanks for the reply! I'm not seeing a section under Tools where I can rip the .DAT file, nor