AFTERGRASP: Comparing arrays, and CSIDL paths

29 views
Skip to first unread message

John Bridges

unread,
Nov 1, 2012, 7:10:17 PM11/1/12
to after...@googlegroups.com
New build of AfterGRASP is up for download:
 
 
agsetup_20121101.exe
 
----------------------------------------------------------------------------
Thu, 01 November 2012

Simple comparisons of arrays is now supported. Just equal and not equal
work.

  local a array(a,b,c,d)
  local b array(a,b,c,e)
  local c array(a,b,c,d)
  messagebox strlist("&a==&b",&a==&b,"&a==&c",&a==&c)

----------------------------------------------------------------------------
Wed, 10 October 2012

New command WINPATH, gets Windows CSIDL paths, accepts either
an integer CSIDL ID, or a name.

Documentation on CSIDL paths can be found at the Microsoft site:

http://msdn.microsoft.com/en-us/library/windows/desktop/bb762494%28v=vs.85%29.aspx

Names are recognized both with and without the CSIDL_ prefix, so

WINPATH(DESKTOP) and WINPATH(CSIDL_DESKTOP) will give the same
result.

You can also use CREATE as an option to force the directory to be
created if it doesn't already exist.

WINPATH(CREATE,FAVORITES) or WINPATH(FAVORITES,CREATE)

List of recognized names are:

ADMINTOOLS
ALTSTARTUP
APPDATA
BITBUCKET
CDBURN_AREA
COMMON_ADMINTOOLS
COMMON_ALTSTARTUP
COMMON_APPDATA
COMMON_DESKTOPDIRECTORY
COMMON_DOCUMENTS
COMMON_FAVORITES
COMMON_MUSIC
COMMON_OEM_LINKS
COMMON_PICTURES
COMMON_PROGRAMS
COMMON_STARTMENU
COMMON_STARTUP
COMMON_TEMPLATES
COMMON_VIDEO
COMPUTERSNEARME
CONNECTIONS
CONTROLS
COOKIES
DESKTOP
DESKTOPDIRECTORY
DRIVES
FAVORITES
FONTS
HISTORY
INTERNET
INTERNET_CACHE
LOCAL_APPDATA
MYDOCUMENTS
MYMUSIC
MYPICTURES
MYVIDEO
NETHOOD
NETWORK
PERSONAL
PRINTERS
PRINTHOOD
PROFILE
PROGRAM_FILES
PROGRAM_FILES_COMMON
PROGRAM_FILES_COMMONX86
PROGRAM_FILESX86
PROGRAMS
RECENT
RESOURCES
RESOURCES_LOCALIZED
SENDTO
STARTMENU
STARTUP
SYSTEM
SYSTEMX86
TEMPLATES
WINDOWS


----------------------------------------------------------------------------
Mon, 08 October 2012

Bug in "<FONT SIZE=" support of non-simple sizes like "7pt" or "2pct".
If the drawdensity (DPI) is low, and a size is low like "5pt", then
if the resulting pixel size was 7 pixels or lower, then the HTML font
sizes 1 to 7 would be used instead of the correct low pixel size.

It now avoids the HTML size table lookup if non-simple sizes fixing
the problem.


----------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages