Search found 12 matches
- Sunday 5th June 2022 9:36am
- Forum: General
- Topic: Using clipboard with gambas script. [SOLVED]
- Replies: 2
- Views: 1209
Using clipboard with gambas script. [SOLVED]
Dear Gambassers, had a problem where the clipboard fuction, who works fine in a gambas execute file but did not work in a gambas script. Solved this by using xclip and xsel. The little program is to upper/lower a letter and add or delete a "." from sentence. I call the script with a shortc...
- Sunday 5th June 2022 9:26am
- Forum: General
- Topic: Clipboard / Gambas IDE question - ASCIIFrame
- Replies: 6
- Views: 3229
Re: Clipboard / Gambas IDE question - ASCIIFrame
Dear mr Diverod, BruceSteers had a problem where the clipboard fuction, who works fine in a gambas execute file but did not work in a gambas script. Solved this by using xclip and xsel. The little program is to upper/lower a letter and add or delete a "." from sentence. Needed to use xclip...
- Friday 15th October 2021 7:18pm
- Forum: General
- Topic: How to read incoming tcp data packet - string not empty but no data ?
- Replies: 6
- Views: 4961
Re: How to read incoming tcp data packet - string not empty but no data ?
Dear Mr SteveDee, thanks for your information. Indeed B4A sends the strings as raw data = bytes packets. As you suggested I looked into the B4A code and there is a way to send the string data otherwise. Will have to continue to work on that. Apologize for the late reply , I work on this only in free...
- Tuesday 14th September 2021 7:44am
- Forum: General
- Topic: How to read incoming tcp data packet - string not empty but no data ?
- Replies: 6
- Views: 4961
Re:Solved- How to read incoming tcp data packet - string not empty but no data ?
Dear Mr Brucesteers, thanks for the swift replys. The code provided by Mr SteveDee on his Captain Bodgit website is correct. Tried to change the Socket_read sub to ServerSocket1_read but did not work. The Socket_read is used and gives me the messagbox information as test. Thanks for the 'Quote' tip ...
- Monday 13th September 2021 9:59am
- Forum: General
- Topic: How to read incoming tcp data packet - string not empty but no data ?
- Replies: 6
- Views: 4961
How to read incoming tcp data packet - string not empty but no data ?
Dear Gambassers, wrote a small program to communicate with a android tablet. The program consist of label,textarea and buttons,serversocket. The tablet has a small porgram written in B4A which send a code over wifi to the ethernet connected pc where the gambas program runs. I have a connection as ga...
- Friday 19th February 2021 4:51pm
- Forum: General
- Topic: How to read keypress from exclusive external USB keypad .
- Replies: 12
- Views: 13238
Re: How to read keypress from exclusive external USB keypad .
Hello, back in town. I reworked my little program to grab exclusively input from touchpad or external wacompad, keypad and also Arduino serial input. The program is named ExtraPadMini. Included in the zipped file is a Manual.odt and dpf file which shows how to use it. It is a minimal program but usa...
- Monday 22nd June 2020 5:08pm
- Forum: General
- Topic: How to read keypress from exclusive external USB keypad .
- Replies: 12
- Views: 13238
Re: How to read keypress from exclusive external USB keypad .
Dear Mr Vuott, used your code as follow , also include a print result Public Sub File_read() Dim ev As New Input_event Dim rd As Integer rd = read_C(kfl.Handle, ev, Object.SizeOf(ev)) Print "ev: "; Str$(ev); " , sizeof ev: "; Object.SizeOf(ev); " , rd: "; rd; " ,ti...
- Sunday 21st June 2020 8:20pm
- Forum: General
- Topic: How to read keypress from exclusive external USB keypad .
- Replies: 12
- Views: 13238
Re: How to read keypress from exclusive external USB keypad .
Dear Mr Vuott,
thanks for your code.
Worked on the macro part, finished and using it for keymacro's with Subtitle Composer.
Thanks again , looking to understand and integrate your code now.
Greetings
thanks for your code.
Worked on the macro part, finished and using it for keymacro's with Subtitle Composer.
Thanks again , looking to understand and integrate your code now.
Greetings
- Sunday 14th June 2020 1:35pm
- Forum: General
- Topic: How to read keypress from exclusive external USB keypad .
- Replies: 12
- Views: 13238
Re: How to read keypress from exclusive external USB keypad .
Dear Mr Quincunxian, thanks for your reply , indeed interesting to handle two keyboard events. For the moment I only want to use 1 external usb keypad. Found a solution by using a small c- file , to use keypress event outside gambas application keypress_event. Used code I found on and other similar ...
- Monday 8th June 2020 4:53pm
- Forum: General
- Topic: How to read keypress from exclusive external USB keypad .
- Replies: 12
- Views: 13238
Re: How to read keypress from exclusive external USB keypad .
Dear Mr Vuott, thanks for your reply. Unfamiliar with C- programming and the linux inside io lib handling , what you suspected I suppose. Back to the drawing board ! Very helpfull link you mentioned. Read the Gambas wiki on Extern, helped to better understand. Was able to use a math function frexp()...