flat assembler
Message board for the users of flat assembler.

Index > Windows > rundll32.exe Shell32.dll,Control_RunDLL desk.cpl... /quiet

Author
Thread Post new topic Reply to topic
semiono



Joined: 31 Aug 2007
Posts: 192
Location: section '.code' executable
semiono 18 Mar 2010, 17:48
Quote:
rundll32.exe Shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:"%WinDir%\Resources\Themes\Luna.theme"
rundll32.exe Shell32.dll,Control_RunDLL desk.cpl desk,@Appearance /Action:OpenMSTheme /File:"%WinDir%\Resources\Themes\Luna.theme"


Is it a something secret swithers to apply this without to use dialog?
/Action:SetTheme ? Smile

Some ideas, please?..
Howto the press button OK in asm code?? Cool Confused

_________________
Windows 9, FL Studio 19
Post 18 Mar 2010, 17:48
View user's profile Send private message Reply with quote
semiono



Joined: 31 Aug 2007
Posts: 192
Location: section '.code' executable
semiono 23 Mar 2010, 15:33
a global world crisis?
Post 23 Mar 2010, 15:33
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20207
Location: In your JS exploiting you and your system
revolution 23 Mar 2010, 15:53
I guess the silence means no one here knows the answer.

Besides, who changes themes so often that it needs to be automated?
Post 23 Mar 2010, 15:53
View user's profile Send private message Visit poster's website Reply with quote
semiono



Joined: 31 Aug 2007
Posts: 192
Location: section '.code' executable
semiono 24 Mar 2010, 14:35
This is some like the code

Code:
include '%fasm%\win32ax.inc'

start:
        invoke ShellExecute,NULL,NULL,'calc.exe',NULL,NULL,SW_SHOW
        invoke Sleep,20

        invoke FindWindow,"SciCalc",NULL
        mov [hWnd],eax
        invoke FindWindowEx,[hWnd],NULL,NULL,button
        mov [cWnd],eax
        invoke SendMessage,[cWnd],BM_CLICK,NULL,NULL
exit:
        invoke ExitProcess,NULL

section '.idata' import data readable writeable
        library kernel32,'KERNEL32.DLL',\
        shell32,'SHELL32.DLL',user32,'USER32.DLL'
        include '%fasm%\api\kernel32.inc'
        include '%fasm%\api\shell32.inc'
        include '%fasm%\api\user32.inc'

        cWnd dd ?
        hWnd dd ?
        button db '4', 0    


But desk.cpl is transcendental window! The Button1 absent into resorces Smile
Post 24 Mar 2010, 14:35
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.