TeraScript-Talk: Anyone need a convert to base 16 or 26?

2020-02-27 Thread Ben Johansen




<@! COMMENT=“set base to 16 (hex) or 26">
<@assign base 16>
<@assign result ''>
<@assign quotient 7562>
<@WHILE EXPR="@@quotient > 0">
<@assign remainder <@calc expr="floor((<@var quotient> 
% <@var base>))">>
<@assign quotient <@calc expr="floor((<@var quotient> / 
<@var base>))">>
<@IF EXPR="len(@@outnbr) < 1">
<@assign result '<@SUBSTRING 
STR="123456789abcdefghijklmnop" START="@@remainder" NUMCHARS="1">'>
<@ELSE>
    <@assign result '<@SUBSTRING 
STR="123456789abcdefghijklmnop" START="@@remainder" NUMCHARS="1"><@var result>'>



answer = @@result







Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775







 To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.



TeraScript-Talk: For those that would like to see var dump in Console

2020-02-25 Thread Ben Johansen
Hi All,

For those of you that want to see the contact of Terascript vars in the 
Javascript console.
with out it messing up the output of the page.
note: I’ve attached the file JSON_Utilities.tcf to this email.

Try This.

Snippet DumpVars_Console (don’t include the  tag in the snippet)



<@IF EXPR="'<@domain>' = 'demo.tronics.com'">
<@IFEMPTY VALUE="<@var domain$JSONUtilities>">
<@ASSIGN NAME="JSONUtilities" SCOPE="domain" 
VALUE=<@CREATEOBJECT OBJECTID="JSON_Utilities.tcf" TYPE="TCF">>





//request scope
<@IFNOTEMPTY <@var request$_function>>'_function = <@var 
request$_function>';</@IF>
<@ASSIGN NAME="theVars" VALUE="<@VARNAMES SCOPE='request'>" SCOPE="request">
<@FOR START="1" STEP="1" STOP="<@NUMROWS ARRAY='theVars'>">
<@assign
NAME="logRes"
SCOPE="request"
VALUE=<@CALLMETHOD OBJECT="JSONUtilities" SCOPE="domain"
METHOD="Array2JSON(<@VAR 
@@request$theVars[<@CURROW>,1]>)"
METHODTYPE="invoke"
>
>
var @@request$theVars[<@CURROW>,1] = <@VAR request$logRes>;
console.log('request$@@request$theVars[<@CURROW>,1] -> ');
console.log(@@request$theVars[<@CURROW>,1]);
</@FOR>

//user scope
<@ASSIGN NAME="theVars" VALUE="<@VARNAMES SCOPE='user'>" SCOPE="request">
<@FOR START="1" STEP="1" STOP="<@NUMROWS ARRAY='theVars'>">
<@assign
NAME="logRes"
SCOPE="request"
VALUE=<@CALLMETHOD OBJECT="JSONUtilities" SCOPE="domain"
METHOD="Array2JSON(<@VAR 
@@request$theVars[<@CURROW>,1]>)"
        METHODTYPE="invoke"
>
>
var @@request$theVars[<@CURROW>,1] = <@VAR request$logRes>;
console.log('user$@@request$theVars[<@CURROW>,1] -> ');
console.log(@@request$theVars[<@CURROW>,1]);
</@FOR>











 To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


JSON_Utilities.tcf
Description: Binary data

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775







 To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: API no longer working. SSL error

