Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBS on Linux

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,48043
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> VBS on Linux
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBS on Linux - 6/7/2007 9:28:58 AM   
  Fredledingue


Posts: 321
Score: 0
Joined: 5/9/2005
From:
Status: offline
Questions:

-Does Linux offer a similar concept of notepad based script hosting?

-Is there a Linux based language similar and  easy to translate fom VBS?

-What would you do if you had to migrate fom Windows to Linux and keep using all your scripts?

Note:
According to JSWare, VBS, via Windows Script Host  works fine on Wine but I guess there must be a similar scripting language for Linux.

_____________________________

Fred
 
 
Post #: 1
 
 RE: VBS on Linux - 6/8/2007 2:07:26 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
The scripting environment in Linux is actually much richer than on windows. You cannot use VBScript, but there are a lot of other languages that to a certain extent are better imo than VBScript. Just to list a few (and all of these can be used on windows as well with more or less effort depending on the language):

Awk
Bash
Perl
Python
PHP
Lisp
sed

That list just barely scratches the surface. If you really want to use VBScript on a linux machine, you may be able to via WINE, but I have never tried.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to Fredledingue)
 
 
Post #: 2
 
 RE: VBS on Linux - 6/12/2007 9:36:24 AM   
  Fredledingue


Posts: 321
Score: 0
Joined: 5/9/2005
From:
Status: offline
Any native linux script la,guage that looks like VBS? 

_____________________________

Fred

(in reply to ebgreen)
 
 
Post #: 3
 
 RE: VBS on Linux - 6/13/2007 1:34:50 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
Not really.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to Fredledingue)
 
 
Post #: 4
 
 RE: VBS on Linux - 6/28/2007 6:07:47 AM   
  TNO


Posts: 1040
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
<.<

>.>

.........
Javascript

And I say that not just because I'm a known fanboy, but because it has always been easier for me mentally to just change up a few object references and go on my way depending on the environment (Web Browser, client side script, .NET environment, ASP pages, etc.). Not to mention you get a ton and a half of easy to digest refrences and samples on the internet. Plus the updated scripting reference from MSDN shows alot of the VBScript and JScript equivalents side by side

< Message edited by TNO -- 6/28/2007 6:19:19 AM >


_____________________________

Consolidated Script Component: The Acid Test

A universe of complexity...

(in reply to ebgreen)
 
 
Post #: 5
 
 RE: VBS on Linux - 6/28/2007 7:37:02 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
I agree with most of your points, but in interest of truth in advertising I think everyone should be made aware that JScript <> JavaScript.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to TNO)
 
 
Post #: 6
 
 RE: VBS on Linux - 6/28/2007 9:45:11 AM   
  TNO


Posts: 1040
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Very true. JavaScript comes in a variety of "flavors" The differences are small, but could get you to into trouble if you don't pay attention to them. But hands down, if you can find the same function or feature on W3schools, Mozilla, and in the WSH documentation you're safe. But even this minor roadblocks aren't an issue with the language's natural prototype inheritence. You can prototype the missing functions to fit your specific environment if it becomes necessary. But in all I personally think learning JS is alot easier than learning PHP or PERL.

The basic types of JavaScript:

The Standard ECMAScript
Mozilla's JavaScript (very close to the current standards)
Microsoft's JScript (found in the WSH documentation)
JScript.NET (basically the same as the WSH documentation plus a few things extra thrown in which are optional)
ActionScript (Used in Flash programs, but you most likely arent going to have to worry about this)
and a variety of smaller deviations that follow the basics of the ECMA standard.

< Message edited by TNO -- 6/28/2007 9:49:33 AM >


_____________________________

Consolidated Script Component: The Acid Test

A universe of complexity...

(in reply to ebgreen)
 
 
Post #: 7
 
 RE: VBS on Linux - 6/29/2007 1:26:16 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
If you are just starting out and learning from scratch I don't think JavaScript is any easier than Perl or PHP, but that is purely personal opinion. I always tell people that their very first language should be Python anyway.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to TNO)
 
 
Post #: 8
 
 RE: VBS on Linux - 7/20/2007 10:18:03 AM   
  Fredledingue


Posts: 321
Score: 0
Joined: 5/9/2005
From:
Status: offline
Ok, Java or JS (whatever you prefer to call it) is a no go to me. Too complicated.
So I guess I'm stuck here.


_____________________________

Fred

(in reply to ebgreen)
 
 
Post #: 9
 
 RE: VBS on Linux - 7/23/2007 12:57:01 AM   
  TNO


Posts: 1040
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline

Java and JS 2 different things as well

Personally if I HAD to use vbscript for a Linux platform I would probably use some sort of trusted ASP page to remotely do everything. If I find a sample of someone doing this or something better I'll let you know.

_____________________________

Consolidated Script Component: The Acid Test

A universe of complexity...

(in reply to Fredledingue)
 
 
Post #: 10
 
 RE: VBS on Linux - 7/24/2007 7:58:26 AM   
  mcds99


Posts: 416
Score: 4
Joined: 2/28/2006
Status: offline
I had to look ;-)

http://hbasic.sourceforge.net/

It's "Basic" not vbscript.

_____________________________

Sam

Keep it Simple Make it Fun KiSMiF

(in reply to TNO)
 
 
Post #: 11
 
 RE: VBS on Linux - 7/26/2007 10:11:36 AM   
  daluu

 

Posts: 28
Score: 0
Joined: 4/17/2006
Status: offline
How about Mono platform for .NET languages? C# or VB.NET? It's a lot like VBScript in that its easy to use. VB.NET would be best if it is supported in Mono, but I'm not sure.

(in reply to Fredledingue)
 
 
Post #: 12
 
 RE: VBS on Linux - 8/23/2007 5:37:29 AM   
  Parabellum


Posts: 222
Score: 0
Joined: 11/12/2006
From: UK
Status: offline
Its not to difficult to move between sciprting languages if you understand the basics of programming..
variables, arrays, loops, functions etc..

I am constantly switching between vbscript, PHP, Perl and Javascript... but i would say if you want to script on linux.. stick with perl... its easy to follow, and will do anything any other scripting language will do.
If you want to develop applications you will need to go for higher level such as c/c++ or Java and if you want to develop web apps or web pages... go for PHP and Javascript..

(in reply to daluu)
 
 
Post #: 13
 
 RE: VBS on Linux - 8/23/2007 10:29:11 AM   
  Rischip


Posts: 402
Score: 2
Joined: 3/26/2007
Status: offline
I believe only C# is supported on mono.

_____________________________

Rischip
Author of - The Grim Linker

(in reply to daluu)
 
 
Post #: 14
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> VBS on Linux Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts