Page 1 of 1

Move graphic object, scheduled by specific date

Posted: Thu May 26, 2016 6:11 pm
by joran
Hi

Is there a simple way to move a object (let's say a graphic Oval) into a specific place on a card
using a date values, not time values

ex. move graphic "oval" to 100, 100
// I want this motion to take place at ex. Thursday, July 15, 2016 //

I have looked into send messages etc but I don't really understand how, or if this send message is the right way to go . . .

// Joran

Re: Move graphic object, scheduled by specific date

Posted: Thu May 26, 2016 6:34 pm
by ClipArtGuy
You are definitely on the right track with looking at send. Try this in a button with a graphic "oval" on the card somewhere other than 100,100. This script will check the date every 12 hours (43200 seconds) and move the grc oval if the date is 7/15/16.

Code: Select all

on  mouseup
   if the short date is "7/15/16" then
      move graphic "oval" to 100, 100
   else
      send "mouseup" to me in 43200 seconds 
   end if
   
end mouseup

Re: Move graphic object, scheduled by specific date

Posted: Thu May 26, 2016 9:36 pm
by joran
Works great, big thanks !