Auto Capture Image... some help required

#11
Thanks for the follow up kevin...
however when executed manually it works well and good...
but when I try to automate the process then I encounter an error...

again not always! The automation process works for quite a while and I also get error window poping up.

any other means to do this? please advice and guide me thru!
I'm trying to create something similar to SMCHARTS.com
 
Last edited:

KelvinHand

Well-Known Member
#13
Thanks for the follow up kevin...
however when executed manually it works well and good...
but when I try to automate the process then I encounter an error...

again not always! The automation process works for quite a while and I also get error window poping up.

any other means to do this? please advice and guide me thru!
I'm trying to create something similar to SMCHARTS.com
Dear Friend,

I don't want to distract by your automatic process and other thing that you want to create while we are still debugging the problem.


I know nut about SMCHARTS.com


I want to know only how your manual is working.
Did you follow the steps i given.
Did you see the message it print out.
Show me the message.


Once the manual step is working and work as i want, then i can figure out the auto process.
Auto process may had to deal with timing, that may need to adjust the variable.
I don't do realtime, so later need help from the forum guy to verify all these timing issue



1st question is what is your F drive, you had not answer me yet

Please Run the following script and show me the message.

Code:
var fso = WScript.CreateObject("Scripting.FileSystemObject");

var d = fso.GetDrive("F:\\");


switch (d.DriveType)
{
      case 0: t = "Unknown"; break;
      case 1: t = "Removable"; break;
      case 2: t = "Fixed"; break;
      case 3: t = "Network"; break;
      case 4: t = "CD-ROM"; break;
      case 5: t = "RAM Disk"; break;
}
s = "==>" + d.DriveLetter + ": - " + t;
   if (d.IsReady)

      s +=  "Drive is Ready.";
   else
      s +=  "Drive is not Ready.";

WScript.Echo("Drive " + s);
If possible, pls get a screen capture program to grab the image, post up to http://imgur.com/
so that i can know what error message you get.
I need the message to do judgement.
 
Last edited:
#15
All these SMCHARTS.com & chartpro.in seen to me like advertising or promotion here.
So i may drop the debugging with you.
Kevin I'm trying to create one alike... and this is no promotion.
I tried them as an user but nothing worked well...
I'm using nirvana and southbreeze for my trading needs. beleive it or not this the truth
 
#16
Dear Friend,

I don't want to distract by your automatic process and other thing that you want to create while we are still debugging the problem.


I know nut about SMCHARTS.com


I want to know only how your manual is working.
Did you follow the steps i given.
Did you see the message it print out.
Show me the message.


Once the manual step is working and work as i want, then i can figure out the auto process.
Auto process may had to deal with timing, that may need to adjust the variable.
I don't do realtime, so later need help from the forum guy to verify all these timing issue



1st question is what is your F drive, you had not answer me yet

Please Run the following script and show me the message.

Code:
var fso = WScript.CreateObject("Scripting.FileSystemObject");

var d = fso.GetDrive("F:\\");


switch (d.DriveType)
{
      case 0: t = "Unknown"; break;
      case 1: t = "Removable"; break;
      case 2: t = "Fixed"; break;
      case 3: t = "Network"; break;
      case 4: t = "CD-ROM"; break;
      case 5: t = "RAM Disk"; break;
}
s = "==>" + d.DriveLetter + ": - " + t;
   if (d.IsReady)

      s +=  "Drive is Ready.";
   else
      s +=  "Drive is not Ready.";

WScript.Echo("Drive " + s);
If possible, pls get a screen capture program to grab the image, post up to http://imgur.com/
so that i can know what error message you get.
I need the message to do judgement.

Kevin Thanks a ton for your extended help...

My C, D, E and F are local drives. I'm planning to map a network drive from an ftp sooner once when this issue is resolved.

your code worked as it displayed F: is ready
and I've noticed one strange thing is that the message was displayed twice some times when the code was executed. (automatically or manually)

I tried with my code as well and noticed that the error was gen twice. at times

herewith I'm attaching a screen shot. of the error
 

mastermind007

Well-Known Member
#18

mastermind007

Well-Known Member
#19
All these SMCHARTS.com & chartpro.in seen to me like advertising or promotion here.
So i may drop the debugging with you.
KelvinHand

Both of those sites are being created for commercial reason and if question is to about technical know-how to create a product to be sold to traders, then it would be appropriate that he would pay. If it was a trading related question or
someone struggling to get past certain trading logic, then it would be different.
 
#20
KelvinHand

Both of those sites are being created for commercial reason and if question is to about technical know-how to create a product to be sold to traders, then it would be appropriate that he would pay. If it was a trading related question or
someone struggling to get past certain trading logic, then it would be different.
My intention is to create a site in sub domain. this is like marketcalls.in a free service for me and my friend's circle. I share my calls with my friends too.

we had come across several AFLs and the mentioned websites too. and now would like to create one site for us. we all work in UK shift which is between 3 to 1 and we start to work at 2 so tend be sleeping in morning hrs and evening at office while mcx is very volatile.

so the plan is to create a free domain website nad have the afl stream live to that we people can trade.
 

Similar threads