do a script once

So i was wondering how to do a script once (at startup) then no do it the other times when starting up. Is that possible?

¢ Add the script to the startup items
¢ write a line within the script to remove itself from the startup items

So i’d have a linked applescript code when iHTTP launches? I think i could do that.

Never mind guys sorry :frowning: found a different way of doing this :slight_smile:
the If file exists, then etc.