2019-12-13 Thread Ben Johansen
forms. Any 
>>>>> pointers?
>>>>>
>>>>> Wayne Irvine
>>>>>
>>>>> Byteserve Pty Ltd
>>>>> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
>>>>> e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
>>>>> p: +61 02 9960 6099
>>>>> m: 0409 960 609
>>>>> f: +61 02 9960 6088
>>>>>
>>>>>
>>>>> To unsubscribe from this list, please send an email to 
>>>>> lists...@terascript.com <mailto:lists...@terascript.com> with 
>>>>> "unsubscribe terascript-talk" in the body.
>>>>
>>>>
>>>> Byteserve Pty Ltd
>>>> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
>>>> e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
>>>> p: +61 02 9960 6099
>>>> m: 0409 960 609
>>>> f: +61 02 9960 6088
>>>>
>>>>
>>>> To unsubscribe from this list, please send an email to 
>>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>>> terascript-talk" in the body.
>>>>
>>>> To unsubscribe from this list, please send an email to 
>>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>>> terascript-talk" in the body.
>>>
>>> Byteserve Pty Ltd
>>> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
>>> e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
>>> p: +61 02 9960 6099
>>> m: 0409 960 609
>>> f: +61 02 9960 6088
>>>
>>>
>>> To unsubscribe from this list, please send an email to 
>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>> terascript-talk" in the body.
>>
>> Byteserve Pty Ltd
>> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
>> e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
>> p: +61 02 9960 6099
>> m: 0409 960 609
>> f: +61 02 9960 6088
>>
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>> terascript-talk" in the body.
>
> Byteserve Pty Ltd
> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
> e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
> p: +61 02 9960 6099
> m: 0409 960 609
> f: +61 02 9960 6088
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775







 To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: ODBC vrs JDBC

2019-01-08 Thread Ben Johansen
just wondering something. have you tried adding o1. to the as value.

ie. o1.OV_ID as o1.OV_ID2

> On Jan 1, 2019, at 4:41 PM, Fogelson, Steve  wrote:
>
> I am converting an app from using a MySQL ODBC connector to MySQL JDBC 
> connector and am finding a few differences
>
> Below is part of a SQL build for a Custom SQL Query
> <@assign request$SearchQuery "SELECT">
> <@assign request$SearchQuery "<@var request$SearchQuery> o1.OV_ID, ">
> <@assign request$SearchQuery "<@var request$SearchQuery> o1.OP_ID, ">
> <@assign request$SearchQuery "<@var request$SearchQuery> o1.OV_ID AS OV_ID2, 
> ">
> <@assign request$SearchQuery "<@var request$SearchQuery> o1.OP_ID AS OP_ID2, 
> ">
> <@assign request$SearchQuery "<@var request$SearchQuery> o1.OV_SKU, ">
>
> You notice that I setup an alias for a couple fields. This syntax worked fine 
> with the MySQL ODBC connector, but doesn’t work with the MySQL JDBC connector.
>
> ODBC
> OptionValues1 Headers
> OV_ID
> OP_ID
> OV_ID2
> OP_ID2
> OV_SKU
>
> JDBC
> OptionValues1 Headers
> OV_ID
> OP_ID
> OV_ID
> OP_ID
> OV_SKU
>
> The JDBC connector doesn’t take the alias names. Is it something with my 
> syntax or do I have to do something different?
>
> Thanks in advance for the help.
>
> Steve Fogelson
> Internet Commerce Solutions
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: macOS and Homebrew

2018-11-22 Thread Ben Johansen
Home brew is good.

as for daunting, all Robert has to do is make a help page with the text to 
paste in to terminal.

