Jump to content




CC Autotyper [v3.0.1 WinFix] [HTTP Workaround][GUI]

java utility computer

  • You cannot reply to this topic
25 replies to this topic

#21 Possseidon

  • Members
  • 28 posts
  • LocationGermany

Posted 03 April 2015 - 03:28 PM

View PostMatthewC529, on 03 April 2015 - 03:19 PM, said:

View PostPossseidon, on 03 April 2015 - 08:51 AM, said:

View PostMatthewC529, on 03 April 2015 - 12:16 AM, said:

-snip-
Wut? Splitting lines up is a problem in your opinion? Just don't press return between two spilts? xD Or am I misunderstanding/forgetting something?

I was referencing that I never actually tried splitting if then, for do, function, etc. statements onto multiple lines. After doing a quick test when I woke up to see your reply this morning, the Lua interpeter is a lot better than I thought... though to be fair I think splitting your statements onto multiple lines (except for if then else variable initialization) is just insanely bad practice so I never did that. Nice to know it works though, again I will be playing with this and a few other ideas this week.

Truly I was happy to find this worked:
function
hello
(text)
print(text)
end

if
true
then
hello("hi")
else
hello("Confused")
end
Is it just me, or are you not quit understanding what I mean by splitting?

I don't mean splitting one long line into multiple lines. I just mean, if you have a line with >128 chars you put the first 128 chars into the clipboard and simulate a paste, then you put the rest (if it is less 128 chars) in and then finally press return and you still have everything in one line and don't have to worry that the Lua interpreter will get confused since it pastes the file exactly like it was before. Is that so hard to understand? xD

#22 MatthewC529

  • Members
  • 36 posts
  • LocationNew York, USA

Posted 03 April 2015 - 03:43 PM

View PostPossseidon, on 03 April 2015 - 03:28 PM, said:

Is it just me, or are you not quit understanding what I mean by splitting?

I don't mean splitting one long line into multiple lines. I just mean, if you have a line with >128 chars you put the first 128 chars into the clipboard and simulate a paste, then you put the rest (if it is less 128 chars) in and then finally press return and you still have everything in one line and don't have to worry that the Lua interpreter will get confused since it pastes the file exactly like it was before. Is that so hard to understand? xD

if you don't have some pre-conceived notion that didn't work when I tried it, yes. But that pre-conceived notion is wrong so I do get what you mean now, I am just extremely tired, a lot going on personally so my mind is in a million places despite my break. Fixing this program is a nice relaxation time. So apologies if there was a misunderstanding but... again... I will be playing around with a few things. And some additional features for the GUI itself.

Thanks.

#23 MatthewC529

  • Members
  • 36 posts
  • LocationNew York, USA

Posted 24 May 2015 - 07:42 AM

Important Update, Get Newest Version Here, Changes Copied from Github Changelog:

v2.1.1 to v3.0.0 -- Minification and Polish Update, It's been a while.

[Primary]
  • New 'scripts' directory in which any non-java scripts will be stored for use later on
    • Primarily included as of this update to allow for use of luamin
  • Minification of Lua Code is now possible (to reduce character count and speed up the typing process) using luamin through nashorn
  • Files downloaded from Pastebin or some URL are now stored in a '.cctyper-cache' hidden directory (Up to 20 files are stored)
    • This likely warrants an uninstall script to handle removing any hidden directories/files
  • Fixes for autotyping in which Multi-line comments and in-line comments were not handled correctly
    • This was likely due to API restructuring and not an ages old bug
  • Small fix to try and ensure that icons appear in Ubuntu-based OS' on load, not on show
  • Multiple URL (non-pastebin) files are now cached, moved away from calling them all "cc-auto-file" and now uses a random crc32c based naming system
[Notable]
  • Cleaned up certain text snafus
  • Added a minification checkbox which has it's state saved between each instance
  • Added tooltips to certain things of importance such as the minification check box, location field, menubar buttons (top left)
  • Code Preview now loads Minified code instead of original code so that the user may deem if the Minification was worth it or too dangerous
  • New links to the Github Page and the Developer Website on the Copyright dialog
[Minor/Internal]
  • New 'minify' package where any minification APIs will reside, currently this is all centralized in a single 'Minifier' class that uses luamin to minify Lua Code using the Nashorn Scripting Engine.
  • Moved setAppIcons to Resources instead of FXAutotyperWindow
  • Further documentation effort... hopefully some day....
  • Reticulated splines
  • New TimedTooltip that allows modificaiton of the Open Time (time between hover and showing the tooltip) using Reflection to create a TooltipBehavior
  • New WebLink that puts the basic function of a Hyperlink in one call. Creates a Hyperlink with a URL location to go to using HostServices or something similar
  • More debug information as well as more readable documentation (i.e. Loading and Saving Preferences)
  • FXGuiUtils.buildLongAlert now allows you to specify a list of Nodes to include at the bottom of the dialog
  • GuiAccessors must now provide a openSite method that opens a URL in a web browser
  • TypingMethodology fixed to handle spaces, comments and multi-line comments correctly
  • Console.empty() now prints an empty line
  • Web Files (non-pastebin) are now stored in the cache using a Random filename that is dervied from the result of CRC32C and then turned into a hex string
    • Much better than just "cc-auto-file"
  • Cleaned up legacy stuff, especially in the console interface. Swing needs to be cleaned.
  • Updated libraries as necessary and ensured compatibility

Edited by MatthewC529, 24 May 2015 - 07:43 AM.


#24 MatthewC529

  • Members
  • 36 posts
  • LocationNew York, USA

Posted 19 July 2015 - 09:59 PM

Important Update for Windows Users: Fixes Bug that causes minification to ALWAYS fail (New Version Here)

A few GUI updates and performance updates are included though those who are on Solaris, Linux, Mac, etc. are not required to download this. Windows users MUST if they wish to minify lua files for faster typing.

The tl;dr of why? On my linux machine I forgot to account for non-POSIX file permissions. Attempting to apply POSIX permissions to windows files causes an exception, resulting in a minification error. This adds a special case for non-POSIX machines and resolves the issue.

Quick Changelog Summary:
[Notes]
  • Resolves bug on windows machines where attempts to set POSIX permissions on cache files would cause an exception.
  • Improved minification performance using cached files and Google Good Fast Hash as found in the hidden .cctyper-cache directory
    • This is a statically sized evicting queue removing the Least Recently Accessed files when space is needed
  • Better LuaString repair method using regular expressions
  • Tooltip Updates for final release
This is likely to be my last post on this topic, this IS the final version and only bugfixes will be done with nothing posted here except a thread title and thread content update that doesn't push this to the top of the forum. I have other things I want/need to do... and maybe a neat CC API that is non-button related (for once!)

#25 Orcculus

  • Members
  • 3 posts

Posted 02 February 2016 - 03:03 PM

Great program. could really do with support for UK (and maybe other) keyboard layouts.

#26 Stevan

  • New Members
  • 2 posts

Posted 02 September 2017 - 01:06 AM

umm, i have a problem with the code:
[img]https://i.imgur.com/pJBEf2o.png[/img]

im using windows 8.1





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users