avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday November 27, 2022, 7:22 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Masonjar13 [ switch to compact view ]

Pages: [1] 2next
Oh, I also had the bright idea of a mug design that looked like


possibly in crt-style green on black, but I decided it was a bit too smartass.  :)

That would kind of be awesome. Maybe it wouldn't fit the theme for NANY, but I'd definitely opt for one. On a whim, I made a simple text-to-binary script that could be used to give it a hidden meaning  :o

I actually made it with the thought of making a wallpaper, but then I realized.. I can't graphic  :huh:

N.A.N.Y. 2015 / Re: NANY 2015 Release: Tox Profile Launcher
« on: January 17, 2015, 01:50 AM »
Fixed and uploaded.

N.A.N.Y. 2015 / Re: NANY 2015 Release: Tox Profile Launcher
« on: January 17, 2015, 12:36 AM »
It certainly is. And as a quick note, I thoroughly broke it, working on that now.

N.A.N.Y. 2015 / Re: NANY 2015 Release: Tox Profile Launcher
« on: January 16, 2015, 11:54 PM »
Update: I know I said I wasn't, but I fixed the error received when shutting down.

N.A.N.Y. 2015 / Re: NANY 2015 Release: Tox Profile Launcher
« on: January 06, 2015, 12:37 PM »
Updated for official release.  :D I'll leave it stagnant, considering the lack of interest.

N.A.N.Y. 2015 / Re: NANY 2015 Pre-Release: Tox Profile Launcher
« on: January 03, 2015, 09:49 PM »
It's not visually finished, but I've attached a screenshot to the original post.

N.A.N.Y. 2015 / Re: NANY 2015 Pre-Release: Tox Profile Launcher
« on: January 01, 2015, 08:41 PM »
Quick update: I'm still working on the UI, should be done in the next few days hopefully. I'll post a release thread when it's completed.

N.A.N.Y. 2015 / Re: NANY 2015 Release: WhenLast (Android app)
« on: December 12, 2014, 10:06 PM »
I've added enough tabs to allow them to scroll on the screen, and Aquarium is still cutting off the number of tasks.
This is due to the given maximum margin of the tab, would be my guess. I put in obscenely large strings of text and, well..


N.A.N.Y. 2015 / Re: NANY 2015 Release: WhenLast (Android app)
« on: December 12, 2014, 09:58 PM »
Well it could be asked on first run, same thing.
I would agree with this being a friendly addition.

Another nice addition may be to add a widget that shows a specified section (or two?) at either 2x4, 4x2, or 4x4, not sure which would be best.

N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« on: December 11, 2014, 07:59 PM »
Personally, I use ObjectDock for quick-launching applications. Someone would have to compete with that, which wouldn't be a challenge if they could make it actually hide instead of just go into negative coords with auto-hide. Makes multi-monitor setups a real hassle  >:(. Plus, if it's on the side anyway, the mouse will float into the next screen before it un-hides it, so.. Maybe a key-board shortcut to hide it? Of course, AHK could do that with ObjectDock. Hmm..

N.A.N.Y. 2015 / Re: NANY 2015 Release: WhenLast (Android app)
« on: December 11, 2014, 07:50 PM »
I'll be a tester as well, if you should need.

N.A.N.Y. 2015 / Re: NANY 2015 Pre-Release: Tox Profile Launcher
« on: December 10, 2014, 06:07 PM »
Found a bug: if you shutdown your computer, it disallows new programs to open, thus you'll encounter an error message and the profile won't be saved. The only workaround I can think of is to abort, save, re-initialize shutdown. But that's sloppy. Is there a way to force-open an application while Windows is trying to shutdown?

N.A.N.Y. 2015 / NANY 2015 Release: Tox Profile Launcher
« on: December 05, 2014, 06:58 PM »
NANY 2015 Release Information

Application NameTox Profile Launcher
Short DescriptionTox launcher to handle multiple profiles.
Supported OSesWindows 7/8
Web PageN/A (for now)
Setup FileTox Launcher
Requires µTox
Password: Masonjar13
DescriptionI recently started using Tox in place of Skype, mainly because of privacy issues. Now, Tox is still in development and it looks as if they will be supporting this in the future, however, I'm using it now, and that functionality is important for me.

This Tox launcher handles all profiles for Tox. Natively, it only supports one profile, which consists of two files located in %appdata%\Tox. What this launcher does is archives those two files, each named respectively for what you name them via the gui. There is no limit to how many profiles you can have. To load them, simply start the launcher and double-click the profile in the listview control. To import, export, or create a new profile, just click the respective buttons.
  • Import/export existing profiles
  • Create new profiles
  • If there are no saved profiles, a text will appear in the listview to let you save the current one
  • Window may be moved by clicking anywhere on it that isn't a button (it's borderless)
  • Uses non-installed custom font to match the gui
