• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Now-Up-To-Date Event Creation from FileMaker 7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Now-Up-To-Date Event Creation from FileMaker 7


  • Subject: Now-Up-To-Date Event Creation from FileMaker 7
  • From: Dana Haynes <email@hidden>
  • Date: Mon, 15 Aug 2005 00:58:51 -0400

Hi all.

The following script will not place the event on the proper date of the calendar unless I specify the date as a literal string in the script.

Now-Up-To-Date uses the default date of "Today" if it does not know what date to put the event on. I have tried coercing the variable "FMMileStoneStartDate", I have tried making it global. I have tried bringing everything into on large tell block.

What am I missing?




tell application "FileMaker Pro"
    show window "Test Database"
    go to layout "Test Database"
    set FMMileStoneName to "Test Label"
    set FMMileStoneDuration to 1
    set FMMileStoneNote to "This is a note"
    set FMMileStoneStartDate to get data of cell "EventDate" -- this variable checks out OK as the script runs... even in the second part below!
end tell


tell application "Now Up-To-Date"
    activate

    

    

    set FMEventID to make new event at category "personal" of document 0 with properties ¬
        {eventtype:"Banner", name:FMMileStoneName, description:FMMileStoneNote, startdatetime:FMMileStoneStartDate} --this line doesn't work but the variable is correct at runtime

    

    set FMEventID to make new event at category "personal" of document 0 with properties ¬
        {eventtype:"Banner", name:FMMileStoneName, description:FMMileStoneNote, startdatetime:"8/2/05"} --this line woks fine

    

end tell




Warm regards,

Dan Hamilton
Paragon
Tamarac, FL 33319

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Now-Up-To-Date Event Creation from FileMaker 7
      • From: "Gary (Lists)" <email@hidden>
  • Prev by Date: QuarkXPress Duping Objects
  • Next by Date: Re: Split PDF and reduce file size - finished script in PDFTK
  • Previous by thread: Re: bug? selection of document 2 of Illustrator CS2
  • Next by thread: Re: Now-Up-To-Date Event Creation from FileMaker 7
  • Index(es):
    • Date
    • Thread