Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Newbie Object Issue

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Newbie Object Issue
  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 >>
 Newbie Object Issue - 6/25/2008 11:10:53 PM   
  mladost1

 

Posts: 4
Score: 0
Joined: 6/23/2008
Status: offline
Hey! I have a rather simple question - how do I make an object in a html page e.g.

<html>
<script language="vbscript">
set object=Wscript.Createobject("iTunes.Application")
object.NextTrack()
</script>
</html>

Really simple script and simply not working :( Help please :)
 
 
Post #: 1
 
 RE: Newbie Object Issue - 6/26/2008 12:26:01 AM   
  dm_4ever


Posts: 2548
Score: 40
Joined: 6/29/2006
From: Orange County, California
Status: offline
Loose the WScript.

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to mladost1)
 
 
Post #: 2
 
 RE: Newbie Object Issue - 6/26/2008 8:38:23 PM   
  mladost1

 

Posts: 4
Score: 0
Joined: 6/23/2008
Status: offline
Nope still doesn't work - what i do is save the script and then open it with IE. should i compile/debug or something?

(in reply to mladost1)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Newbie Object Issue 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