Sign in to follow this  
Followers 0
careca

bass.au3

6 posts in this topic

Hey ppl, wanna try the bass libraries, and for a start want to use the basic, just the bass.au3 and when i include it on a script i get:

C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(111,49) : WARNING: $BASS_INFO possibly not declared/created yet
'dword freq' ; current output rate (OSX only)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(131,54) : WARNING: $BASS_RECORDINFO possibly not declared/created yet
'dword freq' ; current input rate (Vista/OSX only)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(174,64) : WARNING: $BASS_SAMPLE possibly not declared/created yet
'dword priority;' ; priority (0=lowest, 0xffffffff=highest)
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(260,30) : WARNING: $BASS_CHANNELINFO possibly not declared/created yet
'ptr filename;' ;filename
~~~~~~~~~~~~~~~~ ~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(283,36) : WARNING: $BASS_PLUGINFORM possibly not declared/created yet
$BASS_PLUGINFORM = 'dword;ptr;ptr;'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(287,41) : WARNING: $BASS_PLUGININFO possibly not declared/created yet
'ptr formats;' ; the array of formats
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(294,38) : WARNING: $BASS_3DVECTOR possibly not declared/created yet
'float z;' ; + = front, - = behind
~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(507,24) : WARNING: $BASS_DX8_CHORUS possibly not declared/created yet
'dword;' ;lPhase
~~~~~~~~~ ~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(514,26) : WARNING: $BASS_DX8_COMPRESSOR possibly not declared/created yet
'float;' ;fPredelay
~~~~~~~~ ~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(520,34) : WARNING: $BASS_DX8_DISTORTION possibly not declared/created yet
'float;' ;fPreLowpassCutoff
~~~~~~~~ ~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(526,27) : WARNING: $BASS_DX8_ECHO possibly not declared/created yet
'int;' ;lPanDelay
~~~~~~~ ~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(534,25) : WARNING: $BASS_DX8_FLANGER possibly not declared/created yet
'dword;' ;lPhase
~~~~~~~~~~ ~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(537,51) : WARNING: $BASS_DX8_GARGLE possibly not declared/created yet
'dword;' ;dwWaveShape, 0=triangle, 1=square
~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(550,69) : WARNING: $BASS_DX8_I3DL2REVERB possibly not declared/created yet
'float;' ;flHFReference [20.0, 20000.0] default: 5000.0 Hz
~~~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(554,23) : WARNING: $BASS_DX8_PARAMEQ possibly not declared/created yet
'float;' ;fGain
~~~~~~~~~ ~~~~~~^
C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS\BassConstants.au3(559,74) : WARNING: $BASS_DX8_REVERB possibly not declared/created yet
'float;' ;fHighFreqRTRatio [0.001,0.999] default: 0.001
~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\7\Desktop\Mp3Player\New AutoIt v3 Script.au3 - 0 error(s), 16 warning(s)

the script is in:

"C:\Users\7\Desktop\Mp3Player",

on the folder:

"C:\Users\7\Desktop\Mp3Player\Resources\BASS.au3\BASS"

i got "Bass.au3", "Bass.dll" and "BassConstants.au3", what else do i need?


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites



Where did you get the BASS UDF from? The latest version doesn't have those issues, and the Constants file is declaring variables so I don't see why you would get warnings about undeclared variables from that include file.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

From:

Dont know where else to get a newer, if there is a newer version...

Also downloaded and copied the updates.


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites

From:

Dont know where else to get a newer, if there is a newer version...

There is an updated version that can be found here. The original hasn't been updated in a while and eukalyptus has been keeping it updated, the site is in German, but the files are still in English.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Oh, thanks! gonna try that newer one, any chance someone can put that link in the original post? Should i PM him with that sugestion? Could avoid similar problems with other ppl.


Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

 

Share this post


Link to post
Share on other sites

There's no need to put it in the original post if anyone needs the updated version, it's not hard to find it by reading the BASS thread, which is where I found it.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0