Re: Why won't this work.
Yes. You have to use syntax that makes it plain to the engine that the variable tID should be evaluated before any action is taken. The only way to do that is to use language that can only be applied to controls, ie, setting a property. Since you can't set a property of a variable, the engine looks at the contents of the variable and sees that it's an object reference and proceeds on that basis. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Oct 30, 2015, at 1:12 AM, Geoff Canyon wrote: > To describe the other aspect of this, you can only use a variable > containing a long id as a reference to the underlying object if you > reference properties of the object. Hence why > > put the long id of fld "test" into tID > set the left of tID to 47 > set the vis of tID to true > set the dontwrap of tiD to false > set the htmlText of tID to "something" > set the text of tID to "something else" > > all work, but > > put "some text" into tID > > will just change the contents of the variable. I have vague memories of > some exceptions to this, but it was a long time ago, so maybe I'm wrong, or > LC has addressed the issues. > > gc > > On Thu, Oct 29, 2015 at 8:26 PM, Scott Rossiwrote: > >> Try: set the text of tlongid to "my email" >> >> Otherwise, you're just putting a value into your tlongid variable, the >> same way you did with the long id of the field. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >>> On Oct 29, 2015, at 5:02 PM, Earthednet-wp >> wrote: >>> >>> Folks, >>> >>> I tried >>>Put the long id of field "email" into tlongid >>>Put "my email" into tlongid >>> >>> This does not work. >>> >>> It works if I copy the long id and paste the second line in the message >> box. >>> Seems this should work. >>> >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>> ___ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why won't this work.
Try: set the text of tlongid to "my email" Otherwise, you're just putting a value into your tlongid variable, the same way you did with the long id of the field. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Oct 29, 2015, at 5:02 PM, Earthednet-wpwrote: > > Folks, > > I tried > Put the long id of field "email" into tlongid > Put "my email" into tlongid > > This does not work. > > It works if I copy the long id and paste the second line in the message box. > Seems this should work. > > Bill > > William Prothero > http://es.earthednet.org > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Why won't this work.
Folks, I tried Put the long id of field "email" into tlongid Put "my email" into tlongid This does not work. It works if I copy the long id and paste the second line in the message box. Seems this should work. Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why won't this work?
Folks, I've had to forward this to my iPad to send it. I had to update my ssl certificate and it buggered the email from my server and I can't send from my Mac laptop, but I can from my iPad. Go figure! Thanks for your feedback, here is what I found out: > The long ID of a field looks something like this. I haven’t saved the stack > yet, so there is no filename. > > field id 1006 of card id 1002 of stack "Untitled 1” > > I can do: > put “myEmail” into field “email” and it works fine and to me, serves as a > model for syntax variations. > > I can copy that long id to the message box and do: > > put "my email" into field id 1006 of card id 1002 of stack "Untitled 1” and > it works. > > I can do, but it doesn’t work: > >put the long id of fld "email" into tLongID >put quote into tx >put "myEmail" into tx > > This works: (thanks, Jacqueline) >put the long id of fld "email" into tLongID >do "put" && "my email" && "into" && tlongid > > So, this may be obvious to experienced livecoders, but it is bizarre to those > less experienced, like me. I'm not complaining, mind you, but there are many > such non-intuitive operations in livecode. That's ok, but sometimes the > effort to make livecode natural language-like creates new confusions. I also > get confused about whether to call something an object, a control, a key, an > item (ok, items are obvious), and I only point this out because sometimes > information about what hangs up beginners is very useful when creating > documentation. > > Best, > Bill > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why won't this work.
To describe the other aspect of this, you can only use a variable containing a long id as a reference to the underlying object if you reference properties of the object. Hence why put the long id of fld "test" into tID set the left of tID to 47 set the vis of tID to true set the dontwrap of tiD to false set the htmlText of tID to "something" set the text of tID to "something else" all work, but put "some text" into tID will just change the contents of the variable. I have vague memories of some exceptions to this, but it was a long time ago, so maybe I'm wrong, or LC has addressed the issues. gc On Thu, Oct 29, 2015 at 8:26 PM, Scott Rossiwrote: > Try: set the text of tlongid to "my email" > > Otherwise, you're just putting a value into your tlongid variable, the > same way you did with the long id of the field. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > On Oct 29, 2015, at 5:02 PM, Earthednet-wp > wrote: > > > > Folks, > > > > I tried > > Put the long id of field "email" into tlongid > > Put "my email" into tlongid > > > > This does not work. > > > > It works if I copy the long id and paste the second line in the message > box. > > Seems this should work. > > > > Bill > > > > William Prothero > > http://es.earthednet.org > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why won't this work.
Hi. I do not understand. This is simple and straightforward. Both peices of data go into the variable just fine. Craig Newman Put the long id of field "email" into tlongid Put "my email" into tlongid -Original Message- From: Earthednet-wp <proth...@earthednet.org> To: Use-livecode Use-livecode <use-livecode@lists.runrev.com> Sent: Thu, Oct 29, 2015 8:20 pm Subject: Why won't this work. Folks, I tried Put the long id of field "email" into tlongid Put "my email" into tlongid This does not work. It works if I copy the long id and paste the second line in the message box. Seems this should work. Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why won't this work.
The assumption is Bill is trying to put the string "my email" into the target field. Of course, the assumption could be wrong. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Oct 29, 2015, at 8:29 PM, dunb...@aol.com wrote: > > Hi. > > > I do not understand. This is simple and straightforward. Both peices of data > go into the variable just fine. > > > Craig Newman > > > > > > Put the long id of field "email" into tlongid > Put > "my email" into tlongid > > > > > > -Original Message- > From: Earthednet-wp <proth...@earthednet.org> > To: Use-livecode Use-livecode <use-livecode@lists.runrev.com> > Sent: Thu, Oct 29, 2015 8:20 pm > Subject: Why won't this work. > > > Folks, > > I tried > Put the long id of field "email" into tlongid > Put > "my email" into tlongid > > This does not work. > > It works if I copy the long id > and paste the second line in the message box. > Seems this should > work. > > Bill > > William > Prothero > http://es.earthednet.org > > ___ > use-livecode > mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, > unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why won't this work.
On 10/29/2015 10:29 PM, dunb...@aol.com wrote: I do not understand. This is simple and straightforward. Both peices of data go into the variable just fine. Craig Newman Put the long id of field "email" into tlongid Put "my email" into tlongid I had to read it four times and then see Scott's reply before it made any sense to me either. What Bill wants to do is: get a field reference put his email address into that field I like Scott's method best, but a less elegant way would be: do "put" && "my email" && "into" && tlongid -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Why won't this work ?...:-(
The script below will run on a Mac, under Windows XP but not under Windows 7... anyone able to tell me why not ? on openCard /* set the rect of the image on which to overlay revBrowser */ set the rect of image browserimage to 0, 0 , (the width of this stack) , (the height of this stack -16 ) /* get the path to the html file */ put the defaultFolder /mapFolder/map.html into adJustWindows /* replace the spaces, if there are any, in the URL filepath */ replace space with %20 in adjustWindows /* set up the browser instance */ put revBrowserOpen (the windowId of this stack, file:// adjustWindows) into browserID revBrowserSet browserID, rect,rect of image browserimage revBrowserSet browserID, scrollbars, false revBrowserSet browserID, showborder, true end openCard Just get a blank revBrowser under WIndows 7 Dixie ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode