Action checking to see if its been written before

Hello Weaver and anyone else who can recall this…
Just a quick question some time ago weaver gave an example of an action that looks to see if another instance of that same action has written to the html document and if it finds it, it then does not add to it. I suppose it’s a bit like the old once-before-end-head, but it allowed for variations of the action content to be published but an exact duplicate would be ignored.

Can any one remember what it was called or a reference to it. I think it was written way back before this version of the forum was setup so it may not be available any more… anyway if anyone knows, it would be handy, or if any one recalls something similar to this, then anything would be handy…
all the best max


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Max,
The example I’ve always followed that came from Softpress (maybe Alan)
was to use the fwPage object to hold a variable and check for that
before publishing.
For example;

if (!fwPage.hasPublished){
//do your stuff only once here
fwPage. hasPublished = true;
}

The beauty of this is that data stored in the page object is
persistent over the run of the publish. Setting this in before-end-
head (for example) can be read back at after-end-html (again, as an
example).
Regards,
Tim.

On 18 May 2009, at 09:07, max wrote:

Hello Weaver and anyone else who can recall this…
Just a quick question some time ago weaver gave an example of an
action that looks to see if another instance of that same action has
written to the html document and if it finds it, it then does not
add to it. I suppose it’s a bit like the old once-before-end-head,
but it allowed for variations of the action content to be published
but an exact duplicate would be ignored.

Can any one remember what it was called or a reference to it. I
think it was written way back before this version of the forum was
setup so it may not be available any more… anyway if anyone knows,
it would be handy, or if any one recalls something similar to this,
then anything would be handy…
all the best max

FreewayActions.com - Freeware and shareware actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Weaver - I’m having a problem with the flash content on one of my website’s not refreshing well in IE. I used Ultimate Fading Slideshow on the images. Any words of wisdom. Many thanks. Maggie

the site is cateringandcompany-dallas.com.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options