> On Oct 13, 2018, at 11:59 PM, Wayne Irvine  wrote:
>
> I have some experience with the issues of changing versions of MacOS and also 
> with Homebrew.
>
> I’m in favour but realise it may be daunting for others.
>
> Wayne
>
>> On 13 Oct 2018, at 2:07 am, Robert Shubert > <mailto:rshub...@tronics.com>> wrote:
>>
>> macOS users:
>>
>> Since Apple tends to change things around with each release of macOS, we're 
>> considering changing TeraScript to depend on software installed by Homebrew 
>> (https://brew.sh/ <https://brew.sh/>)
>>
>> Therefore we'd like to ask our macOS users if they have experience with 
>> Homebrew, and if they would be opposed to (or prefer) using Homebrew to 
>> install certain packages to better support TS functionality. Please reply 
>> here or to supp...@terascript.com <mailto:supp...@terascript.com>. Your 
>> feedback is important.
>>
>> Thank you,
>>
>> Robert
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>> terascript-talk" in the body.
>
> Byteserve Pty Ltd
> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
> e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
> p: +61 02 9960 6099
> m: 0409 960 609
> f: +61 02 9960 6088
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Windows error 2 occured while loading the Java VM

2017-07-17 Thread Ben Johansen
go to java.com and make sure your running the latest Java

> On Jul 17, 2017, at 3:01 PM, Fogelson, Steve  wrote:
>
> I am trying to load TeraScribe 7.03 on a new Windows Pro 10 laptop and am 
> getting the error listed in the subject line.
>
> I have loaded Java on the machine but still getting the error.
>
> Thanks in advance for any suggestions.
>
> Steve Fogelson
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: New Help

2014-11-07 Thread Ben Johansen
I want to send a thanks out to Daniel Richardy, Mikal Anderson and Dan Stein 
for helping me out

On Nov 6, 2014, at 10:13 AM, Ben Johansen  wrote:

> Please
>
> My car burned up on move and I lost pretty much all…
>
> if you can see it in your heart to help, click below
>
> http://www.gofundme.com/gk1paw
>
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


TeraScript-Talk: New Help

2014-11-06 Thread Ben Johansen
Please

My car burned up on move and I lost pretty much all…

if you can see it in your heart to help, click below

http://www.gofundme.com/gk1paw


Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Needing Work

2014-09-03 Thread Ben Johansen
I’m versed in other languages also, if some one is interested please contact me 
off the list.

On Sep 3, 2014, at 7:39 AM, Beverly Voth  wrote:

> Just TeraScript or ???
> Beverly
>
> On 02 Sep 2014, at 5:56 PM, Ben Johansen wrote:
>
>> If anyone has any work needing done
>> I would be most appreciative
>>
>>
>> Ben Johansen
>> http://www.webspinr.com
>> b...@webspinr.com
>> Phone: 360-600-7775
>
>
>
> 
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
>

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


TeraScript-Talk: Needing Work

2014-09-02 Thread Ben Johansen
If anyone has any work needing done
I would be most appreciative


Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: URL path

2014-08-15 Thread Ben Johansen
I do this

<@assign request$args <@HTTPATTRIBUTE  NAME="PATH_ARGS">>
<@assign request$args2 <@HTTPATTRIBUTE  NAME="HTTP_SEARCH_ARGS”>>

and you can then combine them


On Aug 15, 2014, at 11:20 AM, MC Tay  wrote:

> HI:
>
> Is there a tag to get the actual URL?
>
> Say, if I landed on a page and the URL is
> http://www.somewhere.com/path1/path2/and-so-on
>
> I want to capture the actual url with a tag. I remember I did that
> long time ago and can't remember how to do it now.
>
> Thanks!
>
> MC
>
>
>
>
> 
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
>

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: What is preventing Email from sending?

2014-08-01 Thread Ben Johansen
FYI,

I solved this…

I had to convert all post args to vars and use the vars in the email action

On Jul 29, 2014, at 5:31 PM, Ben Johansen  wrote:

> I have a .taf called mail.taf (witango 5.0)
> I have a form on a page and you submit the data
> the mail.taf gets it and creates an email out of the data.
> it’s just sending the email to a watched email address, there is no way for 
> someone to make it send out spam
>
> Well, it’s supposed to send, If i run it from my Mac Firefox or Safari, it 
> gets the post args and creates the emails
> if i do it from windows, no email is sent. and at first I was getting a 500 
> error.
>
> anyone have any idea what is preventing it from sending out the notify email?
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


TeraScript-Talk: What is preventing Email from sending?

2014-07-29 Thread Ben Johansen
I have a .taf called mail.taf (witango 5.0)
I have a form on a page and you submit the data
the mail.taf gets it and creates an email out of the data.
it’s just sending the email to a watched email address, there is no way for 
someone to make it send out spam

Well, it’s supposed to send, If i run it from my Mac Firefox or Safari, it gets 
the post args and creates the emails
if i do it from windows, no email is sent. and at first I was getting a 500 
error.

anyone have any idea what is preventing it from sending out the notify email?

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


TeraScript-Talk: This mail list settings

2014-05-28 Thread Ben Johansen
Robert, Is it Possible to change the mail-list to have the from be 
TeraScript-Talk instead of from the sender?

Reason why: Spam blocker, I don’t want to whitelist my own email as the from 
address then anyone can spam me using my own address as the from

if this can’t be done, can you change the To: to be all lower case?

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Login Problems

2014-05-28 Thread Ben Johansen
wow, duh… I just commented on one that was last year.

there needs to be more posts on here, so when I comment, it looks recent. LOL

On May 27, 2014, at 11:01 PM, Ben Johansen  wrote:

> have you tried using redirection (303) with userreferencearg instead of 
> branch. I’m not a big fan of branch
>
> On Oct 1, 2013, at 3:25 PM, D Mark Weiss  wrote:
>
>> I believe I am still having problems with log in verification. I wonder if 
>> my strategy is wrong or if there is a more fool proof way to do it. This is 
>> a strategy I have used for years, and suddenly its' as if I am hitting 
>> browser cache before the actual URL is read or something like that.
>>
>> Witango 5.5 mac osx server. apache and mysql.
>>
>> when they log in
>>
>> 1. "If action"- We check to see if both username and password fields have 
>> content by using an if action checking for empty. If one or both are empty, 
>> we zoom them back to the log in screen.
>>
>> 2. We have next an "if action" responding to the _function=verify. We search 
>> the table for username and password. If we hit, we load a number of user 
>> variables, one of which is permission level. The majority of users have 
>> permission level "0" (zero). Then we go to the home screen.
>>
>> 3. from the home screen there are other menus. Here is where it gets strange 
>> and frustrating. Each menu refers to a different taf. In these taf's I have 
>> at the top an if action and end if. the If action checks for 
>> @@user$permissionlevel, to see if it  has expired in which case it would be 
>> "empty".   If it is empty then it sends them back to the log in screen. if 
>> it is not empty, it then cycles through the other if actions in that 
>> particular taf. We do it this way, because we use variables for important 
>> insert values and don't want to use URL parameters or hidden fields.
>>
>> What seems to be happening over and over again, is that when branching from 
>> the home screen, (a separate taf) to another taf, even through I can verify 
>> that the variable hasn't expired, the if action still evaluates as if it had 
>> expired and sends the user back to the login screen. It checks 
>> @@user$permissionlevel to see if it's empty. It doesn't matter if the 
>> permissionlevel is 0 or 1 or 2, at one point or another, it still seems to 
>> evaluate as if it was empty.
>>
>> So I tried a new strategy. Instead of checking for empty, I decided to check 
>> and see if @@user$permissionlevel is < 1. Perhaps I should just do a 
>> <@length "@@user$permissionlevel">  <  1 or <@calc> on the variable or 
>> something like that?
>>
>> I have used this strategy in other apps for years and it seemed to work. 
>> Perhaps there is something in browsers that has changed and I need to change 
>> too. But in an otherwise very stable and helpful app, I am getting all kinds 
>> of complaints that it doesn't work and I guess I am at the end of my ideas. 
>> Permissionlevel of course controls access to all kinds of menus and 
>> functions by offering or not offering them to the user.
>>
>> I am at this point very willing to learn an entirely new log in strategy if 
>> I need to. Thanks in advance for your help.
>>
>> Mark
>>
>>
>>
>> Mark Weiss
>> PhD Student
>> ITLS
>> Utah State University
>> 435.363.6363
>> Mark Weiss
>> PhD Student
>> ITLS
>> Utah State University
>> 435.363.6363
>>
>>
>>
>>
>> 
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>>
>>
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Login Problems

2014-05-27 Thread Ben Johansen
have you tried using redirection (303) with userreferencearg instead of branch. 
I’m not a big fan of branch

On Oct 1, 2013, at 3:25 PM, D Mark Weiss  wrote:

> I believe I am still having problems with log in verification. I wonder if my 
> strategy is wrong or if there is a more fool proof way to do it. This is a 
> strategy I have used for years, and suddenly its' as if I am hitting browser 
> cache before the actual URL is read or something like that.
>
> Witango 5.5 mac osx server. apache and mysql.
>
> when they log in
>
> 1. "If action"- We check to see if both username and password fields have 
> content by using an if action checking for empty. If one or both are empty, 
> we zoom them back to the log in screen.
>
> 2. We have next an "if action" responding to the _function=verify. We search 
> the table for username and password. If we hit, we load a number of user 
> variables, one of which is permission level. The majority of users have 
> permission level "0" (zero). Then we go to the home screen.
>
> 3. from the home screen there are other menus. Here is where it gets strange 
> and frustrating. Each menu refers to a different taf. In these taf's I have 
> at the top an if action and end if. the If action checks for 
> @@user$permissionlevel, to see if it  has expired in which case it would be 
> "empty".   If it is empty then it sends them back to the log in screen. if it 
> is not empty, it then cycles through the other if actions in that particular 
> taf. We do it this way, because we use variables for important insert values 
> and don't want to use URL parameters or hidden fields.
>
> What seems to be happening over and over again, is that when branching from 
> the home screen, (a separate taf) to another taf, even through I can verify 
> that the variable hasn't expired, the if action still evaluates as if it had 
> expired and sends the user back to the login screen. It checks 
> @@user$permissionlevel to see if it's empty. It doesn't matter if the 
> permissionlevel is 0 or 1 or 2, at one point or another, it still seems to 
> evaluate as if it was empty.
>
> So I tried a new strategy. Instead of checking for empty, I decided to check 
> and see if @@user$permissionlevel is < 1. Perhaps I should just do a <@length 
> "@@user$permissionlevel">  <  1 or <@calc> on the variable or something like 
> that?
>
> I have used this strategy in other apps for years and it seemed to work. 
> Perhaps there is something in browsers that has changed and I need to change 
> too. But in an otherwise very stable and helpful app, I am getting all kinds 
> of complaints that it doesn't work and I guess I am at the end of my ideas. 
> Permissionlevel of course controls access to all kinds of menus and functions 
> by offering or not offering them to the user.
>
> I am at this point very willing to learn an entirely new log in strategy if I 
> need to. Thanks in advance for your help.
>
> Mark
>
>
>
> Mark Weiss
> PhD Student
> ITLS
> Utah State University
> 435.363.6363
> Mark Weiss
> PhD Student
> ITLS
> Utah State University
> 435.363.6363
>
>
>
>
> 
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
>

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Snippets place holder

2013-06-28 Thread Ben Johansen
Upgraded to 6.2.7.

There is now the place holder option, ;-)

