Hi List
A small problem ...
Objective:
Generating a marker name as per the system date and sending to the concerned
marker name. Eg If system date is 18th April 2002 then go to marker name
"April18" of file "xApril" and if system date is 9th September 2003 then go
to marker name "September9" of file "xSeptember" and so on.....
01. Should I use long date or system date syntax. Which is NOT AT ALL
dependent on user's regional/date settings and formats on PC based systems?
02. I could not find the correct method/syntax of sending the player head to
a generated/variable marker name. Somebody must have done this before?
03. The marker names April1, April2 ... cannot be changed as these are being
used elsewhere too.
04. How do I shorten the script below? How to replace the 12 if-commands?
==============
on exitFrame me
global vaMarker, sdDate, sdMonth
vaMarker = systemdate()
if vaMarker.month = "1" then
sdMonth = "January"
end if
if vaMarker.month = "2" then
sdMonth = "February"
end if
if vaMarker.month = "3" then
sdMonth = "March"
end if
if vaMarker.month = "4" then
sdMonth = "April"
end if
if vaMarker.month = "5" then
sdMonth = "May"
end if
if vaMarker.month = "6" then
sdMonth = "June"
end if
if vaMarker.month = "7" then
sdMonth = "July"
end if
if vaMarker.month = "8" then
sdMonth = "August"
end if
if vaMarker.month = "9" then
sdMonth = "September"
end if
if vaMarker.month = "10" then
sdMonth = "October"
end if
if vaMarker.month = "11" then
sdMonth = "November"
end if
if vaMarker.month = "12" then
sdMonth = "December"
end if
sdDate = vaMarker.day
alert "Marker name" && sdMonth & sdDate && "found."
------ alert shows the desired generated marker name
---- go to marker (&& sdMonth & sdDate &&) How do I do this?????
end
==============
HELP !!!
-Manisha
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]