Re: Evaluate text to boolean
Re: Evaluate text to boolean
- Subject: Re: Evaluate text to boolean
- From: Deivy Marck Petrescu <email@hidden>
- Date: Sat, 15 Jun 2002 16:07:23 -0400
At 1:51 PM -0600 6/15/02, Gnarlodious wrote:
No workie:
if x = "connected" then
uploadStuff(theseItems)
Entity Deivy Marck Petrescu spoke thus:
since connected is a keyword of Network Setup Scripting
so now I am saying:
if x is not "idle" then
uploadStuff(theseItems)
And it works!
So why does "connected" not work but [not "idle"] does? Because if Deivy is
right it should work outside the NSS tell block.
If I am right, then it should only work in a NSS tell block
Hope that makes sense...
Rachel http://www.gnarlodious.com
I said you should try connected, not "connected". No quotes.
Not "idle" is working because if x is connected or idle it will not be "idle".
Take the quotes off.
Regards
--
Deivy Petrescu
http://www.dicas.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.