|
#1
|
||||
|
||||
|
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!
__________________
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. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
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.....
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
Ah, finally figured it out. Used the OnFocus to grab the text string matched with the date.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
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.









), 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.....
Linear Mode

