Indigo Rose Software
  #1  
Old 09-26-2005
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
SAMPLE: Calendar Plugin

Hello,

This sample project demonstrates the Calendar Plugin.

Skills Used: Calendar Plugin Object, If Statements, Multi Line Input, Notes, Dates.

Update: Added actions to On Close event. Also added multi-line note support. Thanks to Worm for the technique!
Attached Files
File Type: apz Calendar_Sample_V6.apz (214.7 KB, 1064 views)
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP

Last edited by Desmond; 10-13-2005 at 09:35 AM.
Reply With Quote
  #2  
Old 10-09-2005
rhosk's Avatar
rhosk rhosk is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Location: Maine, USA
Posts: 1,692
Would someone take a look at this please. I have it writing & clearing entries in a text file (called: "businessCD.txt" in the windows folder - you need to put a blank txt file there). Adding and clearing is fine. But I would like the user to be able to edit an entry (without clearing it). When you edit an existing entry, I can't seem to figure out how to delete that existing entry before adding the update. You'll see what I mean when you look at the test, I hope

I guess a simple question would be: How can you search for the date in the text file and, not only delete that line, but the next line below it (without knowing what the string is). This would solve the problem, unless there's a much better way to do this entirely.
Attached Files
File Type: apz Calendar Test.apz (230.8 KB, 341 views)
__________________
Regards,

-Ron

Music | Video | Pictures
Reply With Quote
  #3  
Old 10-09-2005
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,059
Quote:
I guess a simple question would be: How can you search for the date in the text file and, not only delete that line, but the next line below it (without knowing what the string is).
I have tried up to adding six (6) different blog notes-to-dates and then removing some in the middle and everytime it removes the date and the blog text immedately below that date. Thus, it seems your program is already doing what you intended it to do.

__________________
Intrigued
www.amsuser.com
Reply With Quote
  #4  
Old 10-10-2005
rhosk's Avatar
rhosk rhosk is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Location: Maine, USA
Posts: 1,692
Hi Intrigued, thanks for looking. Here's the dilemma. Add a few dates and notes, works as expected. Now, if you "edit" a certain date - let's say you have a note for the 15'th of the month: "Pay the car payment"

-- Edit this note and add to it, "and walk the dog". The original "Pay the car payment" with the 15'th is still in the text file. Albeit, if you re-open the calendar, the only one you see is the latter one, so that part works great. Now, delete (or clear) the 15'th alltogether. Close the calendar, reopen, and the old 15'th note is there. It needs a way to not only ammend your note, but to delete the current note before updating.

Thinking off the top of my head (I hate doing that ), may need an "Edit" button as well, disabling the add/update button at the moment. This way, you could grab the current text/date that's in the note box (when the user presses "Edit") and clear it that way. It would be better though if the user didn't have to retype everything using this method. I know it sounds confusing, and I know there's a way to do it, just can't grasp it right this second.....
__________________
Regards,

-Ron

Music | Video | Pictures
Reply With Quote
  #5  
Old 10-10-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Quote:
Edit this note and add to it, "and walk the dog". The original "Pay the car payment" with the 15'th is still in the text file.
Man that is some serious stuff, accidentally pay your dog one month and the next thing you know the repo man is at your door. And you know full well the dog's not going to return the money either. Man's best friend? Maybe so, but man's best treasurer? Forget it... Although I will concede that terriers do appear to exhibit slightly more fiscal sensibility than most. Or so they would have us believe anyhow...
Reply With Quote
  #6  
Old 10-12-2005
rhosk's Avatar
rhosk rhosk is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Location: Maine, USA
Posts: 1,692
Ah, finally figured it out. Used the OnFocus to grab the text string matched with the date.
__________________
Regards,

-Ron

Music | Video | Pictures
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar Plugin In APMS 6 mrdude AutoPlay Media Studio 6.0 2 09-19-2005 07:56 PM
Calendar Plugin - suggestions Derek AutoPlay Media Studio 5.0 5 06-23-2005 10:57 AM
Calendar Plugin help please ianhull AutoPlay Media Studio 5.0 4 01-07-2005 11:12 AM
Calendar Plugin markstaylor AutoPlay Media Studio 5.0 4 10-31-2004 09:41 PM
Spotlight: Calendar Object Plugin Desmond AutoPlay Media Studio 5.0 0 03-19-2004 09:50 AM


All times are GMT -6. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software