Welcome, Guest. Please Login or Register.
eccoMAGIC Forums
04/26/24 at 16:00:14
News: If you have a scroll wheel, TRY EM SCROLL WHEELS. It's NICE!
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

See if item is linked to a URL (Popularity: 3061 )
JimmyD
EccoMagic Apprentice
*


I Love Ecco!

Posts: 2
Gender: male
Show the link to this post See if item is linked to a URL
08/18/08 at 00:54:40
 
RB wanted a quick way to see if an item is linked to a URL, File or
Outlook E-mail. In other words, if the item has a link in the Net
Location Folder.
 
The following LUA script will append {NL} at the end of the item text
to indicate that the item has a link.
 
Code:
++:L:
A=get_folder_value("Net Location",item_id)
B=get_item_text(item_id)
C=string.find(B, "{NL}")
if (A~=""and C==nil) then
text=B .. " {NL}"
set_item_text(item_id,text)
end
 


Simply create a new folder and add the rule to it. (I added a
checkmark folder called "LUA Rules").
You can update already existing Items by running "Check Folder Rules"
on the "LUA Rules" folder.
 
 
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print