InstallationUnzip and run. µTox must be installed before running.
NotesRequires µTox.

Tox is in development, which means it may be buggy.
I have not contacted the creators in any way, nor have I used any of their source.

UI made entirely by my friend (name unstated until I have their permission)

N.A.N.Y. 2015 / Re: NANY Pledge: Tox Profile Client
« on: December 04, 2014, 04:25 AM »
Change of plans (sorry!): due to the code being a complete mess, along with my overly busy schedule, it's going to take me longer than expected to have the VLC Assistant Suite ready to use. So, I'll be releasing a Tox profile client/manager. I may release the VLC Suite later on, once I can properly sort it out.

Outlook has a COM interface, so it would be possible to some extent, but as for adding a legitimate context item, I couldn't tell you. I could make an alternative though.. If you can right-click > copy link to clipboard (I don't use Outlook so not sure if that's in there), you could use the following, written in AHK:
#c::IniWrite,% clipboard,% a_desktop "\" a_now ".url",InternetShortcut,URL ; WinKey + c
a_now would be better suited to be a regex statement to grab the name from the url, but I don't know regex. You could also prompt the user for a name or something.

Living Room / Re: Mailpile [Beta]
« on: November 13, 2014, 11:17 PM »
Well, so is Mailpile.. It's a local-side client, it just happens to have a web-designed interface.

Living Room / Re: Mailpile [Beta]
« on: November 12, 2014, 10:17 PM »
Mailpile is not interesting until I can access it from The Bat!.
I've never heard about this until I just searched it, but I believe your statement is irrelevant. Seems that Mailpile and The Bat! are parallels.

Living Room / Re: Mailpile [Beta]
« on: November 11, 2014, 03:22 PM »
As far as I'm aware, MailPile is exclusively a client, not a server, and you can't sync between the clients. At least, I can't seem to find a way to do that. Maybe if you could forward the port, then have it on another computer and connect to it via direct IP? You can send mail P2P, and it will be stored locally, but not sure if P2P is implemented yet. I was trying to look through the FAQ for confirmation, but the website seems to be down at the time I'm writing this.

So... this has been hard to test because I don't really know anyone else using GPG, but I tried setting up multiple accounts and I can't get Mailpile to actually encrypt anything. It signs the messages just fine, but can anyone get actual encryption to work? :huh: I click the padlock icon and nothing happens.
Not yet implemented, seemingly. Or, I believe it requires a direct connection with someone who can decrypt it, that is, someone who is also using Mailpile or similar.

I think I failed to accurately describe what I meant. I know that IMAP can delete, rename, create, etc. emails. But as I understand it, IMAP connects to the server and makes changes on the server, leaving all your mail on the server. Whereas POP would download everything from the server so that once it was finished checking your mail, your mail was no longer on the server.

What I would like to do is download all my mail from Gmail's server so that, from Google's point of view, I have no mail stored on their mail servers. I would then like to be able to access my self-hosted webserver/client where all my mail actually resides. I want the convenience of accessing my email from anywhere without actually having to store it "in the cloud" where 3rd parties can read/snoop through it.

No, IMAP does not do that. You'll have to wait until they finish implementing POP3 into it.

Living Room / Re: Mailpile [Beta]
« on: November 10, 2014, 09:40 PM »
So it's an email client... than I run on my computer... that has a web-server... that I can connect to from anywhere (as long as my PC is running/connected/reachable)?

Mailpile does not have a web-server. They don't own any servers. Using servers is completely optional and only available if you sync an account from a service that has servers, like Gmail.

I really resent the limitations of how many can be displayed as well, but it's still in beta, so I have hope they'll change it, or add more options for it. Stuff can be sorted though, it uses "tags", which are like folders, but with a lot more functionality. It's all a little finicky right now, but you can search by tags to find things, and everything can have as many tags as you want. What I'm really complaining about though is that that you can't have the tag listed under a parent tag and as a top-level tag, meaning, I can't have it under my "Outlook" tag, which holds everything from my hotmail, and also have it listed on the left bar as a top-level. At the very least, it should show tags by hierarchy on the left, so I can get where I need to much faster.

Can IMAP also remove mail from the server like POP3 traditionally did/does? Would that make it look like it was erased/deleted from my Gmail account?