but, I setup a snippet with place holder.

I Highlight the text in the results and go to click on the snippet to have it 
combine
and it looses focus in results and replaces the text with the snippet and puts 
cursor at place holder.

this is not how it worked prior and is not very useful without this

On Jun 11, 2013, at 2:17 PM, Robert Shubert wrote:

> Well, I’m not sure when the bug got fixed, but the contextual menu now works 
> on the edit snippet screen.
>
> Please consider updating to 6.2.7
>
> Robert
>
> From: Ben Johansen [mailto:b...@webspinr.com]
> Sent: Tuesday, June 11, 2013 3:42 PM
> To: TeraScript-Talk@terascript.com
> Subject: Re: TeraScript-Talk: Snippets place holder
>
> I'm using 6.0.7
> I go into edit my snippet,
> I right click in the snippet edit screen and there is no context menu that 
> popups up
> I checked also right clicking on snippet name and up on edit menu
> no insert place holder
>
> On Jun 11, 2013, at 12:23 PM, Robert Shubert wrote:
>
>
> Yes, and it is there in v6 as well.
>
> When adding or editing a Snippet, there should be a new contextual option 
> called “Insert Placeholder” at the very bottom of the right-click menu.
>
> Note that you should only put one placeholder in each snippet. When a 
> placeholder is present, the cursor will snap to that location (and the 
> placeholder removed) so that you can immediately start typing the “middle” of 
> the snippet. This work the same way as the snippets that ship with the 
> product.
>
> Robert
>
> From: Ben Johansen [mailto:b...@webspinr.com]
> Sent: Monday, June 10, 2013 6:24 PM
> To: TeraScript-Talk@terascript.com
> Subject: Re: TeraScript-Talk: Snippets place holder
>
> Wasn't there a right click on old studio that allowed for easy placement?
>
> On Jun 10, 2013, at 3:12 PM, Robert Shubert wrote:
>
>
>
> Ben,
>
> It’s actually a back-tick. Decimal 180 in the ISO-8859-1 charset
>
> Easiest way to get the character is to open one of the existing snippet files 
> (eg /snippets/html.xml) and copy it out.
>
> Robert
>
> From: Ben Johansen [mailto:b...@webspinr.com]
> Sent: Monday, June 10, 2013 5:09 PM
> To: TeraScript-Talk@terascript.com
> Subject: TeraScript-Talk: Snippets place holder
>
> is there a new place holder for snippets, I can't remember what it is :-p.
>
> is it `
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: PHP and cURL

2013-06-13 Thread Ben Johansen
You can do this with the @URL

On Jun 12, 2013, at 10:03 PM, Wayne Irvine wrote:

> I'm converting a PHP file to Terascript and am a bit stuck on one part. The 
> PHP file calls cURL:
>
>   $post_data = array('token'  => $token,
>  'apiKey' => $rpx_api_key,
>  'format' => 'json',
>  'extended' => 'true'); //Extended is not available to 
> Basic.
>
>   $curl = curl_init();
>   curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
>   curl_setopt($curl, CURLOPT_URL, 'https://rpxnow.com/api/v2/auth_info');
>   curl_setopt($curl, CURLOPT_POST, true);
>   curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data);
>   curl_setopt($curl, CURLOPT_HEADER, false);
>   curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
>   curl_setopt($curl, CURLOPT_FAILONERROR, true);
>   $result = curl_exec($curl);
>   if ($result == false){
> echo "\n".'Curl error: ' . curl_error($curl);
> echo "\n".'HTTP code: ' . curl_errno($curl);
> echo "\n"; var_dump($post_data);
>   }
>   curl_close($curl);
>
> Any ideas how I would tackle this in Terascript? Would I use the File 
> function or call cURL as an external?
>
>
>
> Wayne Irvine
> w: http://www.byteserve.com.au/
> p: +61 2 9960 6099
> m: 0409 960 609
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Snippets place holder

2013-06-11 Thread Ben Johansen
I'm using 6.0.7
I go into edit my snippet,
I right click in the snippet edit screen and there is no context menu that 
popups up
I checked also right clicking on snippet name and up on edit menu
no insert place holder

On Jun 11, 2013, at 12:23 PM, Robert Shubert wrote:

> Yes, and it is there in v6 as well.
>
> When adding or editing a Snippet, there should be a new contextual option 
> called “Insert Placeholder” at the very bottom of the right-click menu.
>
> Note that you should only put one placeholder in each snippet. When a 
> placeholder is present, the cursor will snap to that location (and the 
> placeholder removed) so that you can immediately start typing the “middle” of 
> the snippet. This work the same way as the snippets that ship with the 
> product.
>
> Robert
>
> From: Ben Johansen [mailto:b...@webspinr.com]
> Sent: Monday, June 10, 2013 6:24 PM
> To: TeraScript-Talk@terascript.com
> Subject: Re: TeraScript-Talk: Snippets place holder
>
> Wasn't there a right click on old studio that allowed for easy placement?
>
> On Jun 10, 2013, at 3:12 PM, Robert Shubert wrote:
>
>
> Ben,
>
> It’s actually a back-tick. Decimal 180 in the ISO-8859-1 charset
>
> Easiest way to get the character is to open one of the existing snippet files 
> (eg /snippets/html.xml) and copy it out.
>
> Robert
>
> From: Ben Johansen [mailto:b...@webspinr.com]
> Sent: Monday, June 10, 2013 5:09 PM
> To: TeraScript-Talk@terascript.com
> Subject: TeraScript-Talk: Snippets place holder
>
> is there a new place holder for snippets, I can't remember what it is :-p.
>
> is it `
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Snippets place holder

