QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: CBTJD on April 13, 2020, 12:29:43 am
-
Hello all,
Are there any workarounds for the following commands for the Mac? If not, are there any plans to implement them soon?
- _ACCEPTFILEDROP (http://www.qb64.org/wiki/ACCEPTFILEDROP)
- _TOTALDROPPEDFILES (http://www.qb64.org/wiki/TOTALDROPPEDFILES)
- _DROPPEDFILE (http://www.qb64.org/wiki/DROPPEDFILE)
- _FINISHDROP (http://www.qb64.org/wiki/FINISHDROP)
Also, it appears that the command _SCREENMOVE on the page Keywords Not Supported in Linux or MAC OSX versions (http://www.qb64.org/wiki/Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions) has been implemented, so perhaps that page may need to be updated for other commands as well(?)
Many thanks, as always.
:@)
-
No one has a comment on this?
If no commands for dropping on the window have been implemented, what about dropping onto an app icon on the dock, start bar or desktop?
-
I'm not surprised at no comments from users. These are new commands and there are few avid users of QB64 who use a Mac on the forum. I am a bit surprised at no comment(s) from developers like Fell or Steve. Fell has posted about Mac problem before, and I think I recall Steve at least has an iPad. While I'm not crazy about Windows, at least Microsoft stayed in the U.S., and didn't try to save a nickle by setting up shop and supporting a damn communist regime. Oops, a bit off-topic there... Tariff Apple products! /rant.
Pete
-
Sorry folks, home office has been driving me insane. Little to no time for pleasurable activities like coding/QB64/forum.
@CBTJD No workarounds for now and no drag/drop onto app icon yet.
I'll be editing the wiki regarding the implemented _SCREENMOVE feature for macOS. Thanks for the reminder.
-
Hee hee. Stir the pot principle pays off once again.
Pete
-
You know I was using drag and drop with COMMAND$ does that work in Mac?
As Pete said, I didn't even know about these newer options.
-
Thanks Guys. I appreciate the poke back. Some things I just can't do, apparently.
I recently tried to tackle this Rosetta Code task:
http://rosettacode.org/wiki/Quine (http://rosettacode.org/wiki/Quine)
...and it proved impossible as well. I'm battin' zero at the moment. (Actually, that's not entirely true. I was able to knock out a handful of RC tasks recently, trying to put some code out there for QB64. I encourage everyone to do so. They're fun and help the community.)
As for the rant on Apple, feel free to speak your mind. :@)
I know I'm trying to ice skate up hill running QB on a Mac. I just don't get along with PC laptops (the track pads are always crap), and Windows became more trouble than it was worth after XP.
Do we have any idea when or if the drop commands may be implemented for Mac?
Thanks!
-
@CBTJD,
So in Mac, you can't drag and drop a file onto an .exe and get the filename passed from COMMAND$?
-
Huh, I dunno. Lemme give it a shot...
-
@CBTJD,
So in Mac, you can't drag and drop a file onto an .exe and get the filename passed from COMMAND$?
No you can't, I said it above.
-
I recently tried to tackle this Rosetta Code task:
http://rosettacode.org/wiki/Quine
...and it proved impossible as well. I'm battin' zero at the moment. (Actually, that's not entirely true. I was able to knock out a handful of RC tasks recently, trying to put some code out there for QB64. I encourage everyone to do so. They're fun and help the community.)
Hi @CBTJD,
I ran the Liberty Basic example of Quine from RC and it worked without modification.
Not so in Mac? That would be very curious because there doesn't seem to be anything particularly hard, CHR$(34) maybe?
-
Hi @CBTJD,
I ran the Liberty Basic example of Quine from RC and it worked without modification.
Not so in Mac? That would be very curious because there doesn't seem to be anything particularly hard, CHR$(34) maybe?
Ah, yes. Apologies. You're absolutely right. I stand corrected. The Liberty BASIC solution DOES work. In my own unique flavor of OCD, I was not satisfied with the recursive double nature of the solution (in spite of it being quite clever actually). Instead, I was hoping to find a way to mimic the Sinclair or GW-BASIC approach of "10 LIST". So, that's on me. Solid call, Sir.
But what fun, eh?! There are just tons of interesting challenges on the RC site. I hope others will dig in and contribute for QB64.
:@)