With the advent of MIME, IMAP2 was extended to support MIME body structures and add mailbox management functionality (create, delete, rename, message upload) that was absent from IMAP2.
This then carried over to IMAP4, which is the current implement. Now, this could be just referencing the local structure, but I'm not really sure.

Living Room / Re: Mailpile [Beta]
« on: November 10, 2014, 01:30 AM »
It's generally considered good form to include a link to what you're talking about.
I thought about it, but based off previous experiences, most just search for it anyway. Here's the link:

Typical email providers, like Outlook (hotmail), gmail, yahoo (do people still use that?), etc. are server based, that is, everything is stored on a server and accessible via a browser. Outlook does have a local-side client, but it's got it's own gui I think. Mailpile has a web-coded interface without it's own window, so it opens up in your browser. The best thing about Mailpile is: you don't have to put it through a browser. It's all open-source, mostly written in python, so you could just as easily implement a window to throw all the web-code into. Keep in mind, this is just the beta, so they may very well have plans to do that themselves.

As it is now, Mailpile supports SMTP and IMAP. They're working on implementing POP3, Tor, and SMTorPSend. Looks like it imports from most big e-mail providers, but I've only tested hotmail, which works fine, albeit very slow (took about 16-20 hours for 710 messages).

Living Room / Mailpile [Beta]
« on: November 09, 2014, 04:39 AM »
Mailpile is in beta! Anyone else excited? I've only just installed it and it's still downloading my absurd amount of emails, but the UI is very slick, very user-friendly. Not sure how other email clients are, but it's browser-based from a localhost port. Time to bug test :D already found that you can't double-click the tray icon to open it  :-[.

N.A.N.Y. 2015 / NANY Pledge: Tox Profile Client
« on: October 13, 2014, 02:06 PM »
So I've had some code to help use VLC in.. interesting ways. One way is visually: move the window to a corner or center it, remove the border (while keeping functionality for moving it), and re-sizing it to album-art-ish size, just to make it look good when throwing it into a corner while playing music. Another way is to list an organized library of music, which follows a very strict hierarchy (Folder containing all artist folders > Albums (will also find songs here) > Songs). Finds most audio types (no videos). It needs to be HEAVILY modified to be used by other systems. I may also add a duplicate of that, but for videos, at the community's request :) I also had the idea of grabbing the currently played song and opening a lyrics page, but there's already a bunch of plugins for that that would probably be better, so maybe not?

If anyone can think of any worth additions, my eyes and ears are open!

The Tox profile client is fairly simple. It will allow you to change profiles, export, and import them. This is especially useful if you have multiple computers (like me). This will be the launcher for the Tox binary as well.
For those of you who are unfamiliar with Tox, you may peruse their main site.

Coding Snacks / Drawing Shapes in AHK (Proof-of-Concept)
« on: August 24, 2014, 02:51 AM »
I wrote a function for someone on one of the AHK forums to get coords based off known coords, length, and angle. I then decided to play into it a bit and draw some shapes. Here's a pretty good demo I made, although, please note that for polygons, it will never have more inner-vectors compared to the outer-vectors, because I wanted it that way  :Thmbsup:

  •  Run script
  •  Open a new paint window, full-screen
  •  The rest should be self-explanatory (starting coords are always the center of the screen)
