Dialog
Dialog
- Subject: Dialog
- From: ba95 <email@hidden>
- Date: Wed, 25 Nov 2009 08:30:25 +0100
Simple but irritating newbie problem.
If I write :
--
set itemcount1 to count every item of folder X
set itemcount2 to count every item of folder Y
set itemcount3 to count every item of folder Z
set Dialog1 to temcount1 & "blah... blah..." & return
set Dialog2 to itemcount2 & "blah... blah..." & return
set Dialog3 to itemcount3 & "/" & itemcount1 + itemcount2 & "blah...
blah..." & return
set Dialog4 to "blah... blah..."
display dialog Dialog1 & Dialog2 & Dialog3 & Dialog4 buttons
{"Cancel", "OK"} default button "OK"
--
The script does not run correctly.
I have tried to add "as text" to the "itemcounts" unsuccessfully.
If I write :
--
set itemcount1 to count every item of folder X
set itemcount2 to count every item of folder Y
set itemcount3 to count every item of folder Z
set Dialog1 to "blah... blah..." & itemcount1 & return
set Dialog2 to "blah... blah..." & itemcount2 & return
set Dialog3 to "blah... blah..." & itemcount3 & "/" & itemcount1 +
itemcount2 & return & return
set Dialog4 to "blah... blah..."
display dialog Dialog1 & Dialog2 & Dialog3 & Dialog4 buttons
{"Cancel", "OK"} default button "OK"
--
There is no problem.
Thanks to help me.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden