The purpose is to create a link to another location of the item. My script modifies the item from "myitem" to "myitem {Link}" at item creation time (if possible)
The script is triggered when I create the item, but I need time to enter the text of the item before the script modifies the item.
The idea is therefore to Pause the script while I enter the text.
Function AddLink
Pause 10 sec
run rest of script
end Function
I tried several methods that I found on the web but nothing seems to work. Does anyone know how to pause (e.g. 10 sec) the VB script execution in IQ?
How do I ?
Comments
This Hack works: Function…
This Hack works and pauses the script for 2-3 sec:
Function AddLink
dim sum
sum=0
for i=1 to 10000000
sum=sum+1
next
msgbox(IDitem)
end Function
However, during this time, my PC is busy and I cannot enter the item text, defeating the whole purpose....
Unless there is some way to pause the script, I guess that I will need to run the script after the item is created.
Is it possible to select a bunch of items and execute the script on all of them? If not, I guess that I will need to create a new field and modify (or touch) it to execute the script.
The purpose is to create a…
??? What do you mean by this? What is the purpose? Do Forms and Shown In not provide this functionality?
(and remember the KISS principle!)