Search found 110 matches

by sashapont
Tue Jan 23, 2018 10:14 pm
Forum: General programming
Topic: ModifyButton
Replies: 3
Views: 1076

ModifyButton

In help I see ModifyButton -- modify button data / OBSOLETE

Are there any new function to change button position without it removing?
by sashapont
Sun Jan 14, 2018 8:59 pm
Forum: Announcements
Topic: Hollywood APK Compiler 2.1 released
Replies: 9
Views: 1701

Re: Hollywood APK Compiler 2.1 released

May be it possible to do it for Mac OS?
by sashapont
Thu Jan 04, 2018 8:40 pm
Forum: General programming
Topic: CreateMenu
Replies: 1
Views: 890

CreateMenu

Are there any working CreateMenu sample?

I try use it like this and have errors

Code: Select all

aa= CreateMenu("File", {
        {"New", ID = "new"},  
        {"Save", ID = "save"}, 
        {"Print", ID = "print"}, 
        {""},
        {"Quit", ID = "quit", Hotkey = "Q"}})
by sashapont
Thu Dec 28, 2017 9:00 pm
Forum: General plugin questions
Topic: work with zip
Replies: 9
Views: 2220

Re: work with zip

I don't change code. I only delete slash
by sashapont
Thu Dec 28, 2017 3:47 pm
Forum: General plugin questions
Topic: work with zip
Replies: 9
Views: 2220

Re: work with zip

Thank you! It is work!

But sometimes deleted files there are in zip with 0 size.
by sashapont
Wed Dec 27, 2017 8:38 pm
Forum: General plugin questions
Topic: work with zip
Replies: 9
Views: 2220

Re: work with zip

It doesn't work :( @DISPLAY 1, {Width=1280, Height=720, Color=$ececec, Sizeable = True, ScaleMode=#SCALEMODE_AUTO, ScreenName="myzip"} @REQUIRE "zip" Function p_File_Open() presentationname="/Volumes/MacHD2/Downloads/Newzip/1/my.zip" zip.OpenArchive(1, presentationname) idx = zip.LocateFile(1, "/Ima...
by sashapont
Tue Dec 26, 2017 9:19 pm
Forum: General plugin questions
Topic: work with zip
Replies: 9
Views: 2220

Re: work with zip

it is not work fщr me :(

I want delete file which located in directory from zip archive,
First I try to find idx, I always have -1
by sashapont
Mon Dec 25, 2017 7:51 pm
Forum: General plugin questions
Topic: work with zip
Replies: 9
Views: 2220

work with zip

I have zip archive with folders.
How I can get idx for file in folder like?

Code: Select all

zip.OpenArchive(1, "my.zip")
 idx = zip.LocateFile(1, "images/zip.png")
by sashapont
Fri Nov 10, 2017 2:42 pm
Forum: General programming
Topic: array sorting
Replies: 2
Views: 1282

Re: array sorting

Thank you very much! It is work!
by sashapont
Fri Nov 10, 2017 12:30 pm
Forum: General programming
Topic: array sorting
Replies: 2
Views: 1282

array sorting

I have table myImages$={"1.png","2.png","5.png","10.png","5.png","6.png","7.png","8.png","9.png","10.png"}

I try to sort it by names
Sort(myImages$)
For k = 0 To 9
NPrint(myImages$[k])
Next

And have
1,10,2,3,4,5,6,7,8,9

How I can change sorting to have
1,2,3,4,5,6,7,8,9,10 ?