2013-06-10 Thread Ben Johansen
Wasn't there a right click on old studio that allowed for easy placement?

On Jun 10, 2013, at 3:12 PM, Robert Shubert wrote:

> Ben,
>
> It’s actually a back-tick. Decimal 180 in the ISO-8859-1 charset
>
> Easiest way to get the character is to open one of the existing snippet files 
> (eg /snippets/html.xml) and copy it out.
>
> Robert
>
> From: Ben Johansen [mailto:b...@webspinr.com]
> Sent: Monday, June 10, 2013 5:09 PM
> To: TeraScript-Talk@terascript.com
> Subject: TeraScript-Talk: Snippets place holder
>
> is there a new place holder for snippets, I can't remember what it is :-p.
>
> is it `
>
> Ben Johansen
> http://www.webspinr.com
> b...@webspinr.com
> Phone: 360-600-7775
>
>
>
>
>
>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


TeraScript-Talk: Snippets place holder

2013-06-10 Thread Ben Johansen
is there a new place holder for snippets, I can't remember what it is :-p.

is it `

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Developer needed for terascript

2012-09-25 Thread Ben Johansen
I am available for Witango/TeraScript Work

On Sep 25, 2012, at 6:21 AM, Richard V. Jasinski wrote:

> Looking for a developer for maintenance type of tasks. Please send costs and 
> 3 references.
>
> thanks
>
> Richard V. Jasinski
> President
> The Ogden Group of Rochester, Inc.
> 585-321-1060 ex 24
> 585-321-0043 Fax
> r...@ogdengroup.com
> http://www.ogdengroup.com
>
> Providing database marketing, marketing communications, lead generation and 
> fundraising services to national and local businesses and organizations for 
> over 20 years.
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Sending Searches to Divs

