Re: substitution of variables
Re: substitution of variables
- Subject: Re: substitution of variables
- From: Timothy Bates <email@hidden>
- Date: Mon, 02 Sep 2002 12:07:19 +1000
>
Hi, I am trying to replace a variable for its value.
You are trying to use the value of a variable
>
tell application "Finder"
>
set i to the count of items in folder "(path to folder)"
>
set the name of the every item in folder "(path to folder)" whose
>
name begins with a "*" to "*You have 'i' new items"
>
end tell
Almost there already.
Just change
"*You have 'i' new items"
To
"*You have " & " i & " new items"
Presto.
Tim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.