Welcome, Guest. Please Login or Register.
eccoMAGIC Forums
07/21/24 at 21:51:12
News: "Breathtaking" (Check out the new MagicView release at EccoTools.com)
Home Help Search Login Register


Pages: 1
Send Topic Print
  Rating
Rate:
Rating:
Rating: 0.00
Votes: 0

5
4
3
2
1












5
4
3
2
1


1


2


3


4


5


6


7


8


9


10

My LUA Rules are Not Triggered by External DDE Changes (Popularity: 4526 )
rb
Senior Member
****


I Love Ecco!

Posts: 88
Show the link to this post My LUA Rules are Not Triggered by External DDE Changes
09/22/08 at 19:36:41
 
Place the following simple rule in any folder:
 
++:L:
A=get_folder_value("_Notes_Check",item_id)
if A=="1" then msgbox("Works") end
 
If I manually put a checkmark in the _Notes_Check column, the rule is triggered and I get the message box with the message "Works".
 
If I add a note to an item using the external NoteEdit program, a checkmark is also added
to the _Notes_Check folder (by NoteEdit). However, in this case, the rule is not triggered and I do not get the message box.
Back to top
 
 
  IP Logged
Admin
Administrator
*****


I love Ecco!

Posts: 134
Show the link to this post Re: My LUA Rules are Not Triggered by External DDE Changes
Reply #1 - 09/23/08 at 06:31:20
 

ok,
 
very clear explanation,
 
but not a good test.
 
 
Need to isolate the issue.
 
 
ie. Code:
A=get_folder_value("_Notes_Check",item_id 

looks to see if value is in folder.    But we don't know if rule is triggered before of *after* change.
 
try a different rule (such as just adding +1 to a var & displaying it, etc.)  and see if rule is triggered.
 
right now your rule is suggesting EITHER rule is not triggered or folder value check is giving old value,  or even maybe item ID issue...
 
 
make sense ?
Back to top
 
 

The Administrator.
WWW   IP Logged
Pages: 1
Send Topic Print