Jump to content

Recommended Posts

  • Jon featured and pinned this topic
  • Moderators
Posted

Since we now have a couple of examples showing the PNG workaround, should we add that file type into the supported types under the filename parameter? Perhaps a verbiage change from this:

  Quote

filename of the picture to be loaded : supported types BMP, JPG, GIF(but not animated).

to this:

  Quote

filename of the picture to be loaded : supported types BMP, JPG, GIF(but not animated), PNG (see Examples 3 & 4 below) 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

No, as it's a workaround and not supported officially by the function.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

I agree

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

I have moved in rev 11357

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)
  On 7/8/2015 at 6:15 PM, Zedna said:

I totally disagree.

After finished cripling of forum that's pity to see another cripling of AutoIt (now its helpfile) :-(

Zedna, re-read my comment and Jon's comment again. It was't removed, just moved. Once again you're commenting without really taking time to think. Also a little confused as to why you care about AutoIt anymore, when you're using a version that is fairly old.

Any more comments like that, move either to Chat or the MVP section. Not here.

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

  • Jon unfeatured this topic
Posted

I wanted to bring this up here to see if it's worthy of going to Trac. 

Is this a bug, or is this to be expected?  I guess I'll let the example speak for itself.

Global $mTest[]

$mTest.MapFunction1 = _MapFunction1

$mTest["MapFunction1"]() ; works

$mTest.MapFunction1() ; fails with: "The requested action with this object has failed".

Func _MapFunction1()
        ConsoleWrite("_MapFunction1" & @CRLF)
EndFunc

 

Posted
  On 7/10/2015 at 5:10 PM, JohnOne said:

Jon did mention that Maps are not available in latest version because they're not right yet.

I know.  It's reference to v3.3.13.21.  I assumed (maybe incorrectly) that not much development went into maps this cycle.

  On 7/10/2015 at 8:12 PM, Jon said:

I remember there were a couple of instances where you had to put brackets around it to work...like ($something)() - but I can't remember if this is one of those times.

#AutoIt3Wrapper_Version=B

Global $mTest[]

$mTest.MapFunction1 = _MapFunction1

$mTest["MapFunction1"]() ; works

$mTest.MapFunction1() ; fails with: "The requested action with this object has failed".

($mTest.MapFunction1()) ; fails with: "Statement cannot be just an expression."

($mTest.MapFunction1)() ; fails with: "syntax error" and "Statement cannot be just an expression."

Func _MapFunction1()
        ConsoleWrite("_MapFunction1" & @CRLF)
EndFunc

 

I guess it's time for me to reread the map threads though.

  • Jon unpinned this topic

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
×
×
  • Create New...