myGully.com

myGully.com (https://mygully.com/index.php)
-   Mac (https://mygully.com/forumdisplay.php?f=403)
-   -   Applescript funktioniert nicht (https://mygully.com/showthread.php?t=2998593)

DiamondJunior 07.08.13 16:49

Applescript funktioniert nicht
 
Guten Tag!
Ich habe folgendes Problem:
Ich bin seit einiger Zeit dabei ein AppleS***** zu schreiben, um eine Datei zu ersetzen.
Dem Skript sollte zu entnehmen sein was es tun sollte, jedoch kommt immer der selbe Fehler:

error "„folder of alias \"Macintosh HD:Applications:Adobe Flash CC:Adobe Flash CC.app:\"“ kann nicht gelesen werden." number -1728 from folder of alias "Macintosh HD:Applications:Adobe Flash CC:Adobe Flash CC.app:"

Hier das Skript:

set Software to choose file
open folder of Software
tell application "Finder" to get name of startup disk
tell application "Finder"
set target of Finder window 1 to folder "Frameworks" of folder "Contents" of application file Software
copy file "amtlib.framework" to trash
set Crack to file "amtlib.framework" of folder "Resources" of folder "Contents" of application "AdobeCrack.app" of folder "applications" of startup disk
copy file Crack to Ziel
end tell


Vielen Dank schonmal im Voraus

chillaz200 20.08.13 20:51

wieso nutzt du immer noch die veraltete amtilib mehtode?

DiamondJunior 22.08.13 18:15

Neue Methode?
 
Welche neue Methode gibt es denn da?


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:14 Uhr.

Powered by vBulletin® (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.