Hello again, Bernd!
Yes, it works for me too - thanks again.
I will take a look at MacScripter too (thanks for the links) - because the next problem seems to show up sooner as expected (again! ;-))... but more on this one after making my homeworks (Google is my friend, as well as MacScripter now ...
Search found 6 matches
- Tue Jun 21, 2011 10:52 pm
- Forum: Mac OS
- Topic: AppleScript Problem Under Snow Leopard
- Replies: 16
- Views: 17583
- Tue Jun 21, 2011 10:07 pm
- Forum: Mac OS
- Topic: AppleScript Problem Under Snow Leopard
- Replies: 16
- Views: 17583
Re: AppleScript Problem Under Snow Leopard
Hello at last 
The missing part "... as text" was essential - everything is fine now!
)
Thanks again & until next time (for sure!
)
Best regards,
Vlad Ghitulescu
The missing part "... as text" was essential - everything is fine now!
Thanks again & until next time (for sure!
Best regards,
Vlad Ghitulescu
- Tue Jun 21, 2011 9:53 pm
- Forum: Mac OS
- Topic: AppleScript Problem Under Snow Leopard
- Replies: 16
- Views: 17583
Re: AppleScript Problem Under Snow Leopard
Hello again, Bernd!
Sorry, I have to correct myself:
1.- Your script works as expected:
set path2choosen_folder to "MacVlad HD:Users:Vlad:Documents:interesant:Vlad lernt AppleScript:Test:director"
tell application "System Events"
set current_size_choosen_folder to (physical size of disk item ...
Sorry, I have to correct myself:
1.- Your script works as expected:
set path2choosen_folder to "MacVlad HD:Users:Vlad:Documents:interesant:Vlad lernt AppleScript:Test:director"
tell application "System Events"
set current_size_choosen_folder to (physical size of disk item ...
- Tue Jun 21, 2011 9:34 pm
- Forum: Mac OS
- Topic: AppleScript Problem Under Snow Leopard
- Replies: 16
- Views: 17583
Re: AppleScript Problem Under Snow Leopard
Sorry, I've just figured that you live in Bochum (something about 20 km from my home - in Essen!
so that you probably don't need a translation 
- Tue Jun 21, 2011 9:13 pm
- Forum: Mac OS
- Topic: AppleScript Problem Under Snow Leopard
- Replies: 16
- Views: 17583
Re: AppleScript Problem Under Snow Leopard
Hello, Bernd!
Thanks for the quick reply!
Unfortunately I encountered an error (even after I have deleted the second bracket after path2choosen_folder ;-) that said:
"AppleScript-Fehler
"System Events" hat einen Fehler erhalten: alias "...<here comes the path2choosen_folder>..." kann nicht in ...
Thanks for the quick reply!
Unfortunately I encountered an error (even after I have deleted the second bracket after path2choosen_folder ;-) that said:
"AppleScript-Fehler
"System Events" hat einen Fehler erhalten: alias "...<here comes the path2choosen_folder>..." kann nicht in ...
- Tue Jun 21, 2011 5:08 am
- Forum: Mac OS
- Topic: AppleScript Problem Under Snow Leopard
- Replies: 16
- Views: 17583
Re: AppleScript Problem Under Snow Leopard
Hello, John!
I still have the same problem as you described even after replaced "folder" by "item":
tell application "Finder"
set x to path2choosen_folder as alias
get physical size of item x
set curent_size_choosen_folder to result
end tell
if the result = "missing value" then
tell ...
I still have the same problem as you described even after replaced "folder" by "item":
tell application "Finder"
set x to path2choosen_folder as alias
get physical size of item x
set curent_size_choosen_folder to result
end tell
if the result = "missing value" then
tell ...