Search found 19 matches

by James9491
31 Jul 2018, 01:03
Forum: Ask For Help
Topic: Subroutine, behaves differently when activated from another script.. ??
Replies: 4
Views: 707

Re: Subroutine, behaves differently when activated from another script.. ??

A syntax error or sloppy copy pasting... Dont assume people are going to know all your code you do not post. ie: there isnt even a return for your hotkey. Ok. Here is the full subroutine Multi_Actions: RAlt & F12:: ;Also allow RAlt. It does not work without this assignment !F12:: ;<ALT><F12> - imme...
by James9491
30 Jul 2018, 17:41
Forum: Ask For Help
Topic: Subroutine, behaves differently when activated from another script.. ??
Replies: 4
Views: 707

Re: Subroutine, behaves differently when activated from another script.. ??

Xtra wrote:Typo?
mouseClick, Left, xPosition%c
:) No, that just the end of my quote
Beside - It belong to the D type command (double click). Nothing to do with the Move command.
Only the Move command uses the mouse position as an optional destination.

James
by James9491
30 Jul 2018, 12:47
Forum: Ask For Help
Topic: Subroutine, behaves differently when activated from another script.. ??
Replies: 4
Views: 707

Subroutine, behaves differently when activated from another script.. ??

Hello all, I wonder if there is an explanation to a situation I encountered. I have a main script that monitor a stock graph. when the graph rises over (or declines below) a particular level, my script performs a subroutine that basically sends a predefined bunch of mouse movements & clicks. Lately,...
by James9491
18 Jan 2017, 13:42
Forum: Ask For Help
Topic: Gui, Add, Progress, display nothing.. Topic is solved
Replies: 4
Views: 1187

Re: Gui, Add, Progress, display nothing.. Topic is solved

Thanks hunter99 but it seems that I solved the mystery. In the end, the other two Gui's controls panels (checkBox type) they was the cause that blocked the 'Gui, Add, Progress..' I had to give the 'Gui, Add, Progress' also a number to be able to refer to it separately. Here is a combined three GUIs ...
by James9491
18 Jan 2017, 05:14
Forum: Ask For Help
Topic: Gui, Add, Progress, display nothing.. Topic is solved
Replies: 4
Views: 1187

Re: Gui, Add, Progress, display nothing.. Topic is solved

It is about 3,000 lines code... :o Ok, I'll do it by showing you the main parts: This part: Define the function : !F3:: ;<ALT><F3>> = trail enable pause, off P=-1 ;Pause = 1; un_Pause= -1 Suspend, on toolTip,,,,4 ;Clear toolTip! trail_Size:=1 trail_Title= gosub set_levels trail_Size:=LY1-UY1 Upper_Y...
by James9491
18 Jan 2017, 04:16
Forum: Ask For Help
Topic: Gui, Add, Progress, display nothing.. Topic is solved
Replies: 4
Views: 1187

Gui, Add, Progress, display nothing.. Topic is solved

Hi, I programed a script that uses Progress. l also use two 'panels' built with Gui 1:Add.. and Gui 2:Add Now, I wanted to make the progress vertical and found out that the only way to do that is by using 'Gui, Add, Progress, Vertical -Smooth w20 h300 cDefault vMyProgress..'' Well, I did a test scri...
by James9491
19 Dec 2016, 12:09
Forum: Ask For Help
Topic: Fastest execution of multiple commands..
Replies: 7
Views: 1101

Re: Fastest execution of multiple commands..

Well, thank you for you good advice, but in my country, I am trading with 'the best' trading platform and apparently it is very poor compare to what your NinjaTrader can do. In my system, there is no scripts, just very few "smart commands".

So smart that I rather use the script instead.

James
by James9491
19 Dec 2016, 01:31
Forum: Ask For Help
Topic: Fastest execution of multiple commands..
Replies: 7
Views: 1101

Re: the trading platform vs the AHK possibilities

Sure, but they are very basic and too simple in compare to what I am doing with the AHK script. For instance, with the basic software the Buy or Sell can be triggered only by the stock's price itself, while with the aid of the script, I can track an external index and use it as a trigger to buy or s...
by James9491
18 Dec 2016, 04:40
Forum: Ask For Help
Topic: Fastest execution of multiple commands..
Replies: 7
Views: 1101

I thought of another way..

