Jump to content


Photo

[List] Collecting scripts not working under AHK_L


  • Please log in to reply
13 replies to this topic

#1 maul.esel

maul.esel
  • Members
  • 790 posts

Posted 01 June 2012 - 01:09 PM

Related to "Formal request to Polyethene", I would like to collect a list of popular scripts and libraries that work under AutoHotkey classic but not under AutoHotkey_L. I won't be able to convert all of them myself :lol:, but a list is a good starting point IMO.

[*:3dq5b0ga]Forms Framework by majkinetor - partial fix by myself available
[*:3dq5b0ga]LVX by polyethene - partial fix by myself available
[*:3dq5b0ga]Tray 2.1 by majkinetor
[*:3dq5b0ga]HandyTM by SKAN
Please post other scripts that come to your mind, ideally including a link and a description of the problems (throws errors? no expected effect? unexpected side-effects?) it has.

#2 maul.esel

maul.esel
  • Members
  • 790 posts

Posted 09 June 2012 - 06:53 PM

Bump :!: Do all scripts work? That would indeed be good news. ;-)

#3 fragman

fragman
  • Members
  • 1591 posts

Posted 10 June 2012 - 03:23 PM

The Forms framework is probably among the most popular ones. I know the gdip lib has some x64 issues.

#4 AQuestion

AQuestion
  • Members
  • 37 posts

Posted 10 July 2012 - 09:42 AM

Hello,it'd be very kind of you to convert that one:
LVX
problem: it didn't work :(
Thanks in advance.

#5 maul.esel

maul.esel
  • Members
  • 790 posts

Posted 10 July 2012 - 12:28 PM

Thanks for the tip, I'll add it to the list.
Question: does it throw errors or is there simply no visible effect?

#6 AQuestion

AQuestion
  • Members
  • 37 posts

Posted 10 July 2012 - 12:34 PM

I think somothing wrong with LVX_SetText(),only first character appeared in the cell after editing.

#7 rbrtryn

rbrtryn
  • Members
  • 821 posts

Posted 10 July 2012 - 02:43 PM

[module] Tray 2.1 by majkinetor.

I haven't tested all of the functions here, but I know that the Tray_GetTooltip(Position) does not work in unicode versions of AHK_L. The Tray_Define() function only seems to work with certain option values.

#8 maul.esel

maul.esel
  • Members
  • 790 posts

Posted 10 July 2012 - 03:24 PM

@AQuestion: I worked on it a bit. Though not yet finished, the issue you described has gone. A few more Unicode and 64bit fixes should be necessary, but I'll post a first version here:

@rbrtryn: Thanks, added to the list.

#9 hoppfrosch

hoppfrosch
  • Members
  • 339 posts

Posted 11 July 2012 - 05:54 AM

One script I liked very much is HandyTM by Skan.

I failed to port it to AHK_L yet by myself - got lost in all those DLL-calls and nifty tricks .... :)

#10 rbrtryn

rbrtryn
  • Members
  • 821 posts

Posted 13 July 2012 - 03:01 PM

Lil Builder 0.7.1 by Ahklerner, Majkinetor, Toralf and Rajat

This could have been the best GUI creator.

#11 maul.esel

maul.esel
  • Members
  • 790 posts

Posted 13 July 2012 - 03:16 PM

Updating it with _L features (like new (ActiveX-) Controls) might be a good idea, but it'll be a lot of work. If someone writes an AHK IDE one day, it's probably better to be implemented there.

#12 Guests

  • Guests

Posted 29 July 2012 - 07:48 AM

The extracting menu script from PhiLho doesn't seem to work with ahk_l unicode <!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/viewtopic.php?p=51474#p51474">viewtopic.php?p=51474#p51474</a><!-- l -->
(I can use ahk_l ansi to get the menu and store it in a file so it is not a big problem)

#13 Lexikos

Lexikos
  • Administrators
  • 8855 posts

Posted 29 July 2012 - 11:16 AM

Guest: Replace VarSetCapacity(lpString, length + 1) with VarSetCapacity(lpString, 2 * (length + 1)). This will work on any version. You could check A_IsUnicode, but it's probably not worth the effort.*

Reference: <!-- m -->http://l.autohotkey....#VarSetCapacity<!-- m -->

*Consider this: at most length bytes will be wasted, where length is the length of the longest menu item string. However, the entire text of each expression is kept in memory along with the tokens for each variable reference and operator, so (A_IsUnicode ? A : B) consumes more memory than A.

#14 Guests

  • Guests

Posted 29 July 2012 - 11:39 AM

@Lexikos: thank you very much, indeed it works.