Search found 18 matches

by nikoniko
Fri Feb 13, 2015 6:29 pm
Forum: Mac OSX
Topic: How to activate localStorage for WebGaget (WebKit)?
Replies: 1
Views: 2674

Re: How to activate localStorage for WebGaget (WebKit)?

Thanks to forum!

I have made the solution (GadgetID(10) is a WebGadget)

Global *pref
*pref = CocoaMessage(0, GadgetID(10), "preferences")
CocoaMessage(0, *pref, "_setLocalStorageDatabasePath:$", @"~/Library/f7builder/LocalStorage")


HTML5 data are stored and read from javascript code now and ...
by nikoniko
Thu Feb 12, 2015 10:08 am
Forum: Mac OSX
Topic: Newbie question: Atomic Web Server under MacOSX
Replies: 3
Views: 2954

Re: Newbie question: Atomic Web Server under MacOSX

I fixed it by selecting next free port


Port = 7080

While Port < 7090
Debug Port
;InitNetwork()
If CreateNetworkServer(Port, Port)
Break
Else
;MessageRequester(AtomicTitle$, "Error: can't create the server (port in use ?)." + Str(Port), 0)
;CloseNetworkServer(0)
Port + 1
;Delay(1000 ...
by nikoniko
Tue Feb 10, 2015 5:33 pm
Forum: Mac OSX
Topic: How to activate localStorage for WebGaget (WebKit)?
Replies: 1
Views: 2674

How to activate localStorage for WebGaget (WebKit)?

The topic about localStorage in webview apps
http://stackoverflow.com/questions/4527 ... 49#4608549

Is it possible implement this code for PB's Webgadget?
by nikoniko
Tue Feb 10, 2015 10:57 am
Forum: Mac OSX
Topic: Newbie question: Atomic Web Server under MacOSX
Replies: 3
Views: 2954

Re: Newbie question: Atomic Web Server under MacOSX

nikoniko wrote:How to fix a port capture?
It seems no way to fix this on the app developer level.
by nikoniko
Sun Feb 08, 2015 7:13 am
Forum: Mac OSX
Topic: Newbie question: Atomic Web Server under MacOSX
Replies: 3
Views: 2954

Re: Newbie question: Atomic Web Server under MacOSX

Ok, I found a first answer - it was a GetCurrentDir() behavior

Fixed.

How to fix a port capture?
by nikoniko
Sat Feb 07, 2015 7:34 pm
Forum: Mac OSX
Topic: Newbie question: Atomic Web Server under MacOSX
Replies: 3
Views: 2954

Newbie question: Atomic Web Server under MacOSX

Hello,

I make a hybrid application (HTML5 interface and WebServer backend in an one application) for Framework7 dev build system. Link to announce about it http://www.idangero.us/framework7/forum/#!/talks:easy-framework7-dev-builder

HTML5 frontend uses WebGadget.
Webserver is based on Atomic Web ...
by nikoniko
Sun Oct 27, 2013 9:03 pm
Forum: The PureBasic Form Designer
Topic: Caption is a variable
Replies: 1
Views: 2709

Re: Caption is a variable

As variant has a setting to prevent show error message for invalid chars.

For example, I use call my function to internalization application.
Lng("File") for menu or more complex Lng("Open file..") for button.

And add "caption as var" to menu definitions.
by nikoniko
Sat Oct 19, 2013 5:53 am
Forum: Linux
Topic: Global shortcut
Replies: 13
Views: 10893

Re: Global shortcut

Oopss. Sorry. It's working only MessageRequester is still invisible or doesn't call at all.
by nikoniko
Sat Oct 19, 2013 5:22 am
Forum: Linux
Topic: Global shortcut
Replies: 13
Views: 10893

Re: Global shortcut

Hello,

I tried this code on Ubuntu 12.04 LTS x64. It is not stable working. Sometimes works, sometimes show message debugger exception.

And How to install grab for all keys? Is it possible with this code?
by nikoniko
Fri Oct 18, 2013 8:54 am
Forum: Mac OSX
Topic: Global keyboard hook
Replies: 35
Views: 27618

Re: Global keyboard hook

Wilbert +100

While I am writing reply about my attempts to change your code for all processes and flags keys you are posting fully working code for me.

Thanks, thanks, thanks.
by nikoniko
Fri Oct 18, 2013 6:40 am
Forum: Mac OSX
Topic: Global keyboard hook
Replies: 35
Views: 27618

Re: Global keyboard hook

Seems it isn't hard for macosx guru, but not for me yet.

Add 2 links (use this topic as bookmark)

Log keydowns and mouse buttons
http://forums.appleinsider.com/t/7872/keylogger-for-mac-os-x

Receiving, Filtering, and Modifying Mouse Events
http://www.osxbook.com/book/bonus/chapter2/altermouse/
And ...
by nikoniko
Fri Oct 18, 2013 6:27 am
Forum: Mac OSX
Topic: Global keyboard hook
Replies: 35
Views: 27618

Re: Global keyboard hook

Yes, JNativeHook sets up a global hook, just like my PureBasic example which is much simpler by using higher level Carbon API functions to reduce the lines of code you have to use... :wink:

Your example is simple but doesn't track all keystrokes (ok, most of them).

It is useful for advanced tool ...
by nikoniko
Tue Oct 15, 2013 3:39 pm
Forum: Mac OSX
Topic: Global keyboard hook
Replies: 35
Views: 27618

Re: Global keyboard hook

I found JNativeHook java library http://code.google.com/p/jnativehook/
Is it really set global hook under MacOSX?
by nikoniko
Sat Nov 26, 2011 6:23 am
Forum: Applications - Feedback and Discussion
Topic: Purefiler - An alternative profiler
Replies: 103
Views: 60187

Re: Purefiler - An alternative profiler

Seems Purefiler doesn't work with complex app -

Under Windows XP (Pro, 32 bit, Eng) cann't load profiler logs, combobox is empty.

Under WIndows 7 (HB, 64 bit, Russian) combobox has a line, but it's empty (or filled spaces), when I select it - logs loading, then Purefiler crashes...
by nikoniko
Mon Nov 14, 2011 4:06 pm
Forum: Applications - Feedback and Discussion
Topic: Purefiler - An alternative profiler
Replies: 103
Views: 60187

Re: Purefiler - An alternative profiler

* Purefiler doesn't show you live-statistics. You can only check the generated statistics *after* the according sample ended.*

Yeh! they are combined for screenshot only. I start Purefiler after application of course. You've got to choose your desired test-run from the "Purefiled Runs" box ...