Ok, It seem as if I asked too difficult question or maybe there isn't any a real good solution to my problem. Well, I thought of another way to solve this. The commands to execute are known ahead of time, so I thought to put them in variables, and upon the trigger to execute these variables all in o...
by James9491
16 Dec 2016, 19:10
Forum: Ask For Help
Topic: Fastest execution of multiple commands..
Replies: 7
Views: 1101

Fastest execution of multiple commands..

The following code is part of a script that controls buying or selling in the stock market. These instructions should be executed as fast as possible. I am afraid that 'if' commands isn't fast enough.. Maybe 'case' (I remember that once there was such a command) in a loop will be faster, (is it?) or...
by James9491
15 Nov 2016, 16:23
Forum: Ask For Help
Topic: a special character (HTML) as part of a toolTip line (?!) Topic is solved
Replies: 2
Views: 595

a special character (HTML) as part of a toolTip line (?!) Topic is solved

Hi there,

I'd like to display a special character that is one of the arrows shown in this page.
It is supposed to be combined as part of a toolTip line that display titles + active data.

What is the 'chr()' code that I have to use in order to do that.

Thank you,

James
by James9491
09 Nov 2016, 11:48
Forum: Ask For Help
Topic: Silent dragging (in the background)
Replies: 1
Views: 485

Silent dragging (in the background)

Hi all, I am trying to "drag" a line on the screen, but I need the dragging to be without moving the mouse (It is busy with another duties). Beside : SendEvent {Click UX1, rCT, down}{click UX1, LY1, up} OR: MouseClickDrag, left, UX1, rCT, UX1, LY1,, What other options do I have? Thank you, James
by James9491
02 Aug 2016, 14:48
Forum: Ask For Help
Topic: AutoHotkey 112301_x64 - Arrays nonexistent function ?!
Replies: 11
Views: 1872

Thanks for the tips (Length keep adding 1)

The array works very different from the once I used to work with in the past (very long past). either I don't really remember or the terminology got changed. For instance, as far as I remember, PUSH used to instert data on top of the array, Like in magazine (LIFO): number one pushed down to be numbe...
by James9491
02 Aug 2016, 06:25
Forum: Ask For Help
Topic: AutoHotkey 112301_x64 - Arrays nonexistent function ?!
Replies: 11
Views: 1872

Thanks A_lot. My OS is Ubuntu (Linux)..

I use Autohotkey to control a finance market application that operate only within Windows. Hence, I am running it under a VM. OK, now I would like to gather two sets of prices (data). I want to give them separate name like "alpha" and "beta". I built this test script: Array := Object() Array.push(10...
by James9491
01 Aug 2016, 07:56
Forum: Ask For Help
Topic: AutoHotkey 112301_x64 - Arrays nonexistent function ?!
Replies: 11
Views: 1872

Re: AutoHotkey 112301_x64 - Arrays nonexistent function ?!

boiler wrote:Just to make sure some old version isn't also installed or something, see what this says when you run it:
MsgBox, % A_AhkVersion
Oh no. It says: 1.0.48.05
How can I install the full vertion?

James
by James9491
01 Aug 2016, 04:46
Forum: Ask For Help
Topic: AutoHotkey 112301_x64 - Arrays nonexistent function ?!
Replies: 11
Views: 1872

Re: AutoHotkey 112301_x64 - Arrays nonexistent function ?!

No. Error: ilegal caracter: "Arrey.1",
And when I take this out, it complain about the Array := Object() - "nonexistent function.."

:cry:


James
by James9491
01 Aug 2016, 03:12
Forum: Ask For Help
Topic: AutoHotkey 112301_x64 - Arrays nonexistent function ?!
Replies: 11
Views: 1872

AutoHotkey 112301_x64 - Arrays nonexistent function ?!

Hi there, I am using version 1.1.23.01 64 bit When I try to use the Array function, I can't seem to get the desired result. For instance, if I use the code 'Array := Object()' on execution I get an error saying nonexistent function... https://autohotkey.com/docs/misc/Arrays.htm Why? what's wrong? Ja...
by James9491
18 Feb 2016, 12:57
Forum: Ask For Help
Topic: Is there a time relate problem that might effect script excecution?
Replies: 1
Views: 518

Is there a time relate problem that might effect script excecution?

Hi all, I used to write in the previous form but I see that now there is a new forum, but it does not recognized me, so I Re Registered. Well, I wrote a very long script that does several things. Basically, the script monitors a Stock Market application and sends orders acordning to particular condi...

Go to advanced search