Search found 45 matches

by F4Jonatas
17 Apr 2017, 12:30
Forum: Scripts and Functions (v1)
Topic: ActiveScript - Host VBScript and JScript in-process
Replies: 46
Views: 42209

Re: ActiveScript - Host VBScript and JScript in-process

Hello! I want to know why this is not right!? #NoEnv #Include ActiveScript.ahk #Include JsRT.ahk Gui, +Resize MinSize671x300 Gui, Show, W671 H300, JsRT Gui, Color, Gray Gui, Add, ActiveX, X0 Y0 W671 H300 VIE, "Shell.Explorer" ; Toast notifications from desktop apps can only use local image files. i...
by F4Jonatas
12 Feb 2017, 07:59
Forum: Ask for Help (v1)
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 4873

Re: Open Context Menu (Function) Topic is solved

are you aware that Shift+F10 opens the context menu for the currently selected item?
Yes. But what I want is to open the context menu of another app.
Qwerty already solved this for me.
:salute:
by F4Jonatas
10 Feb 2017, 06:36
Forum: Ask for Help (v1)
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 4873

Re: Open Context Menu (Function) Topic is solved

Exactly what I was looking for. :salute: I have decided to remove lines 6, 7, 8 and 78. On line 5 I changed the variable "win_hwnd" "WindowProc" function does not work in 32 bits? ShellContextMenu( sPath, win_hwnd = 0 ) { if ( !sPath ) return if !win_hwnd win_hwnd := DllCall( "User32.dll\FindWindow...
by F4Jonatas
09 Feb 2017, 14:18
Forum: Ask for Help (v1)
Topic: Open Context Menu (Function) Topic is solved
Replies: 21
Views: 4873

Open Context Menu (Function) Topic is solved

Is there any way to open the context menu of any file?

Image
by F4Jonatas
08 Feb 2017, 12:08
Forum: Ask for Help (v1)
Topic: Run C programs (TinyCC) Topic is solved
Replies: 4
Views: 1345

Re: Run C programs (TinyCC) Topic is solved

I can see warning by running the script with the Sublime Text.

Solved!
Now it's running without warning...

Thanks man!
:dance:
by F4Jonatas
08 Feb 2017, 05:44
Forum: Ask for Help (v1)
Topic: Run C programs (TinyCC) Topic is solved
Replies: 4
Views: 1345

Re: Run C programs (TinyCC) Topic is solved

Nicely done!
Now the only error is that returns this:
<string>:1: warning: assignment makes pointer from integer without a cast
Is there any way to fix it?

Thank you!
by F4Jonatas
07 Feb 2017, 10:50
Forum: Ask for Help (v1)
Topic: Run C programs (TinyCC) Topic is solved
Replies: 4
Views: 1345

Run C programs (TinyCC) Topic is solved

This code run in ANSI. Is there a way to run in Unicode? MsgBox % TCC( "C:\Users\..\Desktop\tcc", "" . "main() {" . "char*_result;" . "strcpy( _result, ""Hello World"" );" . "return 0;" . "}" ) TCC( LibPath, Script, ResultLen = 999 ) { Local Context, Count Local Result := "" Local Dll := LibPath "\...
by F4Jonatas
02 Feb 2017, 12:19
Forum: Scripts and Functions (v1)
Topic: Commanding Rainmeter with AHK (and vice versa)
Replies: 21
Views: 10726

Re: Commanding Rainmeter with AHK (and vice versa)

So. This code can not pass to AHK_L... #include <SendMessage.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <Array.au3> $RAINMETER_QUERY_WINDOW = WinGetHandle("[CLASS:RainmeterTrayClass]") $WM_QUERY_RAINMETER = $WM_APP + 1000 $RAINMETER_QUERY_ID_SKINS_PATH = 4101 $RAINM...
by F4Jonatas
02 Feb 2017, 09:30
Forum: Scripts and Functions (v1)
Topic: Commanding Rainmeter with AHK (and vice versa)
Replies: 21
Views: 10726

Re: Commanding Rainmeter with AHK (and vice versa)

Solved! Thanks @jNizM ; Require DetectHiddenWindows, On ; GetSkinWindow( "illustro\Clock" ) GetSkinWindow( ConfigName ) { Local Hwnd := WinExist( "ahk_class RainmeterTrayClass" ) Local SizeInBytes := ( StrLen( ConfigName ) + 1 ) * ( A_IsUnicode ? 2 : 1 ) Local DataStruct If Not ( Hwnd == 0 ) { VarS...
by F4Jonatas
02 Feb 2017, 08:38
Forum: Scripts and Functions (v1)
Topic: Commanding Rainmeter with AHK (and vice versa)
Replies: 21
Views: 10726

Re: Commanding Rainmeter with AHK (and vice versa)

Can someone implement this code for AHK_L? // Usage: GetSkinWindow(L"illustro\\Clock"); // Return value will be NULL if config not found or a valid HWND otherwise #include <Windows.h> HWND GetSkinWindow(const WCHAR* configName) { HWND trayWnd = FindWindow(L"RainmeterTrayClass", NULL); if (trayWnd) ...
by F4Jonatas
31 Jan 2017, 07:01
Forum: Ask for Help (v1)
Topic: Extract text from a string with tabs
Replies: 7
Views: 2413

Re: Extract text from a string with tabs

This way was faster, but creates global variables. Another way xString := "Jean Dupont 10 Rue des roses 75016 Paris" RegExMatch(xString,"^(?P<Prenom>\w+)\t(?P<Nom>\w+)\t(?P<adresse>\S.+\w+)\t(?P<CP>\d.+)\t(?P<ville>\w.+)$",My) Msgbox % "prenom" A_Tab "(" MyPrenom ")`nnom" A_Tab "(" MyNom ")`nadress...
by F4Jonatas
25 Jan 2017, 18:48
Forum: Ask for Help (v1)
Topic: Extract text from a string with tabs
Replies: 7
Views: 2413

Re: Extract text from a string with tabs

MsgBox, % Main( "Jean Dupont 10 Rue des roses 75016 Paris" ).Adresse ExitApp Main( String ) { Local Result := {} Local Keys := [ "Prenom", "Nom", "Adresse", "CP", "Ville" ] Local LoopField := "" Local Count := 1 While ( Count := RegExMatch( String, "i)([^\t]+)", LoopField, Count + StrLen( LoopField...
by F4Jonatas
25 Jan 2017, 18:26
Forum: Ask for Help (v1)
Topic: gui, please help
Replies: 2
Views: 640

Re: gui, please help

Change this:

Code: Select all

Loop, *.ahk ; Line 8
For:

Code: Select all

Loop, *.exe ; Line 8

Tell me if it worked.
by F4Jonatas
14 Jan 2017, 09:17
Forum: Scripts and Functions (v1)
Topic: AHK 3D "graphics", playing around with GDI+
Replies: 6
Views: 3892

Re: AHK 3D "graphics", playing around with GDI+

Hi!
I loved your project. :bravo:
But I did not understand what this does...

Code: Select all

link_hwnd := WinExist()
DllCall("RegisterShellHookWindow", "uint",link_hwnd)
Msg := DllCall("RegisterWindowMessage", "str","SHELLHOOK")
OnMessage(Msg, "LinkGuiMsg")
by F4Jonatas
22 Dec 2016, 07:01
Forum: Ask for Help (v1)
Topic: urldownloadto file slows down my computer
Replies: 1
Views: 624

Re: urldownloadto file slows down my computer

Show your code and someone can look for some error.
If it does not exist then there is some problem with your PC
by F4Jonatas
02 Dec 2016, 18:07
Forum: Scripts and Functions (v1)
Topic: JavaScript Runtime Hosting (IE11)
Replies: 5
Views: 3385

Re: JavaScript Runtime Hosting (IE11)

For example in the above code.
Do you create a "host" object in JS, and how can I delete that object?
by F4Jonatas
01 Dec 2016, 12:15
Forum: Scripts and Functions (v1)
Topic: JavaScript Runtime Hosting (IE11)
Replies: 5
Views: 3385

Re: JavaScript Runtime Hosting (IE11)

How to use these variables: "JS_INVALID_REFERENCE", "JS_INVALID_RUNTIME_HANDLE", "JS_SOURCE_CONTEXT_NONE"?
How to collect variable name in js and delte?

Thank You!
:salute:
by F4Jonatas
25 Nov 2016, 13:47
Forum: Ask for Help (v1)
Topic: Gdip Function
Replies: 0
Views: 401

Gdip Function

Hello again! Today I want help, to add this "GdipDrawDriverString" and "GdipAddPathString" function in my Lib. Is it possible to transform for AHK !? Thank you! GdipDrawDriverString : http://purebasic.developpez.com/tutoriels/gdi/documentation/GdiPlus/Text/html/GdipDrawDriverString.html GdipAddPath...

Go to advanced search