Page Index Toggle Pages: 1 ... 6 7 [8] 9  Send Topic Send Topic Print Print
Very Hot Topic (More than 25 Replies) Sesame 3 (Read 59079 times)
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame 3
Reply #105 - Dec 17th, 2011 at 5:35am
Print Post Print Post  
This does as you wish and runs in Sesame2 and 3.

Code
Select All
var aa as string

aa = @RedirectProcess("/usr/bin/perl", "print 'hello world';")
writeln(aa)
 



Actually, on my system, perl doesn't need the full path. The first argument is the process to be invoked and the second is a string that is passed to that process through stdin. Because perl (and most scripting languages) will accept the program to run through stdin, it runs that program. The return value catches the stdout of that program and places it in the "aa" string.

Of course this isn't limited to just script interpreters. Here are examples of accessing a mySQL database from Sesame2:

Code
Select All
var aa as string

aa = @RedirectProcess("mysql --user=yourlogin --password=yourpassword", "show databases")
writeln(aa)
 


Code
Select All
var aa as string
var sql as string

sql = "USE dbtest;"
+     "SELECT * FROM AUTHORS;"
+     "GO"

aa = @RedirectProcess("mysql --user=you --password=pwd", sql)
writeln(aa)
 





  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Sesame 3
Reply #106 - Mar 3rd, 2012 at 10:27pm
Print Post Print Post  
Have not seen any announcement of Feature Lock, still open or still pending?
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame 3
Reply #107 - Mar 4th, 2012 at 12:52am
Print Post Print Post  
Nominally open.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Sesame 3
Reply #108 - Mar 8th, 2012 at 8:40pm
Print Post Print Post  
Is beta testing initiated for Sesame3? How far are we with it? Any expected release date?
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame 3
Reply #109 - Mar 8th, 2012 at 8:53pm
Print Post Print Post  
Sesame3 alpha/beta testing has been on hiatus while we beta test Sesame 2.5.3.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Sesame 3
Reply #110 - Apr 3rd, 2012 at 3:50pm
Print Post Print Post  
Sesame 3 now has SBasic commands to embed other applications, like the PDF Viewer in the image, right on your Sesame forms.
  

embedded_app.jpg ( 107 KB | 136 Downloads )
embedded_app.jpg

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Sesame 3
Reply #111 - Apr 3rd, 2012 at 4:46pm
Print Post Print Post  
WOW! From your screenshot, it appears like we will be able to view (and interact with?) the embedded application. Very exciting!
  
Back to top
IP Logged
 
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: Sesame 3
Reply #112 - Apr 4th, 2012 at 2:49am
Print Post Print Post  
That's so cool.  You guys rock.
  

Larry
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Sesame 3
Reply #113 - Apr 20th, 2012 at 4:29pm
Print Post Print Post  
Looking good.  Can you elaborate a bit on "other applications"?  Are you doing something like making a block where a "Sync" type of process is visible, so almost any app can be displayed on the form?  Could that include a browser, QuickBooks, etc?
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Sesame 3
Reply #114 - Apr 20th, 2012 at 4:35pm
Print Post Print Post  
Bob_Hansen wrote on Apr 20th, 2012 at 4:29pm:
Looking good.  Can you elaborate a bit on "other applications"?  Are you doing something like making a block where a "Sync" type of process is visible, so almost any app can be displayed on the form?  Could that include a browser, QuickBooks, etc?


Generally it works by finding the target application's window and embedding that on the form. So it will only work on applications that have an open window, and more so, those that run simply in a main window.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: Sesame 3
Reply #115 - Apr 22nd, 2012 at 8:23am
Print Post Print Post  
This is extremely minor but one cannot save the code immediately after successful testing in the program editor. You have to exit the editor and then save it in the control panel using Command Menu.  It would be nice if the code could be saved from Program  Editor.  That will save a few key strokes and one is likely to save more often and could make a difference in a catastrophic event and ease of operation.  May be conrol-S as that is common with the other programs.

I know that the  save in the Control Panel also check for the error in the Layout Design but that could be checked at the final exit.   
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Sesame 3
Reply #116 - Apr 22nd, 2012 at 4:44pm
Print Post Print Post  
Thanks for the explanation, Mark.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Sesame 3
Reply #117 - May 6th, 2012 at 4:13am
Print Post Print Post  
Today we had our quarterly SANE meeting.  After some discussions about getting programming to run from the RetrieveSpec screen, we got into discussions about what we know about Version 3.

We agreed as a group that one of the biggest needs we had and wanted to see in version 3 was better tools to use with diagnosing programming steps.  There was total agreement that we really need a tool that allows us to Single Step through the code, with a view of the variables and their values after each step.  The ability to insert BreakPoints would be a big plus after that, but as a minimum we really want to have Single Step ability.   Cool

We could not think of any major programming development tool that does not have this feature.  Even the lowly batch file allows you to do a Single Step (and it was also the recollection that even Q&A had Single Step tools in Version 2).

WriteLn has been the suggested tool since Sesame came out, but it is really too cumbersome to keep typing in the lines, commenting them out.  Knowing which subroutines were called is needed to know where to insert many WriteLn functions.

So we are respectfully requesting as a group that Single Step tools be provided with the release of Version 3.  We are sure that many other users will chime in and agree with this request.

Thanks for listening.  We are hoping to see that feature announced at the National Sesame Group Meeting we are also hoping to attend with the Version 3 Release (We all missed any mention of where on the East Coast that was going to be held  Roll Eyes).
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Rick_R
Full Member
***
Offline



Posts: 243
Joined: Jan 29th, 2010
Re: Sesame 3
Reply #118 - May 7th, 2012 at 10:06pm
Print Post Print Post  
Single Step, breakpoints and the ability to change a variable's value would be big helps.
  
Back to top
 
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Sesame 3
Reply #119 - May 7th, 2012 at 10:07pm
Print Post Print Post  
Bob_Hansen wrote on May 6th, 2012 at 4:13am:
We are hoping to see that feature announced at the National Sesame Group Meeting we are also hoping to attend with the Version 3 Release (We all missed any mention of where on the East Coast that was going to be held  Roll Eyes).


Rumor has it,  it's going to be in a small city in Ohio and the users are going to take the incredible Lantica team to a wonderful dinner at a really nice place and then the next couple of mornings the users are going to show up and answer phones and take messages so the Lanticans can have a few days of peace and quiet.
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 6 7 [8] 9 
Send Topic Send Topic Print Print