2012-08-28 Thread Ben Johansen
I like to use http://jquery.com/ for ajax work

On Aug 25, 2012, at 6:04 PM, Wayne Irvine wrote:

> You need to Google AJAX.
>
> There is nothing Terascript specific about this. AJAX works no matter what 
> middleware you use.
>
> Wayne Irvine
> wa...@byteserve.com.au
>
>
>
> On 26/08/2012, at 1:34 AM, Bishop Weiss  wrote:
>
>> How does one "send" a search to a div?
>>
>> When using frames, you can give the frame a name and "target" the form or 
>> link to that. But how does it work with CSS?
>>
>> Thanks
>>
>>
>>
>>
>> 
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


TeraScript-Talk: 5.5 Studio Install on Windows Server 2008R2?

2012-08-23 Thread Ben Johansen
Hi

I tried installing 5.5 studio on Windows Server 2008R2 and it installs but when 
I try running it it gives me a missing MSVCR70.DLL error.
anyone solve this?

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: Part time developer

2012-06-29 Thread Ben Johansen
Hi, I have done work for the learning annex before. would like to be considered

On Jun 29, 2012, at 11:59 AM, Robert Shubert wrote:

> The Learning Annex in New York City is looking for a Witango/TeraScript 
> developer to maintain their web sites. The developer can work remotely and 
> the job is "part-time or as needed".
>
> Tronics hosts the Learning Annex web servers but is otherwise not affiliated 
> with them.
>
> If you are interested, please contact me off list and I'll pass your name 
> along.
>
> Thanks,
>
> Robert
>
>
>
>
> 
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
>

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 360-600-7775












To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: DOM assignment help

2012-03-07 Thread Ben Johansen
Your missing the step where you convert it to a dom object using the @DOM


On Mar 7, 2012, at 9:01 AM, Bill Downall wrote:

> I'm sure somebody has the quick trick here.
>
> I want to create XML in text, and then convert/assign it into a DOM variable. 
> But both of these look like plain ordinary variables, and the second cannot 
> be passed to a method that expects a DOM paramaeter. In the debug output of 
> request varaibles, it doesn't say anything like "myDOM=[DOM: 071BBC38];", it 
> just shows the HTML text.
>
> Thanks.
>
> Bill
>
> <@assign request$myHTML value='
> 
>   UNKNOWN PROVIDER FOR <@var request$CompanyNum><@var 
> request$PolNumber>
>   
> Business
> 
> 
> 
>  
>  
>   
>   
> Business
> 
>   
> '>
>
> <@assign request$myDom value='<@var request$myHTML type="DOM" 
> element="root()">'>
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Ben Johansen
http://www.webspinr.com
b...@webspinr.com
Phone: 503-477-5409
Mobile: 360-600-7775









To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.