Jump to content
UBot Underground

IF WORD = TRUE then Stop


Recommended Posts

Here's what I am trying to accomplish.

 

I set a word like "Musical dingbats" to a variable.

 

I run the script.

 

The script needs to check a text file and if the word "Musical Dingbats" is in the list it stops.

 

Else ADD TO "musical dingbats" to LIST.

 

Over time you get a text file that contains a list of words that are unique.

 

I want to use this to trigger whether a script is run or not.

 

In laymens terms:

If the project word has been used before don't run the report.

 

I don't know how to cycle through the list and check the keyword each time.

 

Is there a way to check a list without having to first load in somewhere. I tend to load stuff into Google and then just use a search page function, but there must be a better way!

Link to post
Share on other sites

Here's what I am trying to accomplish.

 

I set a word like "Musical dingbats" to a variable.

 

I run the script.

 

The script needs to check a text file and if the word "Musical Dingbats" is in the list it stops.

 

Else ADD TO "musical dingbats" to LIST.

 

Over time you get a text file that contains a list of words that are unique.

 

I want to use this to trigger whether a script is run or not.

 

In laymens terms:

If the project word has been used before don't run the report.

 

I don't know how to cycle through the list and check the keyword each time.

 

Is there a way to check a list without having to first load in somewhere. I tend to load stuff into Google and then just use a search page function, but there must be a better way!

 

 

Have you tried using the Contains command yet? Sounds like it's what you need. You would add the text file to a list and then compare the list items against the variable.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...