AHK-Draw Demo
Code: Autohotkey [Select]
  1. CoordMode, Mouse, Screen
  2. Process,Priority,,R
  4. ; Make Gui's
  5. Gui,1:Add,Button,gCircle w130 h50,Circle
  6. Gui,1:Add,Button,gPolygon w130 h50,Polygon
  7. Gui,1:Add,Button,gSpiral w130 h50,Spiral
  8. Gui,2:Add,Text,,Radius:
  9. Gui,2:Add,Edit,vlen Limit4,
  10. Gui,2:Add,Button,gCircleOK,Draw!
  11. Gui,3:Add,Text,,Layer count:
  12. Gui,3:Add,Edit,vLcnt Limit5,
  13. Gui,3:Add,Text,ym,Narrowness (1 - 100):
  14. Gui,3:Add,Edit,vNarrow Limit3,
  15. Gui,3:Add,Button,gSpiralOk,Draw!
  16. Gui,4:Add,Text,,Outward radius:
  17. Gui,4:Add,Edit,vOrad Limit4,
  18. Gui,4:Add,Text,,`nInward radius:
  19. Gui,4:Add,Edit,vIrad Limit4,
  20. Gui,4:Add,Text,ym,Outward vectors (count):
  21. Gui,4:Add,Edit,vOvec Limit3,
  22. Gui,4:Add,Text,,`nInward vectors (count):
  23. Gui,4:Add,Edit,vIvec Limit3,
  24. Gui,4:Add,Text,ym,Angle:
  25. Gui,4:Add,Edit,vPang Limit4,
  26. Gui,4:Add,Button,gPolygonOk,Draw!
  28. ; main gui
  29. +1::
  30. Gui,1:Show,,Draw
  31. return
  33. Circle: ; circle gui
  34. Gui,2:Show,,Draw Circle
  35. return
  36. CircleOK: ; draw circle
  38. Loop 361
  39. {
  40.     GetPosFromAngle(mx,my,A_ScreenWidth/2,A_ScreenHeight/2,len,A_Index)
  41.     MouseMove,% mx,% my,0
  42.     if(A_Index=1)
  43.         Send {LButton down}
  44. }
  45. Send {LButton up}
  46. BlockInput MouseMoveOff
  47. return
  49. Spiral: ; spiral gui
  50. Gui,3:Show,,Draw Spiral
  51. return
  52. SpiralOK: ; draw spiral
  53. ind:=0
  54. Send {LButton down}
  56. Loop %Lcnt%
  57. {
  58.     Loop 360
  59.     {
  60.         ind++
  61.         GetPosFromAngle(mx,my,A_ScreenWidth/2,A_ScreenHeight/2,ind*(Narrow*0.01),A_Index)
  62.         MouseMove,% mx,% my,0
  63.     }
  64. }
  65. Send {LButton up}
  66. BlockInput MouseMoveOff
  67. return
  69. Polygon: ; polygon gui
  70. Gui,4:Show,,Draw Polygon
  71. return
  72. PolygonOk: ; draw polygon
  73. if(Ovec+Ivec > 360){
  74.     msgbox,,Error,Can not have more than 360 vectors.
  75.     return
  76. }
  77. ind:=0
  79. GetPosFromAngle(mx,my,A_ScreenWidth/2,A_ScreenHeight/2,Orad,Pang)
  80. MouseMove,% mx,% my,0
  81. Send {LButton down}
  82. Lpc:= Ovec + Ivec
  83. Ovec--
  84. iys:=1
  86. Loop % Lpc
  87. {
  88.     ind+=360/Lpc
  89.     GetPosFromAngle(mx,my,A_ScreenWidth/2,A_ScreenHeight/2,iys?Irad:Orad,ind+Pang)
  90.     MouseMove,% mx,% my,0
  91.     Ivec-=iys ? 1 : 0
  92.     Ovec-=!iys ? 1 : 0
  93.     iys:=Ivec < 1 ? 0 : !iys
  94.     Sleep 15 ; seems to be inconsistent during multiple runs without delay
  95. }
  96. Send {LButton up}
  97. BlockInput MouseMoveOff
  98. return
  100. +2:: ; stop drawing
  101. if(GetKeyState("LButton"))
  102.     Send {LButton up}
  104. +3:: ; kill
  105. if(GetKeyState("LButton"))
  106.     Send {LButton up}
  108. ; ***function(s)***
  110. GetPosFromAngle(ByRef x2,ByRef y2,x1,y1,len,ang){
  111.     ang := (ang-90) * 0.0174532925
  112.     x2 := x1 + len * cos(ang)
  113.     y2 := y1 + len * sin(ang)
  114. }

Demo pics

The hotkeys are Shift+1 to bring up the main gui, Shift+2 to instantly interrupt the drawing, Shift+3 to kill the script.

I encourage modification of this code, but request acknowledgement if my function is used elsewhere, thanks!  8)

My mistake on the wording. Yes, I did mean to have them parallel. I'll try it out when I can and post back, thanks!

General Software Discussion / Append audio to video - command line
« on: August 09, 2014, 09:45 PM »
I'm looking for a way to append a single mp3 with a single mp4. I have several hundred video/audio pairs that need this done. I'm not doing them each by hand, which is why I specifically need a command-line software. I tried with Avidemux:
Code in AHK
Code: Autohotkey [Select]
  1. Loop, *.mp3
  2. {
  3.     StringReplace,vname,A_LoopFileName,mp3,mp4
  4.     RunWait, %Comspec% /c avidemux --load %vname% --external-mp3 %A_loopFileName% --audio-map --save /done/%A_LoopFileName% --output-format MP4 --quit
  5. }

But all that does is open the program in a window. Same response when ran directly from the cmd prompt. Are there any other programs out there that can do this? Or is there just something wrong with my commands?

Pages: [1] 2next