Jump to content
New Members Read more... ×
DeLtA

Sharecode Fixer V1.2.4 By DeLtA [Fix & Generate Sharecodes]

Recommended Posts

DeLtA

@GlacialMan @m345  Updated to V1.2.1 :)

Fixing Issues that you guys have Reported. Check It. If you Get any Issue in Future Consider Writing a PM

Share this post


Link to post
Share on other sites
DeLtA
33 minutes ago, TrojanK said:

..and minus the notifications (if possible)

This is The Easiest thing to Do for me. But I Will Never Recommend you to turn off notification. By Notification you Understand Programs Behavior.

Think if you're copying something  important And Somehow Program Processed your Copied Data . It not Just Removes "Site" & "Sharecode" But Also All Formatting & White spaces. With Notification Switched Off you will not Even know Program is Causing this. That's Why Notifications Are Must.  I Have Already Switched off Sound for Notifications to make it less annoying . Hope you Understand :)

  

Share this post


Link to post
Share on other sites
m345
8 hours ago, -DeLtA said:

I have to Disagree with you on This. Most of the Time Problem Occurs Due to bugs in Code you've Written. you can not blame language itself. 

My opinion about AutoIt didn't came as conclusion of this specific tools, its my experience using many apps based on AutoIt along the years. and I am not the only one who develop such opinion about it. it have some glitches that make it several times to operate uncorrectable or in unexpected way like it skipped some part of the code.  its maybe the way it interact with system or memory , maybe related to AV that drop some commands, I can not be sure what is the reason, nothing like that occur on other apps written in other programming lang (if we consider AutoIt as programming , even its more scripting lang then programming lang ). lot of the portables made by FC-Portable are AutoIt based and so one of the most famous all known is universal-extractor, anyone who use them regularly should know what I am talking about.

Quote

Fixing Issues that you guys have Reported. Check It. If you Get any Issue in Future Consider Writing a PM

 

Thank you for updating.

will try it and report if anything noticeable will appear .

Edited by m345

Share this post


Link to post
Share on other sites
DeLtA
1 hour ago, m345 said:

it have some glitches that make it several times to operate uncorrectable or in unexpected way like it skipped some part of the code.

May Be It Has Some Problem. But As far I Know About Programming languages. there is no language that is totally bug free. As Per My Experience with Autoit i have never faced such issue. In the Starting i used Blame Language itself for issues. After More Than 2 years of coding in autoit i realized that most of the issues were due to the code not with the language. After all Autoit is New & heavily aimed towards automation.  Consider C , launched  in 1972. & Python launched in 1991 Also Used As Scripting Language. On The Other Hand Autoit (Automation & Scripting Language)  Launched in 1999. Autoit is Lot Newer Language Compared to C or Python. :) 

Edited by -DeLtA

Share this post


Link to post
Share on other sites
TrojanK
2 hours ago, -DeLtA said:

to make it less annoying .

you know why I asked for it.

 

2 hours ago, -DeLtA said:

Think if you're copying something  important And Somehow Program Processed your Copied Data .

then I'm happy with what I have already.

Share this post


Link to post
Share on other sites
Togijak

@-DeLtA

 

I request again the function to start paused. I just was writing a message inside this forum and there was a point where I used QTranslate and dix2my5v87rdegosr.gif latest linkfixer told me that the link was fixed on a text without any http or https t9ZCcHn.gif

Share this post


Link to post
Share on other sites
DeLtA

@Togijak As i told you before. if you want app to start with windows as Paused. Just Remove it From Startup.

Or If You Want to Pause Program In Between, you can do that by Right clicking taskbar icon & Click "Script Paused".

fn2UTDV.png

 

I know Program is Not Totally Bug free. But At the same time it's Just been 13 Days Since I Created V1.0 of this App. & Already Provided Many Updates With Additional Features & Bug Fixes as Reported or Requested By Users. 

1 hour ago, Togijak said:

latest linkfixer told me that the link was fixed on a text without any http or https

About This I'm Sure that your text Must have had Words Like "site" Or "sharecode". This is an issue i will fix this in next update.

 

1 hour ago, Togijak said:

link was fixed on a text without http or https

Let me Show you a sharecoded link without http or https 

 

Site : www.upload.ee
Sharecode : /files/9516656/readme.txt.html
 

If i will start Checking for http or https in String to Process. then App will not Be Able to fix Above Sharecode. then you will complain that your App was unable to fix this Sharecode :tooth:.  

 

Give me some time I will Come up with A better logic:idea: to Detect if Copied String is Sharecode or not, Wait for Next Version  

Edited by -DeLtA

Share this post


Link to post
Share on other sites
teodz1984

While we are on the topic of REGEX, 

 

you can make a regex declaration

http(s)? 

to match both http and https. where anything between ()? is an optional match..

 

by experience optimizing regex for memory depend on how complex your declarations are..  some bad ones like the one i pointed earlier in this thread may wreck havok on the regex parsing engine..

 

https://www.regular-expressions.info/optional.html

 

AFAIK declaring the string in lower case will match both upper and lower case

there are also switches that ignore case sensitivity

 

https://stackoverflow.com/questions/9655164/regex-ignore-case-sensitivity

 

I find regexbuddy as a regular expression ex builder and tester tool for this (posted somewhere in the forums)

 

 

 

Edited by teodz1984

Share this post


Link to post
Share on other sites
DeLtA

@teodz1984 Thanks For you Suggestions , but problem is that if i will make http or https to be compulsory condition for string to be processed. Then app will not be able to process link that is shown below (without http or https).

