Jump to content

Run! my lastest program.


ezzetabi
 Share

Recommended Posts

  • Replies 102
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

About the {Tab} problem here the new version:

I solved it brutally, sending a {end} to the control just after update it, it is quite ugly. But it works.

(How often a developer make a new version so fast just for you? :) )

:)

Do you think Run! shoulds play a sound when the user calls !vup or !vdown ?

For download go in the last or first post.

Edited by ezzetabi
Link to comment
Share on other sites

A new version again, until I have no feedback I can't improve much, but now I just added a sound that let you listen the variation of volume after !vup and !vdown commands.

Also added a download link also in the first post.

Run! have its home page now. Go in it for downloading.

Edited by ezzetabi
Link to comment
Share on other sites

Thanks for answers...

New version. This time I separed not only settings, but also custom hotkeys and !commands for every user.

Added commands !delfiles and !delfolder. A part of the obious they can delete also in use file using pendingrenameoperations or wininit.ini file.

Edit: typo.

Edited by ezzetabi
Link to comment
Share on other sites

!help is perfect, but people like to get help before running a program.

EDIT: Suggestions:

Moveable bar (top/bottom/left/right)

Customizable shortcuts for internal commands better than just ctrl+shift+ whatever key; What about ctrl+alt+some key, or win+alt+some key or Win+key all user customizable. For personal preference, I would like to have a simple win+key to allow easy access.

For floppy portability, please have an option to NOT have individual folders for each user, but one folder for ALL users

!command that sends a hotkey? I use winamp with global hotkeys and would like to be able to do !play to send ctrl+alt+home (winamp's play hotkey)

Edited by this-is-me
Who else would I be?
Link to comment
Share on other sites

Moveable bar. I can allow the user select the position from an option, since the type of win I used is not moveable.

About CTRL+SHIFT+x it is a pain to change, but I'll see what can I do.

I added the separed settings in one of the last versions... Sigh... Ok.

About the !commands for hotkeys, I like it! I'll see what can I do.

(probably as first job) :)

I think I'll add a option is the .ini files for !commands, so they can be read as hotkeyset instead of normal commands.

Edited by ezzetabi
Link to comment
Share on other sites

For the moveable window, here is some cod that could be hacked together:

format of dllcall using sendmessage:

dllcall("user32.dll","int","SendMessage","hWnd",$hwnd,"int",0x0147,"int", 0,"int", 0)

vb code to allow draggable windows without titlebar:

Const WM_NCLBUTTONDOWN = &HA1

Declare Sub ReleaseCapture Lib "user32" ()
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Long) As Long

Public Sub FormDrag(TheForm As Form)
    ReleaseCapture
    Call SendMessage(TheForm.hwnd, &HA1, 2, 0&)
    
End Sub

separed settings

I don't mean completely remove them, just give an option to disable them and do the old style.
Who else would I be?
Link to comment
Share on other sites

I got it to work.. I'm happy.

#include <guiconstants.au3>
$HTCAPTION = 2
$WM_NCLBUTTONDOWN = 0xA1
$winttl = "Test"
$guihndl = GUICreate($winttl, 500, 300, -1, -1)
GUISetState()


While 1
   $msg = GUIGetMsg(1)
   Select
   Case $GUI_EVENT_PRIMARYDOWN = $msg[0]
   dllcall("user32.dll","int","ReleaseCapture")
   dllcall("user32.dll","int","SendMessage","hWnd", $guihndl,"int",$WM_NCLBUTTONDOWN,"int", $HTCAPTION,"int", 0)   
   EndSelect
Wend

Try dragging the window using the mouse in the body.

Who else would I be?
Link to comment
Share on other sites

I got it to work.. I'm happy.

#include <guiconstants.au3>
$HTCAPTION = 2
$WM_NCLBUTTONDOWN = 0xA1
$winttl = "Test"
$guihndl = GUICreate($winttl, 500, 300, -1, -1)
GUISetState()
While 1
   $msg = GUIGetMsg(1)
   Select
   Case $GUI_EVENT_PRIMARYDOWN = $msg[0]
   dllcall("user32.dll","int","ReleaseCapture")
   dllcall("user32.dll","int","SendMessage","hWnd", $guihndl,"int",$WM_NCLBUTTONDOWN,"int", $HTCAPTION,"int", 0)   
   EndSelect
Wend

Try dragging the window using the mouse in the body.

<{POST_SNAPBACK}>

Nice. (Like Winamp) :)
Link to comment
Share on other sites

Update for those who don't want to use the guimsg loop (like me):

#include <guiconstants.au3>
Opt("GuiOnEventMode", 1)
$HTCAPTION = 2
$WM_NCLBUTTONDOWN = 0xA1
$winttl = "Test"
$guihndl = GUICreate($winttl, 500, 300, -1, -1)
GUISetOnEvent($GUI_EVENT_PRIMARYDOWN, "captureit")
GUISetState(@SW_SHOW)
Sleep(50000)

func captureit()
   dllcall("user32.dll","int","ReleaseCapture")
   dllcall("user32.dll","int","SendMessage","hWnd", $guihndl,"int",$WM_NCLBUTTONDOWN,"int", $HTCAPTION,"int", 0)
EndFunc
Who else would I be?
Link to comment
Share on other sites

Thanks for this code, now Run! can be moved. And it saves its position for every resolution, so passing from a huge 1920x1440 to a 640x480 won't hide Run! somewhere away in the desktop...

But before uploading the new version, I'll implement the !commands for hotkeys.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...