Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Jean

Pages: 1 [2] 3
Astrobasic / Multiple Document Interface
« on: September 10, 2020, 07:22:17 PM »
After lots of storm, the dust is settling down. Ab scripts can have embedded windows.

This seems a succes, i like it a lot. Pretty, user friendly, better monitor size support, options for extra menus.
See ab editor - templates - embedded, it contains

Code: [Select]
window(0, 0);
button(10, height - 30, "Menu", NULL);
command(BUTTON, 0, 10, 0);
command(MENU, 0, 12, 0);

The first line is the new window mode.

This is the updated help for window()

There are two special kind of windows possible, the first is when you use window(0, 0);

This makes the script window an 'MDI child', Multiple Document Interface, it embeds itself in the main program just like a horoscope (or graph or moving wheel). The Horoscope menu changes to a menu with the name of the script and it will contain all the menu() items from the script.

You can do command(MENU, 0, 12, 0); preferably on the line just before run; it will do two things:
- it will make a copy of the menu in the script mainmenu into a rightmouseclick popmenu, so the user can rightclick anywhere in the window for the script menu (just like the horoscope window).
- it will add a menu item Output, with subitems Copy to clipboard, Save Bitmap and Print to both menus.

You can also put a special ^button^ on the script like this
button(x, y, "Menu", NULL);
command(BUTTON, buttonnumber, 10, 0);

^setcaption^ will only set the upper caption in the mainwindow, if you want it to change the caption in the tab use command(FUNCTION, 67, x, 0); where x is on/off.

You should use 'width' and 'height' when designing your window and try to fit at least on 1920x1080 as well as 1366x768, in this case you can support the majority of screensizes.

Planetdance for android / first alpha
« on: September 10, 2020, 04:54:13 PM »
If you want to participate in testing, register on the forum and leave a reply here.

The interface, swipe from the left side to the right for the menu, and from the right side to the left for the current list with horoscopes.
At start a Startup transit is made.

The menu, what works:

-File New, you can calculate a radix, it is automatically stored in the list with horoscopes on the right.
-File Exit
-Horoscope Data, you can scroll up/down through the list of the current horoscope's data.
-Horoscope Wheel gives some test info

In the right hand is a list with horoscopes, click on one to make it active. Long press on one to delete it. The very first entry, Startup, cannot be deleted. The list is automatically saved / restored on start.

You can now do this

Code: [Select]
button(0, 0, "hi", NULL);
command(BUTTON, buttonnumber, 0, 0); ` operate on the previously made button

Previously you had to do:

Code: [Select]
int i = button(0, 0, "hi", NULL);
command(BUTTON, i, 0, 0); ` operate on the previously made button

In stead of
Code: [Select]
menu(4, "Show Radix Lines", go);
menu(4, "Show Radix Planets", go);
menu(4, "Show House Lines", go);
command(MENU, 4, AUTOCHECK, 1); 
command(MENU, 5, AUTOCHECK, 1); 
command(MENU, 6, AUTOCHECK, 1);

It's easier to do this

Code: [Select]
menu(4, "Show Radix Lines", go);
command(MENU, menunumber, AUTOCHECK, 1); 
menu(4, "Show Radix Planets", go);
command(MENU, menunumber, AUTOCHECK, 1); 
menu(4, "Show House Lines", go);
command(MENU, menunumber, AUTOCHECK, 1);

In the last example you can now  delete / add / change the order of the menu()'s without having to change the numbers for command().

This applies to: buttonnumber, scrollnumber, editnumber, updownnumber and menunumber;

Planetdance for windows / MOVED: strlist command
« on: September 08, 2020, 03:48:17 PM »

Planetdance for windows / embedded script windows.
« on: September 06, 2020, 12:17:14 PM »
When i designed it, I choose to make the astrobasic window form a separate one, and give it an entry in the taskbar because else you couldn't make a small simple scripts to show some info.
But more extensive scripts could benefit from being embedded like horoscopes.

Pro / cons.

+ the most screenspace
+ user friendly, a tab like the others
+ has been requested
- the programmer has more work (use vars width / height to determine how much, what / where to display).
- There is no main menu at the top possible (but there is a button which has the same functionality).

The screenshot is

Planetdance for windows / MOVED: create a temporary file
« on: September 01, 2020, 07:21:40 PM »