Site : www.upload.ee
Sharecode : /files/9516656/readme.txt.html

 

Also I am not able to create regex which will Detect All type of URL's Properly, Even Not Came Across any regex which will detect All URL's Properly From a Given string. So to Solve this. I have coded app in Such a Way. that it will only Process your copied String If It Contains "Site" & "Sharecode"(Including All Variants ) both.

 

It Is Extremely rare for user to copy string that contains both 'Site' & "Sharecode" . & that string is not a sharecode link.

Share this post


Link to post
Share on other sites
DeLtA

@Togijak I Have Fixed Issue Where App Process Copied Text Even if it Not A Sharecode Link.

Now App Will Only Process Your Copied String If It Contains  both "Site" & "Sharecode" (including there variants) 

Update to V1.2.2

:)

 

Share this post


Link to post
Share on other sites
m345
16 hours ago, -DeLtA said:

Update to V1.2.2

 

Sorry but found another exception that wont work.

its from that post https://www.nsaneforums.com/topic/315458-stardock-fences-309/?do=findComment&comment=1427184

 

Quote

Site: https://oload.site
Sharecode: /f/AumfwBsn5mg/Stardock.Fences.v3.0.9.11.Patch.And.Keygen-DARKZER0.rar

As the above contain a second "site" in its address, its treated as odd character, as results the "fixed" link lead to a broken address.

 

Maybe instead to add more exceptions and an increasing list of characters combinations, its possible to find a more specific determination for conditioning the trigger that will cover almost all cases.

(something like that: if address = ttp* and contain sharecode: [non case sensitive] then eliminate all characters from start to htt* and from sharecode:** forward to first "/" )

Share this post


Link to post
Share on other sites
teodz1984

it is because oload.site is the domain name 

the  tool  uses regex that removes all occurrences of the words sites and sharecode

 

APP strips the code to:
https://oload./f/AumfwBsn5mg/Stardock.Fences.v3.0.9.11.Patch.And.Keygen-DARKZER0.rar

this is the desired code:
https://oload.site/f/AumfwBsn5mg/Stardock.Fences.v3.0.9.11.Patch.And.Keygen-DARKZER0.rar

for that to work regex has to use Lookahead (https://www.regular-expressions.info/lookaround.html) which is more memory intensive than current code

 

but oload is more or less a rarely used/preferered OnTouchHosts on these parts..

Edited by teodz1984

Share this post


Link to post
Share on other sites
m345
9 minutes ago, teodz1984 said:

it is because oload.site is the domain name 

the  tool  removes all occurrences of the words sites and sharecode

but oload is more or less a rare OTH on these parts

Yes, thats clear , I had said the same in other words (under the quote).

And so my suggestion is to change the range of the checked strings instead to the whole selection to only two specific ranges, from the beginning to the "http*" then skip forward (go to) .... and from "sharecode:" to the first  "/".

that should cover all exceptions. 

Share this post


Link to post
Share on other sites
teodz1984

AFAIK string conversion on only activates if Site is the first  characters of the clipboard..

which is a proper trigger.. lest it will interfere with non browser apps like editors.. and a lot of

false positive conversions.

 

on such rare occasions, i just prefer the manual conversion route ... 

 

 

 

Edited by teodz1984

Share this post


Link to post
Share on other sites
DeLtA

@m345 Thankyou for Pointing out this issue. & @teodz1984 thankyou for such clear clarification. i have missed the possibility that a domain can also contain "site" keyword. This Can Be Fixed Very Easily. By Just Putting "^" Which Tells the Starting Of the String. I have Also Added Possibility for user to select some whitespace before "site" word. this will fix issue.

1 hour ago, m345 said:

(something like that: if address = ttp* and contain sharecode: [non case sensitive] then eliminate all characters from start to htt* and from sharecode:** forward to first "/" )

As of now my approach is to remove keyword "site" & "sharecode" from copied string. but a different approach can be to Select Out Domain & sharecode from copied string instead of removing anything. for this i have to rewrite whole Fixing Code. I Will write it. will let you know how it comes out. 

 

now to solve this i did some changes to regex so it does not affect url if it contains word "site"

 

V8PeC2v.png

 

After Some Testing I Will Add This Change to app :)

 

 

 

Share this post


Link to post
Share on other sites
DeLtA

All Reported Issues Fixed. 

Additional UDF for Reducing RAM Consumption.

Windows 10:

I4Hk1W7.png

Windows XP:

mwB3rNZ.png

Update to V1.2.3  :)

 

Share this post


Link to post
Share on other sites
m345
4 hours ago, -DeLtA said:

All Reported Issues Fixed. 

Additional UDF for Reducing RAM Consumption.

Windows 10:

I4Hk1W7.png

Windows XP:

mwB3rNZ.png

Update to V1.2.3  :)

 

 

Thanks you @-DeLtA, this one is a big enhancement in many aspects .

I can confirm that  the RAM usage was dramatically decreased on WinXP, from 8.0MB down to about 800kb, (this may varies by the usage up to 1.3 - 3. mb)

Another significant improvement is in the startup load, that versions have no delay at launch.

Perfect !

Share this post


Link to post
Share on other sites
rushdie
On 1/22/2019 at 3:19 AM, DeLtA said:

A Portable Version Is Added With Installer.

I wondered why there was a setup for this thing. It took a time for me to notice that it could be made portable.

Share this post


Link to post
Share on other sites
DeLtA
1 minute ago, rushdie said:

why there was a setup for this thing.

Just to Make It Easy to Start with Windows(at Startup) & to Create Icons(Desktop+Taskbar).  :)

 

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

×