lod3n Posted July 2, 2007 Author Posted July 2, 2007 That launchskiny.png file also contains the transparent looking border. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
dufran3 Posted July 2, 2007 Posted July 2, 2007 yes, but only as a png. i would have to try and cut it out and all other things. I was going to try and make a gui, but of larger size, and wanted to implement some sort of transparent border like that. But i don't know how to make that in PS
lod3n Posted July 2, 2007 Author Posted July 2, 2007 I think Photoshop tips are well beyond the scope of this Demo. But what to look for on Google are tips on using multiple layers, layer transparency, layer blending and drop shadows. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
PERTU Posted July 3, 2007 Posted July 3, 2007 When I try to run lod3n launcher.au3 I get this error: --------------------------- AutoIt Error --------------------------- Line 2321 (File "C:\Program Files\AutoIt3\Include\A3LGDIPlus.au3"): Return $aResult[0] <> 0 Return $aResult^ ERROR Error: Subscript used with non-Array variable. --------------------------- OK --------------------------- I have Autoit v3.2.4.9 and the latest version of Auto3Lib (Downloaded July 3rd). Anybody knows whats wrong? Thanks. Olivier.
lod3n Posted July 3, 2007 Author Posted July 3, 2007 (edited) Looks like a new bug in Auto3Lib. Report it here:http://www.autoitscript.com/forum/index.php?showtopic=33677Edit: Not a bug in Auto3Lib! This is what happens when you try and run this on a pre-WinXp machine. Edited July 5, 2007 by lod3n [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
PaulIA Posted July 5, 2007 Posted July 5, 2007 When I try to run lod3n launcher.au3 I get this error: --------------------------- AutoIt Error --------------------------- Line 2321 (File "C:\Program Files\AutoIt3\Include\A3LGDIPlus.au3"): Return $aResult[0] <> 0 Return $aResult^ ERROR Error: Subscript used with non-Array variable. --------------------------- OK --------------------------- I have Autoit v3.2.4.9 and the latest version of Auto3Lib (Downloaded July 3rd). Anybody knows whats wrong? Thanks. Olivier.I know what's wrong. You can't read. The Auto3Lib documentation clearly says that GDI+ is only native to XP/2003. It has to be downloaded from MSDN for other OS. Auto3Lib: A library of over 1200 functions for AutoIt
Somerset Posted July 5, 2007 Posted July 5, 2007 I know what's wrong. You can't read.Wow your snippy today.
PaulIA Posted July 5, 2007 Posted July 5, 2007 Wow your snippy today.Nope, just fed up with people who lurk around until they think someone is gone and then decide they have an opinion. If you thought Auto3Lib was a piece of junk, you had plenty of time to express that view when you thought I was still here. Auto3Lib: A library of over 1200 functions for AutoIt
ValeryVal Posted July 6, 2007 Posted July 6, 2007 Nope, just fed up with people who lurk around until they think someone is gone and then decide they have an opinion. If you thought Auto3Lib was a piece of junk, you had plenty of time to express that view when you thought I was still here.I just want to agree with message of Zedna:http://www.autoitscript.com/forum/index.ph...0&start=750"I wish you good luck in your non Autoit life "and to add the following:Don't fight windmills.More details, see here:http://www.valentine.gr/articles_en.htmThanx,Valery The point of world view
idusy Posted July 11, 2007 Posted July 11, 2007 Just tried this for the first time. Works perfect, it looks awesome and my photo editing skills are of very low quality. Defiantly going to have fun with this for a while...
Dolemite50 Posted July 15, 2007 Posted July 15, 2007 Thanks gents, good work! Lod3n, between this and your Flash stuff you're really hooking a brutha up. Have you been dabbling in any AutoIt/Flash combos since CS3 hit? I was really getting into it but had to pry myself away long enough to revive my ailing business. I'm jonsing here.
lod3n Posted July 16, 2007 Author Posted July 16, 2007 Thanks! I haven't yet been able to convince any of my superiors that I really need the upgrade, and so I remain, languishing in the dark realms of CS1. I'm supposed to be working on architecture anyway, not front ends. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
Kickassjoe Posted July 16, 2007 Posted July 16, 2007 (edited) anyone know where I can get a good free editor that can edit PNG's without messing them up totally like paint does? Edited July 16, 2007 by Kickassjoe What goes around comes around... Payback's a bitch.
lod3n Posted July 16, 2007 Author Posted July 16, 2007 Paint.NET: http://www.getpaint.net/The Gimp: http://www.gimp.org/windows/ [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
AMD Posted July 30, 2007 Posted July 30, 2007 Is there any/easy way to resize an image as to setting either a pic or gui to any size doesn't resize the image...using the gdi+?? Thanks....
GtaSpider Posted August 3, 2007 Posted August 3, 2007 Hello Nobody an idea? It intresting me, too! Many Programms can do that (not AutoIt) and i think they use the GDI+ too! Mfg / BEst Regards Spider www.AutoIt.de - Moderator of the German AutoIt Forum
martin Posted August 4, 2007 Posted August 4, 2007 Is there any/easy way to resize an image as to setting either a pic or gui to any size doesn't resize the image...using the gdi+??Thanks....I don't understand the question because if I resize a pic then the image resizes as well, you don't need gdi+.Anyway, these questions should be in a help forum not in example scripts, so I suggest you post a question there. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
GtaSpider Posted August 4, 2007 Posted August 4, 2007 Hello We dont mean a pict createt with GuiCtrlCreateImage. We mean a PNG picture.. if you resize the GUI the PNG will not go bigger / smaler Mfg /Best Regards Spiuder www.AutoIt.de - Moderator of the German AutoIt Forum
martin Posted August 4, 2007 Posted August 4, 2007 Hello We dont mean a pict createt with GuiCtrlCreateImage. We mean a PNG picture.. if you resize the GUI the PNG will not go bigger / smaler Mfg /Best Regards Spiuder I see. With png you can do it like this, which is a slight change to the showpng.au3 example in Auto3Lib\GDI+ expandcollapse popup#include <A3LGDIPlus.au3> Opt("MustDeclareVars", 1) ; ==================================================================================================== =========================== ; Description ...: Shows how to display a PNG image ; Author ........: Paul Campbell (PaulIA) ; Notes .........: ; ==================================================================================================== =========================== ; ==================================================================================================== =========================== ; Global variables ; ==================================================================================================== =========================== Global $hGUI, $hImage, $hGraphic,$h,$w ; Create GUI $hGUI = GUICreate("Show PNG", 600, 600) GUISetState() ; Load PNG image _GDIP_StartUp() $hImage = _GDIP_ImageLoadFromFile(_Lib_AutoItDir() & "\Auto3Lib\Images\Torus.png") $h = _GDIP_ImageGetWidth($hImage) $w = _GDIP_ImageGetHeight($hImage) ; Draw PNG image $hGraphic = _GDIP_GraphicsCreateFromHWND($hGUI) _GDIP_GraphicsDrawImageRectRect($hGraphic, $hImage, 0, 0, $w, $h, 0,0, 590, 590) ; Loop until user exits do until GUIGetMsg() = $GUI_EVENT_CLOSE ; Clean up resources _GDIP_GraphicsDispose($hGraphic) _GDIP_ImageDispose($hImage) _GDIP_ShutDown() Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Recommended Posts