Planetdance for windows / Een paar vragen
« on: August 30, 2020, 07:21:01 AM »
-  ik gebruik pd op mijn laptop en mijn desktop. Bij beiden heb ik de laatste update geinstalleerd. Op de laptop krijg ik een beginhoroscoopscherm dat anders is en me beter bevalt, mn. de print ervan. De horoscoopcirkel is wat kleiner en rechts van de horoscoop in de bovenste helft staat een venstertje met elementen van teken en huis en daaronder een lijstje van extra 'objecten' die meegenomen worden, bv Eris en de gecorr. Zwarte Maan. Op mijn desktop vult de horoscoop  het volledige scherm en ook de aspectentabel vult het hele scherm. Daarbij zie ik geen kans de gecorrigeerde Zwarte Maan apart 'in te voeren'. Ik kom er niet achter hoe ik dit scherm kan veranderen zoals ik het op mijn laptop heb

 -  een andere vraag: ik print nogal eens een aspectentabel van een synastrie uit maar die is voor een deel onleesbaar omdat de aspectsymbolen het hele hokje vullen en de orb, die ik juist graag wil zien, onder het betreffende hokje terecht komt en moeilijk of zelfs niet leesbaar is. Bv bij het symbool van anderhalfvierkant verdwijnt hij erachter. Zou daar iets aan te doen zijn. In de aspectentabel van een radix is het juist in elk hokje heel mooi onderscheiden en heel goed te zien.

Planetdance for windows / Links
« on: August 17, 2020, 10:12:18 PM »
I'm gonna collect links to planetdance for windows here.


Astrobasic / Frequently Asked Questions
« on: August 05, 2020, 11:16:13 PM »

Tip: See Options General - Edit application on error. When your scripts makes an error this option will open the editor with the script on the line of the error.

Tip: In c:\planetdance\pd.ini under [main] add this:

This will make 2 extra menu's visible under Application:
Dev prog: runs the last edited script
Cur prog: first you have to assign a hotkey for this one in options - keyboard, then, run some script, take care the script has focus, then press the hotkey to open the source of the script in the program editor. You can make any adjustments and you can immediately run it again from the editor with F9 (or program run).

Frequently asked questions
Q: My program only runs correctly the first time.
A: You probably forgot to reset a loop counter. If you have something like this:

for (i < 10)

And you call that subroutine the second time without modifying 'i', it will be10 because that is it's value after executing the loop the first time.
All variables get initialized to 0 when a program begins, that is why you didn't see this the first time.

Q: My variable does not seem to get initialized:
A: It's probably outside reachable code, i.e if you have:

$ initialisations $



int myvariable = 5;

the initialisation to 5 is code to execute, but this code is placed between labels, so it won't get executed.

- I want to write a script, can it be distributed?
Please post some info about your script here.

Planetdance for windows / Options - Extra - Column - Almutens
« on: August 02, 2020, 11:29:58 AM »
August 2
+ Added Options - Extra - Column - Classic section with choice for planet / house Almutens and choice for bounds and triplicities methods

This board is for request / questions for the Classic, Medieval, Vedic sections in planetdance.
When asking questions, be specific, which module exactly, describe the problem as best as you can.
Can you reproduce it? If not it might be hard to find the cause.

General Astrology Topics / Tips for the board.
« on: July 12, 2020, 07:11:18 PM »

Tips for the forum
  • To reply to a message, click Reply.
  • To start a new topic, click New Topic in the board index of the board where you want to post.
  • Click on Notify to get a mail whenever somebody posts in that forum / thread.
  • Click to Like button to like a post.
  • Below the board index you can see the latest 5 new posts, and there are also orange buttons with New you can click on.
  • On top of the forum just below the menu there are so called bread crumbs, to see where you are in the forum and to quickly go back to some stage.

General Astrology Topics / You can now Like posts
« on: July 08, 2020, 07:19:16 PM »
I'd like to inform everybody there is now a like system for posts. It can make the forum a bit more lively if people can show their appreciation.

General Astrology Topics / Trivia
« on: July 05, 2020, 07:03:37 PM »
Planetdance 2.1 for DOS Demo Version. thanks to Cornelis van der Wal.
This was around 1990, sold some copies for about 300 guilders, this was written in Borland turbo C. The Extra menu had astrobasic programs.

Planetdance for windows / instruction video's
« on: July 04, 2020, 07:31:33 PM »
This is a link to all the instruction video's.

Pages: 1 [2] 3